函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\io.h Create Date:2022-07-27 06:46:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:phys_to_virt - map physical address to virtual*@address: address to remap* The returned virtual address is a current CPU mapping for* the memory address given. It is only valid to use this function on* addresses that have a kernel mapping

函数原型:static inline void *phys_to_virt(phys_addr_t address)

返回类型:void

参数:

类型参数名称
phys_addr_taddress
150  返回:__va(address)
调用者
名称描述
kfree_via_phys
smpboot_setup_warm_reset_vector
smpboot_restore_warm_reset_vector
machine_kexecDo not allocate memory (or fail in any way) in machine_kexec().* We are past the point of no return, committed to rebooting now.
swiotlb_update_mem_attributesEarly SWIOTLB allocation may be too early to allow an architecture to* perform the desired operations. This function allows the architecture to* call SWIOTLB when the operations are possible. It needs to be called* before the SWIOTLB memory is used.
swiotlb_exit
swiotlb_bounceBounce: copy the swiotlb buffer from or back to the original dma location
memblock_alloc_internalmemblock_alloc_internal - allocate boot memory block*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@min_addr: the lower bound of the memory region to allocate (phys address)*@max_addr: the upper
boot_phys_to_virt
get_bios_ebda取EBDA地址