pagetbl.h
来自「nucleus_arm.rar」· C头文件 代码 · 共 23 行
H
23 行
// pagetbl.h
// Paging tables
typedef union tagPageTblEnt PageTblEnt;
// Pointer to page directory
extern PageTblEnt *page_dir;
// Initialize page tables and enable paging
void pagetbl_init(void);
// Return a pointer to the page table entry for the specified address
PageTblEnt *pagetbl_findpage(PageTblEnt *dir, void *ptr);
// Modify the protection of the page that corresponds
// to the given physical address(es)
// The end of the range is not inclusive
// Pass a dword specifying bits to clear and bits to set
// Returns the old value of the last entry modified
unsigned long pagetbl_chgprotect(PageTblEnt *dir, void *ptr, void *to,
unsigned long clr, unsigned long set);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?