corn/src/kmain.c

10 lines
191 B
C
Raw Normal View History

2024-01-27 08:37:48 +00:00
#include <lib.h>
#include <serial.h>
void kmain(void *info) {
char buf[20];
2024-01-27 07:18:08 +00:00
*(char*)0xB8000 = 'c';
2024-01-27 08:26:21 +00:00
*(char*)(0xB8002 + 0x20'0000) = 'd';
2024-01-27 08:37:48 +00:00
itoa((long)info, buf, 10);
serial_out_str(buf);
2024-01-27 03:29:49 +00:00
}