]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/asm-mips/global_data.h
* Implement new mechanism to export U-Boot's functions to standalone
[karo-tx-uboot.git] / include / asm-mips / global_data.h
index 72d0cb0749e30cc00585cb5523e6da5473790e4f..3ecf555501a8d61e477e23ff5db7bf5302236106 100644 (file)
@@ -45,6 +45,7 @@ typedef       struct  global_data {
        unsigned long   reloc_off;      /* Relocation Offset */
        unsigned long   env_addr;       /* Address  of Environment struct */
        unsigned long   env_valid;      /* Checksum of Environment valid? */
+       void            **jt;           /* jump table */
 } gd_t;
 
 /*
@@ -53,6 +54,6 @@ typedef       struct  global_data {
 #define        GD_FLG_RELOC    0x00001         /* Code was relocated to RAM     */
 #define        GD_FLG_DEVINIT  0x00002         /* Devices have been initialized */
 
-#define DECLARE_GLOBAL_DATA_PTR     register gd_t *gd asm ("k0")
+#define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("k0")
 
 #endif /* __ASM_GBL_DATA_H */