Skip to main content

Module mem

Module mem 

Source

Modules§

frame
mmu

Structs§

AccessFlags
Frame
页表帧,代表一个物理页面上的页表
MapConfig
页表映射配置
MapRecursiveConfig
内部映射递归配置
MemConfig
MemoryDescriptor
PageTable
PageTableInfo
PageTableRef
PageTableWalker
页表遍历迭代器
PhysAddr
PteConfig
PteInfo
页表项信息,包含原PTE对象
UnmapConfig
取消映射配置
UnmapRecursiveConfig
内部取消映射递归配置
VirtAddr
WalkConfig
页表遍历配置

Enums§

MemAttributes
MemoryType
PagingError

Constants§

GB
KB
KIMAGE_MAP_ALIGN
MB

Traits§

FrameAllocator
PageTableEntry
PageTableOp
TableMeta

Functions§

__io
IO 物理地址应当转换为的内核虚拟地址
__percpu
__va
RAM 物理地址应当转换为的内核虚拟地址
dcache_range
kernel_space
memory_map
page_size
phys_to_virt
物理RAM实际转换为的内核虚拟地址
print_memory_map
stack_size
virt_to_phys
vm_load_offset
Get the offset between virtual address and physical address of the loaded kernel image

Type Aliases§

MemoryMap
PagingResult