bond/include/kernel/hal/boot.h

23 lines
322 B
C
Raw Normal View History

2018-03-24 00:58:24 +00:00
#ifndef KERNEL_HAL_BOOT_H
#define KERNEL_HAL_BOOT_H
2018-01-26 08:43:22 +00:00
#include "type.h"
#include "kernel/hal/intr.h"
#include "kernel/hal/mem.h"
#include "status.h"
2018-01-26 08:43:22 +00:00
/**
* Required OS boot info
*/
2016-07-01 09:15:07 +00:00
2018-03-24 00:58:24 +00:00
struct boot_info
{
2018-02-18 04:06:57 +00:00
void *krnl_end;
2018-03-24 00:58:24 +00:00
struct intr_info intr_info;
2018-02-18 04:06:57 +00:00
char cpu_vd_str[13];
2018-03-24 00:58:24 +00:00
};
2018-03-24 00:58:24 +00:00
sx_status SXAPI hal_init(void *m_info);
2018-03-24 00:58:24 +00:00
#endif