summaryrefslogtreecommitdiff
path: root/kc/core/kc_main.c
blob: 4dd6742f466a79e4a5701328aeb399ae77c79838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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(void *data)
{
    (void)data;
    cpu_init();
    serial_init();
    kputs("<hacker voice> i'm in 3333\r\n");
    halt();
}