xref: /DragonOS/kernel/src/common/boot_info.h (revision 52da9a59374752b4d01907b052135a0d317781dd)
1 
2 /**
3  * @file boot_info.h
4  * @brief 启动信息接口
5  */
6 
7 #pragma once
8 #include "glib.h"
9 
10 /**
11  * @brief 启动信息接口
12  * 由引导传递的机器信息处理
13  * 如 grub2 传递的 multiboot2 结构
14  * 注意这部分是通过内存传递的,在重新保存之前不能被覆盖
15  * 架构专有的数据在 dtb.hmultiboot2.h
16  * 实现在 dtb.cppmultiboot2.cpp
17  */
18     /// 声明,定义在具体的实现中
19     /// 地址
20     extern uintptr_t  boot_info_addr;
21     /// 长度
22     extern unsigned int boot_info_size;
23 
24