1
0
Fork 0
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:
Stefan Lankes 2015-05-24 09:56:07 +02:00
parent df57d3f04f
commit 1b11ecb5b1

View file

@ -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