mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
multiboot&memory stuff
This commit is contained in:
parent
afdd3508c6
commit
9ab5bbc58c
@ -6,7 +6,7 @@
|
||||
// //
|
||||
// Copyright © 1999,2003,2007-2010 Free Software Foundation, Inc. //
|
||||
// //
|
||||
// Note: In this header, "the software" refers to the multiboot.h file. //
|
||||
// Note: In this header, "the Software" refers to the multiboot.h file. //
|
||||
// //
|
||||
// Permission is hereby granted, free of charge, to any person //
|
||||
// obtaining a copy of this software and associated documentation //
|
||||
|
@ -39,13 +39,19 @@ noreturn void StartKern(multiboot_info_t *mbInfo, int mbMagic)
|
||||
// Kernel terminals
|
||||
InitTerms();
|
||||
|
||||
multiboot_uint32_t *grubver = mbInfo->boot_loader_name;
|
||||
|
||||
|
||||
// We're out
|
||||
StartPanic("We get\n *mbInfo : %x\n mbMagic : %x\n\n\
|
||||
We were loaded by : %s \n\n\
|
||||
\nGoodbye World :(", mbInfo, mbMagic, grubver);
|
||||
StartPanic( "We were loaded by : %s\n\n\n"
|
||||
"We get\n"
|
||||
" *mbInfo : %x\n"
|
||||
" mbMagic : %x\n"
|
||||
" mbBootdrv : %x\n"
|
||||
"\nGoodbye World :(",
|
||||
|
||||
mbInfo->boot_loader_name,
|
||||
mbInfo,
|
||||
mbMagic,
|
||||
mbInfo->boot_device
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user