Make relocation code not trash potentially important registers
This commit is contained in:
parent
5becc89872
commit
d54f8ac4b9
2 changed files with 17 additions and 12 deletions
|
@ -12,7 +12,11 @@ main:
|
|||
mov ax, 18
|
||||
call malloc
|
||||
|
||||
ret
|
||||
int 0x2E
|
||||
|
||||
.endloop:
|
||||
hlt
|
||||
jmp .endloop
|
||||
|
||||
%include "kernel/heap.asm"
|
||||
%include "kernel/intr.asm"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue