MCPcopy Create free account

hub / github.com/Bareflank/hypervisor / functions

Functions2,423 in github.com/Bareflank/hypervisor

↓ 11 callersFunctionbf_vm_op_tlb_flush_impl
syscall/mocks/bf_syscall_impl.hpp:1031
↓ 11 callersFunctionbf_vp_op_create_vp_impl
syscall/mocks/bf_syscall_impl.hpp:1054
↓ 11 callersMethodbf_vp_op_destroy_vp
<!-- description --> @brief This syscall tells the microkernel to destroy a VP given an ID. <!-- inputs/outputs --> @param vpid The ID of the VP to d
syscall/src/bf_syscall_t.rs:989
↓ 11 callersMethodbf_vs_op_destroy_vs
<!-- description --> @brief This syscall tells the microkernel to destroy a VS given an ID. <!-- inputs/outputs --> @param vsid The ID of the VS to d
syscall/src/bf_syscall_t.rs:1088
↓ 11 callersFunctiondispatch_syscall_bf_control_op
<!-- description --> @brief Dispatches the bf_callback_op syscalls <!-- inputs/outputs --> @param tls the current TLS block @return Returns a bf_stat
kernel/src/dispatch_syscall_bf_control_op.hpp:48
↓ 11 callersMethodfail
<!-- description --> @brief Bootstraps the extension by executing it's bootstrap entry point. If the extension has not been initialized, this function
kernel/src/ext_t.hpp:1668
↓ 11 callersMethodis_executing_fail
<!-- description --> @brief Returns true if the extension's main function is executing the fail_entry(). <!-- inputs/outputs --> @return Returns true
kernel/src/ext_t.hpp:1274
↓ 11 callersMethodis_started
<!-- description --> @brief Returns true if the extension's main function has completed it's execution. <!-- inputs/outputs --> @return Returns true
kernel/src/ext_t.hpp:1260
↓ 11 callersFunctionplatform_memcpy
* <!-- description --> * @brief Copies "num" bytes from "src" to "pmut_dst". If "src" or "pmut_dst" are * NULLPTR, returns SHIM_FAILURE, other
loader/efi/src/platform.c:231
↓ 11 callersFunctionplatform_memset
* <!-- description --> * @brief Sets "num" bytes in the memory pointed to by "ptr" to "val". * If the provided parameters are valid, returns 0
loader/efi/src/platform.c:212
↓ 11 callersMethodset_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/intrinsic_t.hpp:62
↓ 11 callersMethodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/intrinsic_t.hpp:74
↓ 11 callersMethodwrite
lib/mocks/basic_ioctl_t.hpp:217
↓ 10 callersMethodactivate
<!-- description --> @brief Sets the current root page table to this root page table. <!-- inputs/outputs --> @param mut_tls the current TLS block @p
lib/src/basic_root_page_table_t.hpp:1837
↓ 10 callersMethodadvance_ip
<!-- description --> @brief Advance the IP of the vs_t <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic the intrinsic_t to u
kernel/mocks/vs_t.hpp:503
↓ 10 callersFunctionbf_is_spec1_supported
<!-- description --> @brief n/a <!-- inputs/outputs --> @param version n/a @return n/a
syscall/include/bf_constants.rs:270
↓ 10 callersFunctionbf_syscall_index
<!-- description --> @brief n/a <!-- inputs/outputs --> @param rax n/a @return n/a
syscall/include/bf_constants.rs:233
↓ 10 callersMethodbf_tls_extid
<!-- description --> @brief Returns the value of tls.extid <!-- inputs/outputs --> @return Returns the value of tls.extid
syscall/src/bf_syscall_t.rs:544
↓ 10 callersMethodbf_tls_vpid
<!-- description --> @brief Returns the value of tls.vpid <!-- inputs/outputs --> @return Returns the value of tls.vpid
syscall/src/bf_syscall_t.rs:568
↓ 10 callersMethodbf_tls_vsid
<!-- description --> @brief Returns the value of tls.vsid <!-- inputs/outputs --> @return Returns the value of tls.vsid
syscall/src/bf_syscall_t.rs:580
↓ 10 callersFunctionbf_vm_op_destroy_vm_impl
syscall/mocks/bf_syscall_impl.hpp:935
↓ 10 callersFunctionbf_vp_op_destroy_vp_impl
syscall/mocks/bf_syscall_impl.hpp:1085
↓ 10 callersFunctionbf_vs_op_clear_impl
syscall/mocks/bf_syscall_impl.hpp:1340
↓ 10 callersFunctionbf_vs_op_destroy_vs_impl
syscall/mocks/bf_syscall_impl.hpp:1142
↓ 10 callersFunctionbf_vs_op_init_as_root_impl
syscall/mocks/bf_syscall_impl.hpp:1160
↓ 10 callersFunctionbf_vs_op_promote_impl
syscall/mocks/bf_syscall_impl.hpp:1322
↓ 10 callersFunctiondispatch_bootstrap
<!-- description --> @brief Dispatches the bootstrap process as needed. Note that the bootstrap callback is only called when starting the hypervisor o
example/default/src/dispatch_bootstrap.hpp:60
↓ 10 callersFunctiondispatch_syscall_bf_intrinsic_op
<!-- description --> @brief Dispatches the bf_intrinsic_op syscalls <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic the int
kernel/mocks/dispatch_syscall_bf_intrinsic_op.hpp:49
↓ 10 callersMethodensure_this_vs_is_loaded
<!-- description --> @brief Ensures that this VS is loaded <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsi
kernel/src/x64/intel/vs_t.hpp:459
↓ 10 callersMethodhandle
<!-- description --> @brief Returns the ID of this ext_t <!-- inputs/outputs --> @return Returns the ID of this ext_t
kernel/src/ext_t.hpp:1245
↓ 10 callersFunctionintrinsic_cpuid
loader/tests/include/helpers.hpp:382
↓ 10 callersFunctionintrinsic_cpuid_impl
example/default/mocks/x64/intrinsic_cpuid_impl.hpp:47
↓ 10 callersMethodlock
lib/src/basic_spinlock_t.hpp:124
↓ 10 callersMethodmigrate
<!-- description --> @brief Migrates this vs_t from one PP to another <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic the i
kernel/mocks/vs_t.hpp:286
↓ 10 callersFunctionreport_syscall_unknown_unsupported
<!-- description --> @brief Tells the user that the syscall is unknown or is not supported by this hypervisor. <!-- inputs/outputs --> @param tls the
kernel/src/dispatch_syscall_helpers.hpp:1240
↓ 10 callersMethodrun
<!-- description --> @brief Runs the vs_t. Note that this function does not return until a VMExit occurs. Once complete, this function will return the
kernel/mocks/vs_t.hpp:472
↓ 10 callersMethodset_tls_reg
<!-- description --> @brief Sets the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to set @param val the valu
kernel/mocks/x64/intrinsic_t.hpp:116
↓ 10 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
lib/tests/src/basic_page_pool_t/behavior.cpp:83
↓ 10 callersMethodview
<!-- description --> @brief Returns a pointer to the read-only mapped file. <!-- inputs/outputs --> @return Returns a pointer to the read-only mapped
lib/mocks/basic_ifmap_t.hpp:123
↓ 10 callersMethodvmexit
<!-- description --> @brief Bootstraps the extension by executing it's bootstrap entry point. If the extension has not been initialized, this function
kernel/src/ext_t.hpp:1633
↓ 9 callersFunctionalloc_and_copy_mk_state
* <!-- description --> * @brief The function's main purpose is to set up the state for the * microkernel. * * <!-- inputs/outputs --> * @
loader/tests/src/alloc_and_copy_mk_state.c:48
↓ 9 callersFunctionbf_debug_op_dump_vmexit_log_impl
syscall/mocks/bf_syscall_impl.hpp:764
↓ 9 callersFunctionbf_handle_op_close_handle_impl
syscall/mocks/bf_syscall_impl.hpp:690
↓ 9 callersMethodbf_intrinsic_op_wrmsr
<!-- description --> @brief Writes to an MSR directly from the CPU given the address of the MSR to write as well as the value to write. Note that this
syscall/src/bf_syscall_t.rs:1666
↓ 9 callersFunctionbf_mem_op_alloc_huge_impl
syscall/mocks/bf_syscall_impl.hpp:1555
↓ 9 callersFunctionbf_mem_op_alloc_page_impl
syscall/mocks/bf_syscall_impl.hpp:1518
↓ 9 callersMethodbf_tls_set_r10
<!-- description --> @brief Sets the value of tls.r10 <!-- inputs/outputs --> @param val The value to set tls.r10 to
syscall/src/bf_syscall_t.rs:406
↓ 9 callersMethodbf_tls_set_r11
<!-- description --> @brief Sets the value of tls.r11 <!-- inputs/outputs --> @param val The value to set tls.r11 to
syscall/src/bf_syscall_t.rs:431
↓ 9 callersMethodbf_tls_set_r12
<!-- description --> @brief Sets the value of tls.r12 <!-- inputs/outputs --> @param val The value to set tls.r12 to
syscall/src/bf_syscall_t.rs:456
↓ 9 callersMethodbf_tls_set_r13
<!-- description --> @brief Sets the value of tls.r13 <!-- inputs/outputs --> @param val The value to set tls.r13 to
syscall/src/bf_syscall_t.rs:481
↓ 9 callersMethodbf_tls_set_r14
<!-- description --> @brief Sets the value of tls.r14 <!-- inputs/outputs --> @param val The value to set tls.r14 to
syscall/src/bf_syscall_t.rs:506
↓ 9 callersMethodbf_tls_set_r15
<!-- description --> @brief Sets the value of tls.r15 <!-- inputs/outputs --> @param val The value to set tls.r15 to
syscall/src/bf_syscall_t.rs:531
↓ 9 callersMethodbf_tls_set_r8
<!-- description --> @brief Sets the value of tls.r8 <!-- inputs/outputs --> @param val The value to set tls.r8 to
syscall/src/bf_syscall_t.rs:356
↓ 9 callersMethodbf_tls_set_r9
<!-- description --> @brief Sets the value of tls.r9 <!-- inputs/outputs --> @param val The value to set tls.r9 to
syscall/src/bf_syscall_t.rs:381
↓ 9 callersMethodbf_tls_set_rbp
<!-- description --> @brief Sets the value of tls.rbp <!-- inputs/outputs --> @param val The value to set tls.rbp to
syscall/src/bf_syscall_t.rs:281
↓ 9 callersMethodbf_tls_set_rdi
<!-- description --> @brief Sets the value of tls.rdi <!-- inputs/outputs --> @param val The value to set tls.rdi to
syscall/src/bf_syscall_t.rs:331
↓ 9 callersMethodbf_tls_set_rsi
<!-- description --> @brief Sets the value of tls.rsi <!-- inputs/outputs --> @param val The value to set tls.rsi to
syscall/src/bf_syscall_t.rs:306
↓ 9 callersMethodbf_vs_op_promote
<!-- description --> @brief This syscall tells the microkernel to promote the requested VS. This will stop the hypervisor complete on the physical pro
syscall/src/bf_syscall_t.rs:1384
↓ 9 callersMethodbf_vs_op_run
<!-- description --> @brief Executes a VS given the ID of the VM, VP and VS to execute. The VS must be assigned to the provided VP and the provided VP
syscall/src/bf_syscall_t.rs:1230
↓ 9 callersMethoddeallocate
lib/mocks/basic_page_pool_t.hpp:240
↓ 9 callersMethodget_vp
<!-- description --> @brief Returns the vp_t associated with the provided vpid. <!-- inputs/outputs --> @param vpid the ID of the vp_t to get @return
kernel/src/vp_pool_t.hpp:62
↓ 9 callersMethodid
<!-- description --> @brief Returns the ID of this vm_t <!-- inputs/outputs --> @return Returns the ID of this vm_t
kernel/mocks/vm_t.hpp:100
↓ 9 callersMethodis_handle_valid
<!-- description --> @brief Returns true if provided handle is valid <!-- inputs/outputs --> @param hndl the handle to verify @return Returns true if
kernel/src/ext_t.hpp:1232
↓ 9 callersMethodis_inactive
<!-- description --> @brief Returns false if this RPT is the active RPT. <!-- inputs/outputs --> @param tls the current TLS block @return Returns fal
lib/src/basic_root_page_table_t.hpp:1853
↓ 9 callersMethodis_initialized
<!-- description --> @brief Returns true if this RPT is initialized. <!-- inputs/outputs --> @return Returns true if this RPT is initialized.
lib/src/basic_root_page_table_t.hpp:1824
↓ 9 callersMethodread
lib/mocks/basic_ioctl_t.hpp:188
↓ 9 callersMethodsend
<!-- description --> @brief Sends a request to the driver without read or writing data. <!-- inputs/outputs --> @param req the request @return Return
lib/mocks/basic_ioctl_t.hpp:162
↓ 9 callersMethodset_bootstrap_ip
<!-- description --> @brief Sets the bootstrap IP for this extension. This should be called by the syscall dispatcher as the result of a syscall from
kernel/src/ext_t.hpp:1127
↓ 9 callersMethodset_fail_ip
<!-- description --> @brief Sets the fast fail IP for this extension. This should be called by the syscall dispatcher as the result of a syscall from
kernel/src/ext_t.hpp:1189
↓ 9 callersMethodset_vmexit_ip
<!-- description --> @brief Sets the VMExit IP for this extension. This should be called by the syscall dispatcher as the result of a syscall from the
kernel/src/ext_t.hpp:1158
↓ 9 callersMethodsignal_vm_active
<!-- description --> @brief Tells the extension that the requested VM was set to active and therefore it's memory map should change on this PP. <!--
kernel/src/ext_t.hpp:1550
↓ 9 callersMethodsignal_vm_destroyed
<!-- description --> @brief Tells the extension that a VM was destroyed so that it can release it's VM specific resources. <!-- inputs/outputs --> @p
kernel/src/ext_t.hpp:1531
↓ 9 callersMethodvmrun
<!-- description --> @brief Executes the VMRun instruction. When this function returns a "VMExit" has occurred and must be handled. <!-- inputs/outpu
kernel/src/x64/amd/intrinsic_t.hpp:201
↓ 9 callersMethodvp_assigned_to_vm
<!-- description --> @brief If the requested VM is assigned to a vp_t in the pool, the ID of the first vp_t found is returned. Otherwise, this functio
kernel/src/vp_pool_t.hpp:263
↓ 9 callersMethodvs_assigned_to_vp
<!-- description --> @brief If the requested VP 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:389
↓ 8 callersMethodadd
<!-- description --> @brief Adds a record in the VMExit log <!-- inputs/outputs --> @param ppid the id of the PP whose log should be added to @param
kernel/mocks/vmexit_log_t.hpp:52
↓ 8 callersMethodadd_tables
<!-- description --> @brief Given a root page table, the enties are aliased into this root page table, allowing software using this root page table to
lib/src/basic_root_page_table_t.hpp:2215
↓ 8 callersFunctionbf_debug_op_dump_vm
<!-- description --> @brief This syscall tells the microkernel to output the state of a VM to the console device the microkernel is currently using fo
syscall/src/bf_debug_ops.rs:48
↓ 8 callersFunctionbf_debug_op_dump_vp
<!-- description --> @brief This syscall tells the microkernel to output the state of a VP to the console device the microkernel is currently using fo
syscall/src/bf_debug_ops.rs:62
↓ 8 callersFunctionbf_intrinsic_op_rdmsr_impl
syscall/mocks/bf_syscall_impl.hpp:1455
↓ 8 callersFunctionbf_vm_op_create_vm_impl
syscall/mocks/bf_syscall_impl.hpp:907
↓ 8 callersMethodbf_vm_op_destroy_vm
<!-- description --> @brief This syscall tells the microkernel to destroy a VM given an ID. <!-- inputs/outputs --> @param vmid The ID of the VM to d
syscall/src/bf_syscall_t.rs:732
↓ 8 callersMethodbf_vs_op_migrate
<!-- description --> @brief Migrates a VS to the provided PP. The VS must not be active. <!-- inputs/outputs --> @param vsid The ID of the VS to migr
syscall/src/bf_syscall_t.rs:1453
↓ 8 callersFunctionbfdebug_d32
* <!-- description --> * @brief Outputs a string and an 32bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output
loader/efi/include/debug.h:320
↓ 8 callersMethodbootstrap_ip
<!-- description --> @brief Returns the bootstrap IP for this extension. <!-- inputs/outputs --> @return Returns the bootstrap IP for this extension.
kernel/src/ext_t.hpp:1111
↓ 8 callersFunctioncreate_args
<!-- description --> @brief Creates and returns a loader::mk_args_t for testing <!-- inputs/outputs --> @return Creates and returns a loader::mk_args
kernel/tests/src/mk_main_t/behavior.cpp:100
↓ 8 callersFunctioncreate_tls
<!-- description --> @brief Creates and returns a tls_t for testing <!-- inputs/outputs --> @return Creates and returns a tls_t for testing
kernel/tests/src/mk_main_t/behavior.cpp:78
↓ 8 callersFunctionget_gdt_descriptor_attrib
* <!-- description --> * @brief Sets a GDT descriptor's attrib given a GDT and a selector into * the provided GDT. * * <!-- inputs/outputs -
loader/src/x64/get_gdt_descriptor_attrib.c:51
↓ 8 callersFunctionget_gdt_descriptor_base
* <!-- description --> * @brief Sets a GDT descriptor's base given a GDT and a selector into * the provided GDT. * * <!-- inputs/outputs -->
loader/src/x64/get_gdt_descriptor_base.c:62
↓ 8 callersFunctionget_gdt_descriptor_limit
* <!-- description --> * @brief Sets a GDT descriptor's limit given a GDT and a selector into * the provided GDT. * * <!-- inputs/outputs --
loader/src/x64/get_gdt_descriptor_limit.c:58
↓ 8 callersMethodget_segment_descriptor
<!-- description --> @brief Stores the ES segment info in the VS to the provided state save. <!-- inputs/outputs --> @param intrinsic the intrinsic_t
kernel/src/x64/intel/vs_t.hpp:277
↓ 8 callersMethodget_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/src/vm_pool_t.hpp:64
↓ 8 callersMethodget_vp
<!-- description --> @brief Returns the vp_t associated with the provided vpid. <!-- inputs/outputs --> @param vpid the ID of the vp_t to get @return
kernel/mocks/vp_pool_t.hpp:59
↓ 8 callersMethodgpa
<!-- description --> @brief Returns the GPA associated with the file <!-- inputs/outputs --> @return Returns the GPA associated with the file
lib/mocks/basic_ifmap_t.hpp:196
↓ 8 callersFunctiongs_initialize
<!-- description --> @brief Initializes the Global Storage (GS). <!-- inputs/outputs --> @param gs the gs_t to use @param sys the bf_syscall_t to use
example/default/mocks/gs_initialize.hpp:47
↓ 8 callersMethodid
<!-- description --> @brief Returns the ID of this vs_t <!-- inputs/outputs --> @return Returns the ID of this vs_t
example/default/src/x64/amd/vs_t.hpp:116
↓ 8 callersMethodid
<!-- description --> @brief Returns the ID of this VsT <!-- inputs/outputs --> @return Returns the ID of this VsT
example/default_rust/src/x64/amd/vs_t.rs:108
↓ 8 callersFunctioninitialize_pool
<!-- description --> @brief Sets up the mut_pool. Note that this similar to how the loader would set up the pool, but not the same. The loader's pages
lib/tests/src/basic_page_pool_t/behavior.cpp:63
↓ 8 callersMethodis_vs_a_root_vs
<!-- description --> @brief Returns true if the provided VSID is the ID of a root VS. Returns false otherwise. This is the same as vsid == sys.bf_tls_
syscall/src/bf_syscall_t.rs:665
↓ 8 callersMethodread_write
lib/mocks/basic_ioctl_t.hpp:265
← previousnext →201–300 of 2,423, ranked by callers