Revision d0652aa8
b/pc-bios/optionrom/linuxboot.S | ||
---|---|---|
86 | 86 |
/* Now create the GDT descriptor */ |
87 | 87 |
movw $((3 * 8) - 1), -16(%bp) |
88 | 88 |
mov %cs, %eax |
89 |
movzwl %ax, %eax |
|
89 | 90 |
shl $4, %eax |
90 |
addl $gdt, %ebx
|
|
91 |
movl %ebx, -14(%bp)
|
|
91 |
addl $gdt, %eax
|
|
92 |
movl %eax, -14(%bp)
|
|
92 | 93 |
|
93 | 94 |
/* And load the GDT */ |
94 | 95 |
data32 lgdt -16(%bp) |
Also available in: Unified diff