Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bareflank/hypervisor
/ functions
Functions
2,423 in github.com/Bareflank/hypervisor
⨍
Functions
2,423
◇
Types & classes
516
↓ 8 callers
Function
return_to_mk
<!-- description --> @brief Returns to the microkernel after the execution of call_ext. <!-- inputs/outputs --> @param status the status code from th
kernel/mocks/return_to_mk.hpp:40
↓ 8 callers
Method
set_initialize
<!-- description --> @brief Sets the return value of initialize. (unit testing only) <!-- inputs/outputs --> @param errc the bsl::errc_type to return
syscall/mocks/bf_syscall_t.hpp:275
↓ 8 callers
Method
set_segment_descriptor
<!-- description --> @brief Stores the provided ES segment state info in the VS. <!-- inputs/outputs --> @param mut_intrinsic the intrinsic_t to use
kernel/src/x64/intel/vs_t.hpp:236
↓ 8 callers
Method
unlock
<!-- description --> @brief Unlocks the basic_spinlock_t.
lib/src/basic_spinlock_t.hpp:181
↓ 8 callers
Method
vs_assigned_to_pp
<!-- description --> @brief If the requested PP is assigned to a vs_t in the pool, the ID of the first vs_t found is returned. Otherwise, this functio
kernel/src/vs_pool_t.hpp:361
↓ 8 callers
Method
vs_assigned_to_vm
<!-- description --> @brief If the requested VM is assigned to a vs_t in the pool, the ID of the first vs_t found is returned. Otherwise, this functio
kernel/src/vs_pool_t.hpp:333
↓ 7 callers
Function
bf_debug_op_dump_ext
<!-- description --> @brief This syscall tells the microkernel to output an extension's state to the console device the microkernel is currently using
syscall/src/bf_debug_ops.rs:130
↓ 7 callers
Function
bf_debug_op_dump_huge_pool_impl
syscall/mocks/bf_syscall_impl.hpp:827
↓ 7 callers
Function
bf_debug_op_dump_page_pool
<!-- description --> @brief This syscall tells the microkernel to output the page pool's stats to the console device the microkernel is currently usin
syscall/src/bf_debug_ops.rs:141
↓ 7 callers
Function
bf_debug_op_dump_page_pool_impl
syscall/mocks/bf_syscall_impl.hpp:817
↓ 7 callers
Function
bf_debug_op_out_impl
syscall/mocks/bf_syscall_impl.hpp:708
↓ 7 callers
Function
bf_debug_op_write_c_impl
syscall/mocks/bf_syscall_impl.hpp:778
↓ 7 callers
Function
bf_debug_op_write_str
<!-- description --> @brief This syscall tells the microkernel to output a provided string to the microkernel's console. <!-- inputs/outputs --> @par
syscall/src/bf_debug_ops.rs:116
↓ 7 callers
Function
bf_debug_op_write_str_impl
syscall/mocks/bf_syscall_impl.hpp:792
↓ 7 callers
Function
bf_intrinsic_op_wrmsr_impl
syscall/mocks/bf_syscall_impl.hpp:1487
↓ 7 callers
Function
bf_tls_online_pps_impl
syscall/mocks/bf_syscall_impl.hpp:614
↓ 7 callers
Function
bf_tls_vmid_impl
syscall/mocks/bf_syscall_impl.hpp:566
↓ 7 callers
Method
bf_vs_op_clear
<!-- description --> @brief bf_vs_op_clear tells the microkernel to clear the VS's hardware cache, if one exists. How this is used depends entirely on
syscall/src/bf_syscall_t.rs:1421
↓ 7 callers
Method
bf_vs_op_tlb_flush
<!-- description --> @brief Given the ID of a VS, invalidates a TLB entry for a given GLA on the PP that this is executed on. <!-- inputs/outputs -->
syscall/src/bf_syscall_t.rs:1587
↓ 7 callers
Method
close
<!-- description --> @brief Closes the IOCTL
lib/mocks/basic_ioctl_t.hpp:132
↓ 7 callers
Method
close_handle
<!-- description --> @brief Closes a previously opened handle
kernel/src/ext_t.hpp:1219
↓ 7 callers
Method
cpuid
<!-- description --> @brief Executes the CPUID instruction given the provided EAX and ECX and returns the results. <!-- inputs/outputs --> @param gs
example/default/src/x64/intrinsic_t.hpp:57
↓ 7 callers
Method
cr0
<!-- description --> @brief Returns the value of CR0 <!-- inputs/outputs --> @return Returns the value of CR0
kernel/src/x64/intel/intrinsic_t.hpp:212
↓ 7 callers
Method
cr3
<!-- description --> @brief Returns the value of CR3 <!-- inputs/outputs --> @return Returns the value of CR3
kernel/src/x64/intel/intrinsic_t.hpp:224
↓ 7 callers
Method
cr4
<!-- description --> @brief Returns the value of CR4 <!-- inputs/outputs --> @return Returns the value of CR4
kernel/src/x64/intel/intrinsic_t.hpp:236
↓ 7 callers
Method
cs_selector
<!-- description --> @brief Returns the value of CS <!-- inputs/outputs --> @return Returns the value of CS
kernel/src/x64/intel/intrinsic_t.hpp:140
↓ 7 callers
Function
dispatch_esr_nmi
<!-- description --> @brief Provides the main entry point for NMI exceptions (which on AMD do not occur as NMIs are blocked). <!-- inputs/outputs -->
kernel/mocks/x64/dispatch_esr_nmi.hpp:43
↓ 7 callers
Method
ds_selector
<!-- description --> @brief Returns the value of DS <!-- inputs/outputs --> @return Returns the value of DS
kernel/src/x64/intel/intrinsic_t.hpp:164
↓ 7 callers
Method
dump
<!-- description --> @brief Dumps the basic_page_pool_t <!-- inputs/outputs --> @param tls the current TLS block
lib/src/basic_page_pool_t.hpp:347
↓ 7 callers
Method
es_selector
<!-- description --> @brief Returns the value of ES <!-- inputs/outputs --> @return Returns the value of ES
kernel/src/x64/intel/intrinsic_t.hpp:128
↓ 7 callers
Method
fail_ip
<!-- description --> @brief Returns the fast fail IP for this extension. <!-- inputs/outputs --> @return Returns the fast fail IP for this extension.
kernel/src/ext_t.hpp:1173
↓ 7 callers
Method
fs_selector
<!-- description --> @brief Returns the value of FS <!-- inputs/outputs --> @return Returns the value of FS
kernel/src/x64/intel/intrinsic_t.hpp:176
↓ 7 callers
Function
get_locally_assigned_vsid
<!-- description --> @brief Given an input register, returns a vsid if the provided register contains a valid vsid, the VM associated with the vsid is
kernel/src/dispatch_syscall_helpers.hpp:899
↓ 7 callers
Method
get_vm
<!-- description --> @brief Returns the vm_t associated with the provided vmid. <!-- inputs/outputs --> @param vmid the ID of the vm_t to get @return
kernel/mocks/vm_pool_t.hpp:61
↓ 7 callers
Method
gs_selector
<!-- description --> @brief Returns the value of GS <!-- inputs/outputs --> @return Returns the value of GS
kernel/src/x64/intel/intrinsic_t.hpp:188
↓ 7 callers
Method
id
<!-- description --> @brief Returns the ID of this vs_t <!-- inputs/outputs --> @return Returns the ID of this vs_t
kernel/integration/support/src/x64/amd/vs_t.hpp:116
↓ 7 callers
Method
map_page_direct
<!-- description --> @brief Maps a page into the direct map portion of the requested VM's direct map RPT given a physical address to map. <!-- inputs
kernel/src/ext_t.hpp:1411
↓ 7 callers
Function
platform_expects
* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert preconditions that if not
loader/windows/src/platform.c:56
↓ 7 callers
Function
platform_expects
* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert preconditions that if not
loader/linux/src/platform.c:51
↓ 7 callers
Method
push
<!-- description --> @brief Pushes an element to the queue and returns bsl::errc_success. If the queue is full, returns bsl::errc_failure. <!-- input
lib/include/basic_queue_t.hpp:87
↓ 7 callers
Method
release
<!-- description --> @brief Releases the BfSyscallT by closing the handle.
syscall/src/bf_syscall_t.rs:137
↓ 7 callers
Method
ss_selector
<!-- description --> @brief Returns the value of SS <!-- inputs/outputs --> @return Returns the value of SS
kernel/src/x64/intel/intrinsic_t.hpp:152
↓ 7 callers
Function
tls_initialize
<!-- description --> @brief Initializes the Thread Local Storage (TLS). <!-- inputs/outputs --> @param tls the tls_t to use @param sys the bf_syscall
example/default/mocks/tls_initialize.hpp:47
↓ 7 callers
Method
tr_selector
<!-- description --> @brief Returns the value of TR <!-- inputs/outputs --> @return Returns the value of TR
kernel/src/x64/intel/intrinsic_t.hpp:200
↓ 7 callers
Method
unmap_page_direct
<!-- description --> @brief Unmaps a page from the direct map portion of the requested VM's direct map RPT given a virtual address to unmap. <!-- inp
kernel/src/ext_t.hpp:1461
↓ 7 callers
Function
verify_handle_for_current_ext
<!-- description --> @brief Returns true if the handle provided in tls.reg0 is valid. Returns false otherwise. <!-- inputs/outputs --> @param tls the
kernel/src/dispatch_syscall_helpers.hpp:144
↓ 7 callers
Method
virt_to_phys
<!-- description --> @brief Converts a virtual address to a physical address. <!-- inputs/outputs --> @param virt the virtual address to convert @ret
lib/src/basic_page_pool_t.hpp:92
↓ 7 callers
Method
vmcl
<!-- description --> @brief Clears a VMCS given a pointer to the physical address of the VMCS. <!-- inputs/outputs --> @param phys a pointer to the p
kernel/src/x64/intel/intrinsic_t.hpp:394
↓ 7 callers
Method
vmexit_ip
<!-- description --> @brief Returns the VMExit IP for this extension. <!-- inputs/outputs --> @return Returns the VMExit IP for this extension.
kernel/src/ext_t.hpp:1142
↓ 7 callers
Method
vmld
<!-- description --> @brief Loads a VMCS given a pointer to the physical address of the VMCS. <!-- inputs/outputs --> @param phys a pointer to the ph
kernel/src/x64/intel/intrinsic_t.hpp:365
↓ 6 callers
Method
alloc_page
<!-- description --> @brief Allocates a page and maps it into the extension's address space. <!-- inputs/outputs --> @param mut_tls the current TLS b
kernel/src/ext_t.hpp:1291
↓ 6 callers
Function
bf_control_op_again_impl
syscall/mocks/bf_syscall_impl.hpp:645
↓ 6 callers
Function
bf_control_op_exit_impl
syscall/mocks/bf_syscall_impl.hpp:627
↓ 6 callers
Function
bf_control_op_wait_impl
syscall/mocks/bf_syscall_impl.hpp:636
↓ 6 callers
Function
bf_debug_op_dump_ext_impl
syscall/mocks/bf_syscall_impl.hpp:806
↓ 6 callers
Function
bf_debug_op_dump_vm_impl
syscall/mocks/bf_syscall_impl.hpp:722
↓ 6 callers
Function
bf_debug_op_dump_vp_impl
syscall/mocks/bf_syscall_impl.hpp:736
↓ 6 callers
Function
bf_debug_op_dump_vs_impl
syscall/mocks/bf_syscall_impl.hpp:750
↓ 6 callers
Function
bf_is_page_aligned
* <!-- description --> * @brief Returns true if the provided address is page aligned, * returns false otherwise. * * <!-- inputs/outputs -->
loader/tests/src/platform.c:51
↓ 6 callers
Function
bf_tls_extid_impl
syscall/mocks/bf_syscall_impl.hpp:554
↓ 6 callers
Function
bf_tls_ppid_impl
syscall/mocks/bf_syscall_impl.hpp:602
↓ 6 callers
Function
bf_tls_vpid_impl
syscall/mocks/bf_syscall_impl.hpp:578
↓ 6 callers
Function
bf_tls_vsid_impl
syscall/mocks/bf_syscall_impl.hpp:590
↓ 6 callers
Method
bf_vm_op_tlb_flush
<!-- description --> @brief Given the ID of a VM, invalidates a TLB entry for a given GLA on the PP that this is executed on. <!-- inputs/outputs -->
syscall/src/bf_syscall_t.rs:898
↓ 6 callers
Function
bf_vm_op_unmap_direct_broadcast_impl
syscall/mocks/bf_syscall_impl.hpp:1011
↓ 6 callers
Method
bf_vs_op_advance_ip_and_run
<!-- description --> @brief Advances the IP and executes a VS given the ID of the VM, VP and VS to execute. The VS must be assigned to the provided VP
syscall/src/bf_syscall_t.rs:1306
↓ 6 callers
Function
bf_vs_op_advance_ip_and_run_current_impl
syscall/mocks/bf_syscall_impl.hpp:1307
↓ 6 callers
Function
bf_vs_op_advance_ip_and_run_impl
syscall/mocks/bf_syscall_impl.hpp:1285
↓ 6 callers
Function
bf_vs_op_run_current_impl
syscall/mocks/bf_syscall_impl.hpp:1268
↓ 6 callers
Function
bf_vs_op_run_impl
syscall/mocks/bf_syscall_impl.hpp:1246
↓ 6 callers
Function
bfdebug
* <!-- description --> * @brief Outputs a string to the console * * <!-- inputs/outputs --> * @param str the string to output */
loader/efi/include/debug.h:113
↓ 6 callers
Function
bferror_x8
* <!-- description --> * @brief Outputs a string and an 8bit hex to the console * * <!-- inputs/outputs --> * @param str the string to output
loader/efi/include/debug.h:420
↓ 6 callers
Function
dispatch_fail
<!-- description --> @brief Dispatches the fail as needed, or returns an error so that the microkernel can halt the PP. <!-- inputs/outputs --> @para
example/default/src/dispatch_fail.hpp:64
↓ 6 callers
Function
dispatch_vmexit_nmi
<!-- description --> @brief Handle NMIs. This is required by Intel. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @pa
example/default/src/x64/intel/dispatch_vmexit_nmi.hpp:51
↓ 6 callers
Function
dispatch_vmexit_nmi_window
<!-- description --> @brief Handle NMIs Windows <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param mut_sys the bf_s
example/default/src/x64/intel/dispatch_vmexit_nmi_window.hpp:51
↓ 6 callers
Function
free_mk_huge_pool
* <!-- description --> * @brief Releases a previously allocated mutable_span_t that was allocated * using the alloc_mk_huge_pool function. *
loader/src/free_mk_huge_pool.c:40
↓ 6 callers
Function
free_mk_page_pool
* <!-- description --> * @brief Releases a previously allocated mutable_span_t that was allocated * using the alloc_mk_page_pool function. *
loader/src/free_mk_page_pool.c:40
↓ 6 callers
Function
get_allocated_vmid
<!-- description --> @brief Given an input register, returns a vmid if the provided register contains a valid vmid and the VM associated with the vmid
kernel/src/dispatch_syscall_helpers.hpp:706
↓ 6 callers
Method
get_vs
<!-- description --> @brief Returns the vs_t associated with the provided vsid. <!-- inputs/outputs --> @param vsid the ID of the vs_t to get @return
example/default/src/vs_pool_t.hpp:60
↓ 6 callers
Method
get_vs
<!-- description --> @brief Returns the vs_t associated with the provided vsid. <!-- inputs/outputs --> @param vsid the ID of the vs_t to get @return
kernel/integration/support/src/vs_pool_t.hpp:60
↓ 6 callers
Method
id
<!-- description --> @brief Returns the ID of this vp_t <!-- inputs/outputs --> @return Returns the ID of this vp_t
kernel/src/vp_t.hpp:88
↓ 6 callers
Function
intrinsic_scr4
loader/tests/include/helpers.hpp:463
↓ 6 callers
Function
intrinsic_wrmsr
<!-- description --> @brief Implements intrinsic_t::wrmsr <!-- inputs/outputs --> @param msr n/a @param val n/a @return n/a
kernel/mocks/x64/intrinsic_wrmsr.hpp:42
↓ 6 callers
Function
serial_outb
* <!-- description --> * @brief Writes a byte to the requested serial port register. * * <!-- inputs/outputs --> * @param reg the serial port
loader/src/x64/serial_init.c:59
↓ 6 callers
Function
set_gdt_descriptor
* <!-- description --> * @brief Sets a GDT's descriptor given a selector into the GDT to * set and the base, limit and attribute values to set
loader/src/x64/set_gdt_descriptor.c:90
↓ 6 callers
Method
spa
<!-- description --> @brief Returns the system physical address of the RPT. <!-- inputs/outputs --> @return Returns the system physical address of th
lib/src/basic_root_page_table_t.hpp:1865
↓ 6 callers
Method
virt_to_phys
<!-- description --> @brief Converts a virtual address to a physical address. <!-- inputs/outputs --> @param virt the virtual address to convert @ret
kernel/src/huge_pool_t.hpp:71
↓ 6 callers
Function
vmexit_loop
<!-- description --> @brief Provides the main entry point for VMExits that occur after a successful launch of the hypervisor. <!-- inputs/outputs -->
kernel/src/vmexit_loop.hpp:53
↓ 6 callers
Method
vmwrfunc
<!-- description --> @brief Sets the value of requested 64 bit VMCS field (function version) <!-- inputs/outputs --> @param field the 64 bit VMCS fie
kernel/src/x64/intel/intrinsic_t.hpp:674
↓ 5 callers
Function
bf_control_op_again
<!-- description --> @brief This syscall tells the microkernel that the extension would like to try again from a fast fail callback. This syscall is a
syscall/src/bf_control_ops.rs:53
↓ 5 callers
Function
bf_debug_op_write_c
<!-- description --> @brief This syscall tells the microkernel to output a provided character to the microkernel's console. <!-- inputs/outputs --> @
syscall/src/bf_debug_ops.rs:103
↓ 5 callers
Function
bf_tls_r10_impl
syscall/mocks/bf_syscall_impl.hpp:410
↓ 5 callers
Function
bf_tls_r11_impl
syscall/mocks/bf_syscall_impl.hpp:434
↓ 5 callers
Function
bf_tls_r12_impl
syscall/mocks/bf_syscall_impl.hpp:458
↓ 5 callers
Function
bf_tls_r13_impl
syscall/mocks/bf_syscall_impl.hpp:482
↓ 5 callers
Function
bf_tls_r14_impl
syscall/mocks/bf_syscall_impl.hpp:506
↓ 5 callers
Function
bf_tls_r15_impl
syscall/mocks/bf_syscall_impl.hpp:530
↓ 5 callers
Function
bf_tls_r8_impl
syscall/mocks/bf_syscall_impl.hpp:362
↓ 5 callers
Function
bf_tls_r9_impl
syscall/mocks/bf_syscall_impl.hpp:386
↓ 5 callers
Function
bf_tls_rax_impl
syscall/mocks/bf_syscall_impl.hpp:194
← previous
next →
301–400 of 2,423, ranked by callers