MCPcopy Create free account

hub / github.com/KuangjuX/hypocaust-2 / functions

Functions150 in github.com/KuangjuX/hypocaust-2

Methodfmt
(&self, f: &mut Formatter<'_>)
src/page_table/address.rs:32
Methodfmt
(&self, f: &mut Formatter<'_>)
src/hyp_alloc/frame_allocator.rs:28
Functionframe_allocator_test
a simple test for frame allocator
src/hyp_alloc/frame_allocator.rs:134
Methodfrom
(v: usize)
src/page_table/address.rs:57
Methodfrom_raw
(raw: u32)
src/constants.rs:405
Methodfrom_token
Temporarily used to get arguments from user space.
src/page_table/sv39.rs:90
Functionguest_gpr_offset
(index: GprIndex)
src/guest/context.rs:159
Functionhandle_alloc_error
panic when heap allocation error occurs
src/hyp_alloc/heap_allocator.rs:12
Functionheap_test
()
src/hyp_alloc/heap_allocator.rs:29
Functionhentry
(hart_id: usize, dtb: usize)
src/main.rs:100
Functionhpa2gpa
(pa: usize, guest_id: usize)
src/guest/mod.rs:82
Functionhyp_gpr_offset
(index: GprIndex)
src/guest/context.rs:152
Methodinitialize_context
init guest trap context
src/guest/context.rs:38
Methodinto_iter
(self)
src/page_table/address.rs:225
Methodis_global
(&self)
src/page_table/pte.rs:57
Methodis_user
(&self)
src/page_table/pte.rs:53
Methodlevel_index_bits
Returns the bits from this `DeviceId` used to index at `level`.
src/drivers/iommu/device_directory.rs:30
Methodmap_gpm
加载客户操作系统
src/mm/memory_set.rs:207
Methodnew
(guest_id: usize, gpm: GuestMemorySet<G>, guest_machine: MachineMeta)
src/guest/mod.rs:28
Methodnew
(hart: usize)
src/guest/vcpu.rs:10
Methodnew
(base_addr: usize)
src/device_emu/plic.rs:24
Methodnew
Creates a new `DeviceId` from the raw `val`.
src/drivers/iommu/device_directory.rs:16
Methodnew
(ppn: PhysPageNum, flags: PTEFlags)
src/page_table/pte.rs:26
Methodnew
()
src/page_table/sv39.rs:82
Methodnew
(start: T, end: T)
src/page_table/address.rs:208
Methodnew
( start_va: VirtAddr, end_va: VirtAddr, start_pa: Option<PhysAddr>, end_pa: Op
src/mm/memory_set.rs:531
Methodnew
User is responsible to guarantee that inner struct is only used in uniprocessor.
src/sync/up.rs:22
Methodnew
(ppn: PhysPageNum)
src/hyp_alloc/frame_allocator.rs:17
Methodnew_bare
()
src/mm/memory_set.rs:46
Methodnew_guest
新建 guest 根目录页表,需要分配 16 KiB 的内存 并且 16 KiB 内存对齐
src/page_table/sv39.rs:60
Methodnew_guest
(guest_data: &[u8], gpm_size: usize, guest_machine: &MachineMeta)
src/mm/memory_set.rs:238
Methodnew_guest_bare
为 guest page table 新建根页表 需要分配 16 KiB 对齐的页表
src/mm/memory_set.rs:231
Methodnew_guest_without_load
(guest_machine: &MachineMeta)
src/mm/memory_set.rs:395
Methodnew_host_vmm
Without kernel stacks. 内核虚拟地址映射 映射了内核代码段和数据段以及跳板页,没有映射内核栈
src/mm/memory_set.rs:56
Functionon_detect_trap
()
src/detect.rs:145
Functionpanic
panic handler
src/lang_items.rs:8
Methodparse
(dtb: usize)
src/hypervisor.rs:68
Functionprint
(args: fmt::Arguments)
src/console.rs:17
Methodrun
(&mut self)
src/guest/mod.rs:52
Functionrust_detect_trap
rust trap handler for detect exceptions
src/detect.rs:39
Methodset_reg
Sets the value of the given register.
src/constants.rs:455
Functionstart
hypervisor entrypoint
src/main.rs:71
Methodtoken
(&self)
src/page_table/sv39.rs:97
Functiontranslate_guest_va
(guest_id: usize, root: usize, guest_va: usize)
src/page_table/mod.rs:64
Methodtranslate_va
(&self, va: usize)
src/page_table/sv39.rs:119
Functiontrap_from_kernel
(_trap_cx: &TrapContext)
src/guest/vmexit.rs:329
Functiontrap_handler
()
src/guest/vmexit.rs:149
Methodunmap
(&mut self, vpn: VirtPageNum)
src/page_table/sv39.rs:109
Methodwalk_page_table
(root: usize, va: usize, read_pte: R)
src/page_table/sv39.rs:129
Methodwrite_str
(&mut self, s: &str)
src/console.rs:9
← previous101–150 of 150, ranked by callers