common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
[platform/kernel/u-boot.git] / lib_i386 / realmode.c
index 6cf2738..3c3c1fc 100644 (file)
 #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",