summaryrefslogtreecommitdiff
path: root/src/kmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmain.c')
-rw-r--r--src/kmain.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/kmain.c b/src/kmain.c
index 701c135..d5bee56 100644
--- a/src/kmain.c
+++ b/src/kmain.c
@@ -5,14 +5,11 @@
#include <shim.h>
void kmain(struct boot_info *info) {
- char buf[20];
- *(char*)0xB8000 = 'c';
memory_init(info->map);
- //*(char*)(0xB8002 + 0x20'0000) = 'd';
- itoa((long)info, buf, 16);
- itoa(*(long*)info, buf, 16);
- //fb_init(1024, 768);
- serial_out_str(buf);
+ serial_out_str("entered kmain\n");
+ *(char*)(0xB8000 + 0x144) = 'h';
+ *(char*)(0xB8000 + 0x146) = 'i';
+ //fb_init(1024, 768);
while (1) {
// loop so we dont halt
// this allows interrupts to fire