Now makes sure that the stack is set up correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8605 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
de28175b45
commit
7312c22b60
@ -49,6 +49,10 @@ bfs_start:
|
||||
push %ds
|
||||
pop %es
|
||||
|
||||
xor %ax, %ax // set up stack at 0x0000:0x9000
|
||||
mov %ax, %ss
|
||||
mov $0x9000, %sp
|
||||
|
||||
.code32 // save knowledge from the BFS boot block for later use
|
||||
.byte 0x67
|
||||
movb %dl, gBootDriveID - 0x10000
|
||||
|
Loading…
Reference in New Issue
Block a user