Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KuangjuX/hypocaust-2
/ functions
Functions
150 in github.com/KuangjuX/hypocaust-2
⨍
Functions
150
◇
Types & classes
49
Method
fmt
(&self, f: &mut Formatter<'_>)
src/page_table/address.rs:32
Method
fmt
(&self, f: &mut Formatter<'_>)
src/hyp_alloc/frame_allocator.rs:28
Function
frame_allocator_test
a simple test for frame allocator
src/hyp_alloc/frame_allocator.rs:134
Method
from
(v: usize)
src/page_table/address.rs:57
Method
from_raw
(raw: u32)
src/constants.rs:405
Method
from_token
Temporarily used to get arguments from user space.
src/page_table/sv39.rs:90
Function
guest_gpr_offset
(index: GprIndex)
src/guest/context.rs:159
Function
handle_alloc_error
panic when heap allocation error occurs
src/hyp_alloc/heap_allocator.rs:12
Function
heap_test
()
src/hyp_alloc/heap_allocator.rs:29
Function
hentry
(hart_id: usize, dtb: usize)
src/main.rs:100
Function
hpa2gpa
(pa: usize, guest_id: usize)
src/guest/mod.rs:82
Function
hyp_gpr_offset
(index: GprIndex)
src/guest/context.rs:152
Method
initialize_context
init guest trap context
src/guest/context.rs:38
Method
into_iter
(self)
src/page_table/address.rs:225
Method
is_global
(&self)
src/page_table/pte.rs:57
Method
is_user
(&self)
src/page_table/pte.rs:53
Method
level_index_bits
Returns the bits from this `DeviceId` used to index at `level`.
src/drivers/iommu/device_directory.rs:30
Method
map_gpm
加载客户操作系统
src/mm/memory_set.rs:207
Method
new
(guest_id: usize, gpm: GuestMemorySet<G>, guest_machine: MachineMeta)
src/guest/mod.rs:28
Method
new
(hart: usize)
src/guest/vcpu.rs:10
Method
new
(base_addr: usize)
src/device_emu/plic.rs:24
Method
new
Creates a new `DeviceId` from the raw `val`.
src/drivers/iommu/device_directory.rs:16
Method
new
(ppn: PhysPageNum, flags: PTEFlags)
src/page_table/pte.rs:26
Method
new
()
src/page_table/sv39.rs:82
Method
new
(start: T, end: T)
src/page_table/address.rs:208
Method
new
( start_va: VirtAddr, end_va: VirtAddr, start_pa: Option<PhysAddr>, end_pa: Op
src/mm/memory_set.rs:531
Method
new
User is responsible to guarantee that inner struct is only used in uniprocessor.
src/sync/up.rs:22
Method
new
(ppn: PhysPageNum)
src/hyp_alloc/frame_allocator.rs:17
Method
new_bare
()
src/mm/memory_set.rs:46
Method
new_guest
新建 guest 根目录页表,需要分配 16 KiB 的内存 并且 16 KiB 内存对齐
src/page_table/sv39.rs:60
Method
new_guest
(guest_data: &[u8], gpm_size: usize, guest_machine: &MachineMeta)
src/mm/memory_set.rs:238
Method
new_guest_bare
为 guest page table 新建根页表 需要分配 16 KiB 对齐的页表
src/mm/memory_set.rs:231
Method
new_guest_without_load
(guest_machine: &MachineMeta)
src/mm/memory_set.rs:395
Method
new_host_vmm
Without kernel stacks. 内核虚拟地址映射 映射了内核代码段和数据段以及跳板页,没有映射内核栈
src/mm/memory_set.rs:56
Function
on_detect_trap
()
src/detect.rs:145
Function
panic
panic handler
src/lang_items.rs:8
Method
parse
(dtb: usize)
src/hypervisor.rs:68
Function
print
(args: fmt::Arguments)
src/console.rs:17
Method
run
(&mut self)
src/guest/mod.rs:52
Function
rust_detect_trap
rust trap handler for detect exceptions
src/detect.rs:39
Method
set_reg
Sets the value of the given register.
src/constants.rs:455
Function
start
hypervisor entrypoint
src/main.rs:71
Method
token
(&self)
src/page_table/sv39.rs:97
Function
translate_guest_va
(guest_id: usize, root: usize, guest_va: usize)
src/page_table/mod.rs:64
Method
translate_va
(&self, va: usize)
src/page_table/sv39.rs:119
Function
trap_from_kernel
(_trap_cx: &TrapContext)
src/guest/vmexit.rs:329
Function
trap_handler
()
src/guest/vmexit.rs:149
Method
unmap
(&mut self, vpn: VirtPageNum)
src/page_table/sv39.rs:109
Method
walk_page_table
(root: usize, va: usize, read_pte: R)
src/page_table/sv39.rs:129
Method
write_str
(&mut self, s: &str)
src/console.rs:9
← previous
101–150 of 150, ranked by callers