函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tboot.c Create Date:2022-07-27 08:53:27
Last Modify:2022-05-22 06:45:44 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:map_tboot_pages

函数原型:static int map_tboot_pages(unsigned long vaddr, unsigned long start_pfn, unsigned long nr)

返回类型:int

参数:

类型参数名称
unsigned longvaddr
unsigned longstart_pfn
unsigned longnr
145  tboot_pg_dir等于Allocate and free page tables.
146  如果非tboot_pg_dir则返回:负1
149 nr大于0循环
150  如果map_tboot_page(vaddr, start_pfn, PAGE_KERNEL_EXEC)则返回:负1
154  返回:0
调用者
名称描述
tboot_create_trampoline