BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
ethernet.c File Reference
#include "includes.h"

Go to the source code of this file.

Macros

#define DEBUG_ETHERNET_INFO   0
#define DEBUG_ETHERNET_DUMP   0
#define EthernetIdleState   0

Functions

void memcpy (void *s1, const void *s2, int n)
void F_EthernetInit (void)
void F_EthernetSvc (void)
INT8U F_EthernetInUseCheck (void)
INT8U F_EthernetAllocate (INT16U UserId)
INT8U F_EthernetRelease (INT16U UserId)
INT8U F_EthernetMacAddressSet (INT16U UserId, INT8U *pMacAddress)
INT8U F_EthernetIpAddressSet (INT16U UserId, INT8U *pIpAddress)
INT8U F_EthernetSend (ETHBUFFER *pBuffer, INT8U *pDestination, INT16U Protocol)
INT8U F_EthernetReceive (ETHBUFFER *pBuffer)
INT8U F_EthernetPacketHandler (void)
INT8U F_EthernetBiosUpdate (INT8U *pBios, INT32U size)
INT8U F_EthernetSystemTableUpdate (INT8U *pSystemTable, INT32U Size)
INT8U F_EthernetPartitionTableUpdate (INT8U *pSystemTable, INT32U Size)
INT8U F_EthernetPartitionUpdate (INT8U *pSystemTable, INT32U Size)
INT8U F_EthernetFirmwareUpdate (INT8U *pSystemTable, INT32U Size)
INT16U F_EthernetUnsignedShortN2H (unsigned short s)
INT16U F_EthernetUnsignedShortH2N (unsigned short s)
INT32U F_EthernetUnsignedLongN2H (unsigned long l)
INT32U F_EthernetUnsignedLongH2N (unsigned long l)

Variables

ETHERNET_CONTROL EthernetCtrl

Macro Definition Documentation

#define DEBUG_ETHERNET_DUMP   0

Definition at line 32 of file ethernet.c.

#define DEBUG_ETHERNET_INFO   0

Definition at line 31 of file ethernet.c.

#define EthernetIdleState   0

Definition at line 35 of file ethernet.c.


Function Documentation

INT8U F_EthernetAllocate ( INT16U  UserId)

Definition at line 81 of file ethernet.c.

INT8U F_EthernetBiosUpdate ( INT8U pBios,
INT32U  size 
)

Definition at line 229 of file ethernet.c.

INT8U F_EthernetFirmwareUpdate ( INT8U pSystemTable,
INT32U  Size 
)

Definition at line 241 of file ethernet.c.

void F_EthernetInit ( void  )

Definition at line 60 of file ethernet.c.

INT8U F_EthernetInUseCheck ( void  )

Definition at line 77 of file ethernet.c.

INT8U F_EthernetIpAddressSet ( INT16U  UserId,
INT8U pIpAddress 
)

Definition at line 108 of file ethernet.c.

INT8U F_EthernetMacAddressSet ( INT16U  UserId,
INT8U pMacAddress 
)

Definition at line 96 of file ethernet.c.

INT8U F_EthernetPacketHandler ( void  )

Definition at line 149 of file ethernet.c.

INT8U F_EthernetPartitionTableUpdate ( INT8U pSystemTable,
INT32U  Size 
)

Definition at line 235 of file ethernet.c.

INT8U F_EthernetPartitionUpdate ( INT8U pSystemTable,
INT32U  Size 
)

Definition at line 238 of file ethernet.c.

INT8U F_EthernetReceive ( ETHBUFFER pBuffer)

Definition at line 133 of file ethernet.c.

INT8U F_EthernetRelease ( INT16U  UserId)

Definition at line 89 of file ethernet.c.

INT8U F_EthernetSend ( ETHBUFFER pBuffer,
INT8U pDestination,
INT16U  Protocol 
)

Definition at line 118 of file ethernet.c.

void F_EthernetSvc ( void  )

Definition at line 76 of file ethernet.c.

INT8U F_EthernetSystemTableUpdate ( INT8U pSystemTable,
INT32U  Size 
)

Definition at line 232 of file ethernet.c.

INT32U F_EthernetUnsignedLongH2N ( unsigned long  l)

Definition at line 256 of file ethernet.c.

INT32U F_EthernetUnsignedLongN2H ( unsigned long  l)

Definition at line 250 of file ethernet.c.

INT16U F_EthernetUnsignedShortH2N ( unsigned short  s)

Definition at line 247 of file ethernet.c.

INT16U F_EthernetUnsignedShortN2H ( unsigned short  s)

Definition at line 244 of file ethernet.c.

void memcpy ( void *  s1,
const void *  s2,
int  n 
)

Variable Documentation

ETHERNET_CONTROL EthernetCtrl

Definition at line 38 of file ethernet.c.