mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-10 02:02:08 +00:00
changes
This commit is contained in:
parent
6957948f3a
commit
175e5b55b8
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue