16 lines
292 B
C
16 lines
292 B
C
#include"c.h"
|
|
|
|
// Entry point
|
|
void kernelmain(void*multiboot_structure,unsigned magicnumber)
|
|
{
|
|
puts("This is an operating system or something.");
|
|
|
|
print("Multiboot structure:");
|
|
printi((int)multiboot_structure);
|
|
puts("");
|
|
|
|
print("Magic number:");
|
|
printi((int)magicnumber);
|
|
puts("");
|
|
}
|