This commit is contained in:
Freya Murphy 2024-01-28 19:27:23 -05:00
parent 6957948f3a
commit 175e5b55b8
Signed by: freya
GPG key ID: 744AB800E383AE52

View file

@ -1,10 +1,13 @@
#include <memory.h>
#include <lib.h> #include <lib.h>
#include <serial.h> #include <serial.h>
#include <fb.h> #include <fb.h>
#include <shim.h>
void kmain(void *info) { void kmain(struct boot_info *info) {
char buf[20]; char buf[20];
*(char*)0xB8000 = 'c'; *(char*)0xB8000 = 'c';
memory_init(info->map);
//*(char*)(0xB8002 + 0x20'0000) = 'd'; //*(char*)(0xB8002 + 0x20'0000) = 'd';
itoa((long)info, buf, 16); itoa((long)info, buf, 16);
//fb_init(1024, 768); //fb_init(1024, 768);