blob: 249dd845921ce0a5789de78f088f23ba2186591c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <fpu.h>
#include <acpi.h>
#include <memory.h>
#include <lib.h>
#include <serial.h>
#include <shim.h>
#include <panic.h>
#include <pci.h>
#include <screen.h>
void kmain(struct boot_info *info) {
enable_fpu();
memory_init(&info->map);
pci_init();
screen_init();
acpi_init(info->acpi_table);
kprintf("enterd kmain\n");
char *test = kalloc(5);
*test = 1;
while (1) {
screen_redraw();
}
}
|