mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 00:06:32 +00:00
🆕 转换为grub2引导(尚未更正mm模块,且目前无法将内核链接到线性地址0xffffx处)
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
#define PTRS_PER_PGT 512
|
||||
|
||||
// 内核层的起始地址
|
||||
#define KERNEL_BASE_ADDR ((unsigned long)0xffff800000000000)
|
||||
#define KERNEL_BASE_ADDR ((unsigned long)0x100000)
|
||||
|
||||
#define PAGE_4K_SHIFT 12
|
||||
#define PAGE_2M_SHIFT 21
|
||||
|
Reference in New Issue
Block a user