diff options
author | Graeme Russ | 2009-11-24 20:04:20 +1100 |
---|---|---|
committer | Wolfgang Denk | 2009-12-05 01:05:07 +0100 |
commit | cabe5794803fbe18bedac2d9c7f2417a0fa95ec1 (patch) | |
tree | e55d2181fbb2a2081c6a3fc6ac4f2815c97d9171 /lib_i386/bios_setup.c | |
parent | 0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33 (diff) |
i386: Move references to link script exports
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'lib_i386/bios_setup.c')
-rw-r--r-- | lib_i386/bios_setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib_i386/bios_setup.c b/lib_i386/bios_setup.c index 33c842c6a0a..6491e522ec4 100644 --- a/lib_i386/bios_setup.c +++ b/lib_i386/bios_setup.c @@ -45,6 +45,9 @@ DECLARE_GLOBAL_DATA_PTR; #define BIOS_BASE ((char*)0xf0000) #define BIOS_CS 0xf000 +extern ulong _i386boot_bios; +extern ulong _i386boot_bios_size; + /* these are defined in a 16bit segment and needs * to be accessed with the RELOC_16_xxxx() macros below */ @@ -138,6 +141,9 @@ static void setvector(int vector, u16 segment, void *handler) int bios_setup(void) { + ulong i386boot_bios = (ulong)&_i386boot_bios; + ulong i386boot_bios_size = (ulong)&_i386boot_bios_size; + static int done=0; int vector; #ifdef CONFIG_PCI |