2018-01-26 08:43:22 +00:00
|
|
|
#ifndef _KERNEL_HAL_BOOT_H_
|
|
|
|
#define _KERNEL_HAL_BOOT_H_
|
2016-07-09 03:01:33 +00:00
|
|
|
|
2018-01-26 08:43:22 +00:00
|
|
|
#include "type.h"
|
|
|
|
#include "kernel/hal/intr.h"
|
|
|
|
#include "kernel/hal/mem.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Required OS boot info
|
|
|
|
*/
|
2016-07-01 09:15:07 +00:00
|
|
|
|
2016-06-15 07:29:46 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2018-02-12 03:26:03 +00:00
|
|
|
void* krnl_end;
|
2017-02-01 03:26:08 +00:00
|
|
|
intr_info_t intr_info;
|
2016-06-15 07:29:46 +00:00
|
|
|
char cpu_vd_str[13];
|
2017-02-01 03:26:08 +00:00
|
|
|
} boot_info_t;
|
2016-06-15 07:29:46 +00:00
|
|
|
|
2018-01-26 08:43:22 +00:00
|
|
|
void KABI ke_main(boot_info_t* info);
|
2016-07-09 03:01:33 +00:00
|
|
|
|
2016-06-15 07:29:46 +00:00
|
|
|
#endif
|