blob: 4bd219050238571fc4657fbc703dcfd8e02a2b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#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);
itoa(*(long*)info, buf, 16);
//fb_init(1024, 768);
serial_out_str(buf);
}
|