Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

boot_thread.c File Reference

#include "boot_thread.h"
#include <environment.h>
#include <stdio.h>
#include <conio.h>
#include "../../../driver/src/common/UARTconfig.h"
#include "../../../driver/src/common/SPIsimpleio.h"
#include "../../../driver/src/common/PPIconfig.h"
#include "../../../driver/src/bf533/ppi_global.h"
#include "../../../driver/src/common/GPIOconfig.h"
#include "../../../driver/src/common/CAMconfig.h"
#include "../../../driver/src/common/CAMdefault.h"
#include <debug.h>
#include "../../common/cmd/cmd.h"
#include "../../common/cmd/bs_commands.h"
#include "../../common/term/termmgr.h"
#include "../../common/stdio/BSstdio.h"
#include "../../common/msd/SDcard.h"
#include "../../common/msd/IOBUFconfig.h"
#include "../../common/msd/IDEconfig.h"
#include "../../common/msd/RDconfig.h"
#include "../../common/msd/devIDE.h"
#include "../../common/msd/devSD.h"
#include "../../common/msd/devIOBUF.h"
#include "../../common/msd/devRD.h"
#include "../../common/msd/devUART.h"
#include "../../common/msd/MSDmanager.h"
#include "../../../../BlackfinDriver/bf533/AMI_Config.h"
#include "../../common/fs/fat/fat.h"
#include "../../common/fs/fsfat.h"
#include "../../common/fs/fsstreamio.h"
#include "../../common/fs/fsmgr.h"
#include "../../common/fs/bsio.h"
#include <lwip/cglobals.h>
#include <sys/exception.h>
#include <services/services.h>
#include <drivers/adi_dev.h>
#include <lwip/ADI_ETHER_USBLAN.h>

Defines

#define DEBUG_PRINT(msg, result)
#define NO_RCVES   1
#define NO_XMITS   1
#define ETHER_STACK_SIZE   1024*1024*1

Functions

unsigned int eth_setup (ADI_DEV_MANAGER_HANDLE pa_devmgr_handle)
unsigned int tcp_ip_setup (ADI_DEV_MANAGER_HANDLE pa_devmgr_handle, unsigned char pa_dhcp_enabled)
unsigned int adi_mgr_setup (ADI_DEV_MANAGER_HANDLE *devmgr_hdl)
void boot_thread_RunFunction (void **inPtr)
int boot_thread_ErrorFunction (void **inPtr)
void boot_thread_InitFunction (void **inPtr, VDK_ThreadCreationBlock *pTCB)
void boot_thread_DestroyFunction (void **inPtr)

Variables

static u8 devmgr_storage [ADI_DEV_BASE_MEMORY+(ADI_DEV_DEVICE_MEMORY *4)]
static u8 intmgr_storage [(ADI_INT_SECONDARY_MEMORY *8)]
static char hwaddr [6] = { 0xcd, 0xcd, 0xcd, 0xcd, 0xcd, 0xcd }
char BaseMemSize [ADI_ETHER_MEM_USBLAN_BASE_SIZE]
static int p_period = 10
ADI_ETHER_SUPPLY_MEM memtable

Define Documentation

#define DEBUG_PRINT msg,
result   ) 
 

Value:

{                                                                       \
                                                                                if(result)                                              \
                                                                                        {                                                       \
                                                                                                printf(msg);                    \
                                                                                                return -1;                              \
                                                                                }                                                               \
                                                                        }

#define ETHER_STACK_SIZE   1024*1024*1
 

#define NO_RCVES   1
 

#define NO_XMITS   1
 


Function Documentation

unsigned int adi_mgr_setup ADI_DEV_MANAGER_HANDLE *  devmgr_hdl  ) 
 

void boot_thread_DestroyFunction void **  inPtr  ) 
 

int boot_thread_ErrorFunction void **  inPtr  ) 
 

void boot_thread_InitFunction void **  inPtr,
VDK_ThreadCreationBlock *  pTCB
 

void boot_thread_RunFunction void **  inPtr  ) 
 

unsigned int eth_setup ADI_DEV_MANAGER_HANDLE  pa_devmgr_handle  ) 
 

unsigned int tcp_ip_setup ADI_DEV_MANAGER_HANDLE  pa_devmgr_handle,
unsigned char  pa_dhcp_enabled
 


Variable Documentation

char BaseMemSize[ADI_ETHER_MEM_USBLAN_BASE_SIZE]
 

u8 devmgr_storage[ADI_DEV_BASE_MEMORY+(ADI_DEV_DEVICE_MEMORY *4)] [static]
 

char hwaddr[6] = { 0xcd, 0xcd, 0xcd, 0xcd, 0xcd, 0xcd } [static]
 

u8 intmgr_storage[(ADI_INT_SECONDARY_MEMORY *8)] [static]
 

ADI_ETHER_SUPPLY_MEM memtable
 

Initial value:

 {
    0,0,0,
    0,0,0,
    BaseMemSize,sizeof(BaseMemSize)
}

int p_period = 10 [static]
 


Generated on Thu Mar 2 16:11:30 2006 for VDK Blacksheep by  doxygen 1.4.1