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:
@@ -49,6 +49,10 @@ bfs_start:
|
|||||||
push %ds
|
push %ds
|
||||||
pop %es
|
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
|
.code32 // save knowledge from the BFS boot block for later use
|
||||||
.byte 0x67
|
.byte 0x67
|
||||||
movb %dl, gBootDriveID - 0x10000
|
movb %dl, gBootDriveID - 0x10000
|
||||||
|
|||||||
Reference in New Issue
Block a user