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 extern StartKern
push qword 12 mov rsi, [mbInfo]
push qword 12 mov rdi, [mbMagic]
call StartKern call StartKern
;; We must never reach this point ------------------------------------------- ;; ;; We must never reach this point ------------------------------------------- ;;

View File

@ -33,9 +33,6 @@ extern void testf(void);
// //
noreturn void StartKern(void *mbInfo, int mbMagic) noreturn void StartKern(void *mbInfo, int mbMagic)
{ {
(void)mbInfo;
(void)mbMagic;
// We're not ready to deal with interrupts // We're not ready to deal with interrupts
DisableIRQs(); DisableIRQs();
@ -43,6 +40,6 @@ noreturn void StartKern(void *mbInfo, int mbMagic)
InitTerms(); InitTerms();
// We're out // 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);
} }