summaryrefslogtreecommitdiff
path: root/kc/core/kc_main.c
blob: d8ccc11b8d3bb6b0ab0e1168d0aba4fd081c4c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "cpu.h"
#include "serial.h"
#include "kprint.h"
#include "memory.h"
#include "panic.h"

#include <kernel/entry.h>

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

unsigned long kc_main(struct kc_boot_data *data)
{
    (void)data;
    cpu_init();
    serial_init();
    kputs("<hacker voice> i'm in 3333\r\n");
    memory_init(data);
    halt();
}