1 #ifndef CMD_BOOTA_H 2 #define CMD_BOOTA_H 3 4 #define LENGTHPOS 1 5 #define CHECKSPOS 2 6 #define HOSTIDPOS 3 7 #define NEXTSECPOS 4 8 9 #define HEADER_INFO_SIZE 20 /* N. of bytes to skip in a RDB sector to 10 have the actual available space */ 11 12 #define LOAD_OK 0 13 #define READ_ERROR 1<<16 14 #define READ_SYNTAX_ERR 2<<16 /* Includes both Checksum and other errors. */ 15 16 #define UNUSED_BLOCK_ADDRESS 0xffffffff 17 18 #define SBL_HIGHEST 256 19 #define MAX_UNITS 8 20 21 #define BOOTLOADER_MAX_BUFFER (640*1024) /* Maximum size for the second-level bootloader. 22 Used by the netboot functions since we don't 23 know beforehand the size of the file. 24 Someone told me 640K should be enough for 25 everyone. */ 26 //#define NETBOOT_BOOTLOADER_FILENAME "OS4Bootloader" now it's an unoot var 27 28 #endif /* CMD_BOOTA_H */ 29