Skip to main content

Crate someboot

Crate someboot 

Source

Modules§

arch
console
frame
irq
mem
power
rtc
smp
timer

Macros§

pr_range
print
println

Structs§

DeferredPageTableFrames
Intermediate page-table frames detached by one leaf removal.
DetachedPageTableFrame
A page-table frame detached from a live page-table tree.
Frame
页表帧,代表一个物理页面上的页表
HugeSplitApplyError
Failed structural apply that returns the still-unpublished deposit to its caller. Transactional users must not lose the only child-table owner merely because the observed huge leaf became stale before apply.
HugeSplitDeposit
A child-table deposit bound to one observed huge leaf.
InstalledHugeSplit
Receipt proving that one deposited child table is now reachable from the page-table tree.
MapConfig
页表映射配置
MapRecursiveConfig
内部映射递归配置
PageTable
PageTableLeafPlan
Immutable identity of one occupied leaf.
PageTableMapApplyError
Failed structural apply that returns the still-unpublished map deposit.
PageTableMapDeposit
Move-only ownership of a detached page-table suffix for one exact leaf.
PageTableMapPlan
Allocation-free description of where one absent leaf may be installed.
PageTableMovePlan
Allocation-free preimage for one page-table leaf relocation.
PageTablePathApplyError
Failed path publication that returns every still-detached table frame.
PageTablePathDeposit
Move-only ownership of page-table directories prepared for one vacant leaf.
PageTableRef
PageTableWalker
页表遍历迭代器
PhysAddr
A physical memory address.
PteInfo
页表项信息,包含原PTE对象
UnmapConfig
取消映射配置
UnmapRecursiveConfig
内部取消映射递归配置
VirtAddr
A virtual memory address.
WalkConfig
页表遍历配置

Enums§

DCacheOp
PagingError

Constants§

GB
KB
MB

Traits§

ArchTrait
FrameAllocator
PageTableEntry
PageTableOp
SystimerArch
System-timer arming capability for architectures whose timer is hardware independent of the interrupt controller (Arm generic timer, RISC-V SBI timer, LoongArch TCG).
TableMeta

Functions§

boot_entropy
Returns the firmware-provided seed captured for this boot.
bootargs
Returns boot arguments captured from FDT, UEFI load options, or built into the image.
cmdline
fdt_addr
fdt_addr_phys
kernel_page_table_paddr
Get the current kernel page table physical address and ASID
platform_name
post_allocator
rsdp_addr_phys
set_kernel_page_table_paddr
Set the kernel page table physical address and ASID

Type Aliases§

PagingResult
PteConfigOf
The opaque leaf-entry configuration used by a page-table metadata type.

Attribute Macros§

entry
Attribute to declare the entry point of the program
secondary_entry
Attribute to declare the secondary entry point of the program