Function report |
Source Code:arch\x86\kernel\tboot.c |
Create Date:2022-07-28 07:53:12 |
Last Modify:2022-05-22 06:45:44 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:map_tboot_page
Proto:static int map_tboot_page(unsigned long vaddr, unsigned long pfn, pgprot_t prot)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | vaddr | |
unsigned long | pfn | |
pgprot_t | prot |
112 | pgd = a shortcut to get a pgd_t in a given mm( & tboot_mm, vaddr) |
113 | p4d = The following ifdef needed to get the 5level-fixup.h header to work.* Remove it when 5level-fixup.h has been removed. |
114 | If Not p4d Then Return -1 |
117 | If Not pud Then Return -1 |
120 | If Not pmd Then Return -1 |
122 | pte = pte_alloc_map( & tboot_mm, pmd, vaddr) |
123 | If Not pte Then Return -1 |
138 | Return 0 |
Name | Describe |
---|---|
map_tboot_pages |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |