modified, but still wrong
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18998 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5fc3827fb4
commit
b488dcdbad
@ -17,6 +17,7 @@
|
||||
|
||||
.text
|
||||
.code16
|
||||
.org 0
|
||||
|
||||
pxe_start:
|
||||
cli
|
||||
@ -25,7 +26,7 @@ pxe_start:
|
||||
.code32 // This forces a 32 bit relocation entry
|
||||
.byte 0x66 // that allows linking with others
|
||||
.byte 0x67
|
||||
lgdt gdt_descriptor + 0x100000
|
||||
lgdt gdt_descriptor
|
||||
|
||||
.code16
|
||||
movl %cr0, %eax // set the PE bit of cr0 to switch to protected mode
|
||||
|
Loading…
Reference in New Issue
Block a user