19 lines
320 B
C
19 lines
320 B
C
#include <stdint.h>
|
|
#include <socks/init.h>
|
|
#include <socks/printk.h>
|
|
#include <socks/machine/init.h>
|
|
#include <socks/machine/cpu.h>
|
|
|
|
extern unsigned long get_rflags(void);
|
|
|
|
void print_kernel_banner(void)
|
|
{
|
|
printk("Socks kernel version " BUILD_ID);
|
|
}
|
|
|
|
void kernel_init(uintptr_t arg)
|
|
{
|
|
ml_init(arg);
|
|
ml_halt_cpu();
|
|
}
|