summaryrefslogtreecommitdiff
path: root/arch/i386/cpu/start16.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-15 22:04:42 +0200
committerWolfgang Denk <wd@denx.de>2010-09-15 22:04:42 +0200
commite6060a7f18c989e0839b3d715f80bcf33de5b583 (patch)
treee2e20ea6f5e023aa32c9959148e94939dd731339 /arch/i386/cpu/start16.S
parent150f723665674100876c53e0492cd6d2191fe865 (diff)
parent215e1cb33ca676c62d96dfd3aa1053b7a92b7997 (diff)
downloadu-boot-imx-e6060a7f18c989e0839b3d715f80bcf33de5b583.zip
u-boot-imx-e6060a7f18c989e0839b3d715f80bcf33de5b583.tar.gz
u-boot-imx-e6060a7f18c989e0839b3d715f80bcf33de5b583.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/i386/cpu/start16.S')
-rw-r--r--arch/i386/cpu/start16.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/cpu/start16.S b/arch/i386/cpu/start16.S
index 3e8b2cc..ebe5835 100644
--- a/arch/i386/cpu/start16.S
+++ b/arch/i386/cpu/start16.S
@@ -45,6 +45,7 @@ board_init16_ret:
wbinvd
/* load the temporary Global Descriptor Table */
+o32 cs lidt idt_ptr
o32 cs lgdt gdt_ptr
/* Now, we enter protected mode */
@@ -68,6 +69,10 @@ code32start:
.long _start /* offset */
.word 0x10 /* segment */
+idt_ptr:
+ .word 0 /* limit */
+ .long 0 /* base */
+
/*
* The following Global Descriptor Table is just enough to get us into
* 'Flat Protected Mode' - It will be discarded as soon as the final