stuff
This commit is contained in:
parent
85132db7a9
commit
f836157c90
|
@ -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 ------------------------------------------- ;;
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue