diff options
Diffstat (limited to 'example/mb1/main.c')
-rw-r--r-- | example/mb1/main.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/example/mb1/main.c b/example/mb1/main.c new file mode 100644 index 0000000..0174803 --- /dev/null +++ b/example/mb1/main.c @@ -0,0 +1,16 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +typedef unsigned int u32; + +int kernel_main(u32 magic, u32 addr, u32 esp); // Decl +int kernel_main(u32 magic, u32 addr, u32 esp) +{ + (void)magic; + (void)addr; + (void)esp; + + while (1) + ; + + return 1; +} |