Data Structures | |
struct | BOOTFRAME |
Defines | |
#define | htons(x) __byte_swap2(x) |
Convert short value from host to network byte order. | |
#define | htonl(x) __byte_swap4(x) |
Convert long value from host to network byte order. | |
#define | ntohs(x) __byte_swap2(x) |
Convert short value from network to host byte order. | |
#define | ntohl(x) __byte_swap4(x) |
Convert long value from network to host byte order. | |
Typedefs | |
typedef unsigned char | u_char |
Unsigned 8-bit value. | |
typedef unsigned short | u_short |
Unsigned 16-bit value. | |
typedef unsigned int | u_int |
Unsigned 16-bit value. | |
typedef unsigned long | u_long |
Unsigned 32-bit value. | |
typedef unsigned long long | u_longlong |
Unsigned 64-bit value. | |
typedef void * | HANDLE |
Void pointer. | |
Functions | |
int | main (void) |
Boot loader entry. | |
u_short | __byte_swap2 (u_short val) |
u_long | __byte_swap4 (u_long val) |
void | Delay (long nops) |
Variables | |
unsigned char | __data_start |
unsigned char | __data_end |
unsigned char | __data_load_start |
unsigned char | __bss_start |
unsigned char | __bss_end |
The main routine entry point is directly located at byte address 0x1F000. There is no C runtime initialization.
|
Boot loader entry.
This boot loader is very special. It is completely self contained, which means that it runs without any library. This entry point must be linked first and will be located at byte address 0x1F000 in the program flash ROM.
|