函数逻辑报告 |
Source Code:arch\x86\kernel\machine_kexec_32.c |
Create Date:2022-07-27 09:36:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:machine_kexec_page_table_set_one
函数原型:static void machine_kexec_page_table_set_one(pgd_t *pgd, pmd_t *pmd, pte_t *pte, unsigned long vaddr, unsigned long paddr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
pgd_t * | pgd | |
pmd_t * | pmd | |
pte_t * | pte | |
unsigned long | vaddr | |
unsigned long | paddr |
98 | pgd加等于he pgd page can be thought of an array like this: pgd_t[PTRS_PER_PGD]* this macro returns the index of the entry in the pgd page which would* control the given virtual address(vaddr) |
103 | p4d等于p4d_offset(pgd, vaddr) |
104 | pud等于pud_offset(p4d, vaddr) |
105 | pmd等于pmd_offset(pud, vaddr) |
106 | 如果非pmd_val( * pmd)按位与_PAGE_PRESENT的值则set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)) |
108 | pte等于pte_offset_kernel(pmd, vaddr) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |