mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-14 04:52:09 +00:00
15 lines
309 B
C
15 lines
309 B
C
#include <memory.h>
|
|
#include <lib.h>
|
|
#include <serial.h>
|
|
#include <fb.h>
|
|
#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);
|
|
//fb_init(1024, 768);
|
|
serial_out_str(buf);
|
|
}
|