diff options
author | wdenk <wdenk> | 2003-07-24 23:38:38 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-07-24 23:38:38 +0000 |
commit | 27b207fd0a0941b03f27e2a82c0468b1a090c745 (patch) | |
tree | 4d339d7a2a00889f09a876425ce430be57de56e9 /include/asm-mips | |
parent | 2535d60277cc295adf75cd5721dcecd840c69a63 (diff) | |
download | u-boot-27b207fd0a0941b03f27e2a82c0468b1a090c745.tar.gz u-boot-27b207fd0a0941b03f27e2a82c0468b1a090c745.tar.bz2 u-boot-27b207fd0a0941b03f27e2a82c0468b1a090c745.zip |
* Implement new mechanism to export U-Boot's functions to standalone
applications: instead of using (PPC-specific) system calls we now
use a jump table; please see doc/README.standalone for details
* Patch by Dave Westwood, 24 Jul 2003:
added support for Unity OS (a proprietary OS)
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/global_data.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-mips/global_data.h b/include/asm-mips/global_data.h index 72d0cb0749..3ecf555501 100644 --- a/include/asm-mips/global_data.h +++ b/include/asm-mips/global_data.h @@ -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 */ |