mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-14 16:52:08 +00:00
9 lines
191 B
C
9 lines
191 B
C
#include <lib.h>
|
|
#include <serial.h>
|
|
void kmain(void *info) {
|
|
char buf[20];
|
|
*(char*)0xB8000 = 'c';
|
|
*(char*)(0xB8002 + 0x20'0000) = 'd';
|
|
itoa((long)info, buf, 10);
|
|
serial_out_str(buf);
|
|
}
|