doc: 内存管理api

This commit is contained in:
fslongjin
2022-07-27 00:09:19 +08:00
parent 5c9e03236d
commit 1b4f812fe4
6 changed files with 231 additions and 11 deletions

View File

@ -58,10 +58,10 @@
// 页面在页表中已被映射 mapped=1 unmapped=0
#define PAGE_PGT_MAPPED (1 << 0)
// 内核初始化程序的页 init-code=1 normal-code/data=0
// 内核初始化所占用的页 init-code=1 normal-code/data=0
#define PAGE_KERNEL_INIT (1 << 1)
// 1=设备寄存器映射的内存 0=物理内存
// 1=设备MMIO映射的内存 0=物理内存
#define PAGE_DEVICE (1 << 2)
// 内核层页 kernel=1 memory=0