blob: 68fcb0af037a0858b1e4981a461606bda4150079 (
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 "cpu.h"
#include "serial.h"
#include "kprint.h"
#include "memory.h"
#include "panic.h"
#include "task.h"
#include <kernel/entry.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
//TODO: initialize vm before cpu?
// alternatively, split memory and/or cpu initialization steps
unsigned long kc_main(struct kc_boot_data *data)
{
cpu_init();
serial_init();
kputs("<hacker voice> i'm in 3333\r\n");
memory_init(data);
task_init();
return 0;
}
|