projects
/
voyage-au-centre-des-fichiers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4981e
)
Changed "multiboot" to "multiboot2" in check for magic number in kernel.cpp
author
Amelia Coutard
<eliottulio.coutard@gmail.com>
Fri, 6 May 2022 23:01:21 +0000
(
01:01
+0200)
committer
Amelia Coutard
<eliottulio.coutard@gmail.com>
Fri, 6 May 2022 23:01:21 +0000
(
01:01
+0200)
Only makes the error message more exact, no change in code behaviour.
src/kernel.cpp
patch
|
blob
|
history
diff --git
a/src/kernel.cpp
b/src/kernel.cpp
index 1f056e4d95a0464b8a141b72336e8356d74e26fb..bda3d4f7eb4b7f443b0ea0edeec41ca46d1f6733 100644
(file)
--- a/
src/kernel.cpp
+++ b/
src/kernel.cpp
@@
-5,7
+5,7
@@
#include "serial.hpp"
extern "C" void kmain(unsigned long magic, os::phys_ptr<const multiboot2::info_start> info) {
- os::assert(magic == 0x36D76289, "Incorrect magic number: wasn't booted with multiboot.");
+ os::assert(magic == 0x36D76289, "Incorrect magic number: wasn't booted with multiboot
2
.");
if (!os::init_serial_port()) {
os::halt();