From: Russ D. <ru...@us...> - 2001-09-02 02:29:56
|
Update of /cvsroot/blob/blob/include In directory usw-pr-cvs1:/tmp/cvs-serv2911/include Modified Files: memory.h param_block.h Log Message: paramater block cleanups Index: memory.h =================================================================== RCS file: /cvsroot/blob/blob/include/memory.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- memory.h 2001/08/06 22:44:52 1.2 +++ memory.h 2001/09/02 02:29:54 1.3 @@ -45,7 +45,7 @@ void get_memory_map(void); - +void show_memory_map(void); Index: param_block.h =================================================================== RCS file: /cvsroot/blob/blob/include/param_block.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- param_block.h 2001/08/31 06:26:59 1.1 +++ param_block.h 2001/09/02 02:29:54 1.2 @@ -37,6 +37,8 @@ #include "types.h" +#define PTAG_MAGIC 0x32d27000 /* base 26 blob */ + /* The list ends with an PTAG_NONE node. */ #define PTAG_NONE 0x00000000 @@ -46,7 +48,7 @@ }; /* The list must start with an PTAG_CORE node */ -#define PTAG_CORE 0x32d27001 +#define PTAG_CORE (PTAG_MAGIC | 1) struct ptag_core { /* some important core paramater goes here */ @@ -54,7 +56,7 @@ /* Some options relating to ramdisks */ -#define PTAG_RAMDISK 0x32d27002 +#define PTAG_RAMDISK (PTAG_MAGIC | 2) struct ptag_ramdisk { u32 flags; /* 1 = load ramdisk, 0 = do not */ @@ -62,7 +64,7 @@ /* Boot delay */ -#define PTAG_BOOTDELAY 0x32d27003 +#define PTAG_BOOTDELAY (PTAG_MAGIC | 3) struct ptag_bootdelay { u32 delay; /* boot delay in seconds, 0 for none */ @@ -70,7 +72,7 @@ /* command line: \0 terminated string */ -#define PTAG_CMDLINE 0x32d27004 +#define PTAG_CMDLINE (PTAG_MAGIC | 4) struct ptag_cmdline { char cmdline[1]; /* this is the minimum size */ @@ -78,7 +80,7 @@ /* bootloader baudrates */ -#define PTAG_BAUD 0x32d27005 +#define PTAG_BAUD (PTAG_MAGIC | 5) struct ptag_baud { /* see your local sa11x0 manual for acceptable values */ u32 terminal; /* the baud rate at which communication with @@ -87,6 +89,14 @@ }; +/* splash screen */ +#define PTAG_SPLASH (PTAG_MAGIC | 6) + +struct ptag_splash { + u32 data[1]; +}; + + struct ptag { struct ptag_header hdr; union { @@ -95,6 +105,7 @@ struct ptag_bootdelay bootdelay; struct ptag_cmdline cmdline; struct ptag_baud baud; + struct ptag_splash splash; } u; }; |