diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2009-11-24 20:04:20 +1100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-05 01:05:07 +0100 |
commit | cabe5794803fbe18bedac2d9c7f2417a0fa95ec1 (patch) | |
tree | e55d2181fbb2a2081c6a3fc6ac4f2815c97d9171 /lib_i386/realmode.c | |
parent | 0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33 (diff) | |
download | u-boot-imx-cabe5794803fbe18bedac2d9c7f2417a0fa95ec1.zip u-boot-imx-cabe5794803fbe18bedac2d9c7f2417a0fa95ec1.tar.gz u-boot-imx-cabe5794803fbe18bedac2d9c7f2417a0fa95ec1.tar.bz2 |
i386: Move references to link script exports
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'lib_i386/realmode.c')
-rw-r--r-- | lib_i386/realmode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_i386/realmode.c b/lib_i386/realmode.c index 6cf2738..3c3c1fc 100644 --- a/lib_i386/realmode.c +++ b/lib_i386/realmode.c @@ -31,10 +31,15 @@ #define REALMODE_MAILBOX ((char*)0xe00) +extern ulong _i386boot_realmode; +extern ulong _i386boot_realmode_size; extern char realmode_enter; int realmode_setup(void) { + ulong i386boot_realmode = (ulong)&_i386boot_realmode; + ulong i386boot_realmode_size = (ulong)&_i386boot_realmode_size; + /* copy the realmode switch code */ if (i386boot_realmode_size > (REALMODE_MAILBOX-REALMODE_BASE)) { printf("realmode switch too large (%ld bytes, max is %d)\n", |