Skip to main content

Crate somehal

Crate somehal 

Source

Re-exports§

pub use setup::KernelOp;

Modules§

arch
console
cpu
Current CPU helpers shared by architecture backends.
irq
mem
power
setup
smp
timer

Macros§

pr_range
print
println

Structs§

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

Enums§

DCacheOp
MemAttributes
PagingError

Constants§

GB
KB
MB

Traits§

ArchTrait
FrameAllocator
PageTableEntry
PageTableOp
TableMeta

Functions§

__someboot_secondary
__somehal_secondary_default
fdt_addr
fdt_addr_phys
init
kernel_page_table_paddr
Get the current kernel page table physical address and ASID
post_allocator
post_paging
rsdp_addr_phys
set_kernel_page_table_paddr
Set the kernel page table physical address and ASID

Type Aliases§

PagingResult

Attribute Macros§

entry
Attribute to declare the entry point of the program
irq_handler
中断处理器属性宏
secondary_entry
Attribute to declare the secondary entry point of the program