This commit is contained in:
Adrien Bourmault 2019-03-12 18:24:27 +01:00
parent 85132db7a9
commit f836157c90
2 changed files with 3 additions and 6 deletions

View File

@ -162,8 +162,8 @@ _loader64:
extern StartKern
push qword 12
push qword 12
mov rsi, [mbInfo]
mov rdi, [mbMagic]
call StartKern
;; We must never reach this point ------------------------------------------- ;;

View File

@ -33,9 +33,6 @@ extern void testf(void);
//
noreturn void StartKern(void *mbInfo, int mbMagic)
{
(void)mbInfo;
(void)mbMagic;
// We're not ready to deal with interrupts
DisableIRQs();
@ -43,6 +40,6 @@ noreturn void StartKern(void *mbInfo, int mbMagic)
InitTerms();
// We're out
StartPanic("We had\n *mbInfo : %x\n mbMagic : %x\n\nGoodbye World :(", mbInfo, mbMagic);
StartPanic("We had\n *mbInfo : %p\n mbMagic : %x\n\nGoodbye World :(", mbInfo, mbMagic);
}