mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
forward in ebp the physical address of HermitCore
This commit is contained in:
parent
df57d3f04f
commit
1b11ecb5b1
1 changed files with 4 additions and 5 deletions
|
@ -37,9 +37,10 @@ _pmstart:
|
|||
|
||||
xor ebx, ebx ; invalid multiboot address
|
||||
mov esp, -16
|
||||
push DWORD 0x00 ; dummy value
|
||||
push DWORD 0x00 ; dummy value
|
||||
jmp codesel : codeaddr
|
||||
mov ebp, 0x00 ; dummy value
|
||||
push DWORD 0x00 ; dummy value
|
||||
push DWORD 0x00 ; dummy value
|
||||
jmp codesel : 0x00 ; dummy value
|
||||
jmp $
|
||||
|
||||
ALIGN 4
|
||||
|
@ -63,5 +64,3 @@ datasel equ $-gdt
|
|||
db 0xCF ; additional informationen and degment size 16...19
|
||||
db 0x00 ; segment address 24..31
|
||||
gdt_end:
|
||||
|
||||
codeaddr equ 0x1400000 ; address of the 32bit kernel
|
||||
|
|
Loading…
Add table
Reference in a new issue