MCPcopy Create free account

hub / github.com/Bareflank/hypervisor / functions

Functions2,423 in github.com/Bareflank/hypervisor

Functionsend_command_stop
* <!-- description --> * @brief Tells the hypervisor to stop * * <!-- inputs/outputs --> * @return LOADER_SUCCESS on success, LOADER_FAILURE o
loader/tests/src/send_command_stop.c:38
Functionserial_init
* <!-- description --> * @brief Initializes the serial port for use */
loader/src/arm/aarch64/serial_init.c:31
Functionserial_write
<!-- description --> @brief Outputs a string to the serial port. <!-- inputs/outputs --> @param str the string to output @param len the total number
kernel/mocks/serial_write.hpp:41
Methodset_active
<!-- description --> @brief Sets this vm_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vm_t.hpp:185
Methodset_active
<!-- description --> @brief Sets this vs_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t t
kernel/mocks/vs_t.hpp:214
Methodset_active
<!-- description --> @brief Sets the requested vm_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of the
kernel/mocks/vm_pool_t.hpp:194
Methodset_active
<!-- description --> @brief Sets the requested vs_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intri
kernel/mocks/vs_pool_t.hpp:203
Methodset_active
<!-- description --> @brief Sets the requested vp_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of the
kernel/mocks/vp_pool_t.hpp:182
Methodset_active
<!-- description --> @brief Sets this vp_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vp_t.hpp:158
Methodset_active
<!-- description --> @brief Sets the requested vm_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of the
kernel/src/vm_pool_t.hpp:200
Methodset_active
<!-- description --> @brief Sets the requested vs_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the i
kernel/src/vs_pool_t.hpp:208
Methodset_active
<!-- description --> @brief Sets the requested vp_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of the
kernel/src/vp_pool_t.hpp:185
Methodset_active
<!-- description --> @brief Sets this vp_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/src/vp_t.hpp:159
Methodset_active
<!-- description --> @brief Sets this vs_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the intrinsic
kernel/src/x64/amd/vs_t.hpp:393
Methodset_active
<!-- description --> @brief Sets this vs_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the intrinsic
kernel/src/x64/intel/vs_t.hpp:754
Methodset_allocate_fails
<!-- description --> @brief Tells the allocate() function to return a failure for the provided vmid. <!-- inputs/outputs --> @param vmid the ID of th
example/default/mocks/vp_pool_t.hpp:122
Methodset_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/mocks/ext_t.hpp:211
Methodset_extension_fail_sp
<!-- description --> @brief Sets the extension stack pointer given a TLS block, based on what PP we are currently executing on. <!-- inputs/outputs -
kernel/src/mk_main_t.hpp:218
Methodset_extension_sp
<!-- description --> @brief Sets the extension stack pointer given a TLS block, based on what PP we are currently executing on. <!-- inputs/outputs -
kernel/src/mk_main_t.hpp:147
Methodset_extension_tp
<!-- description --> @brief Sets the extension TLS pointer given a TLS block, based on what PP we are currently executing on. <!-- inputs/outputs -->
kernel/src/mk_main_t.hpp:289
Methodset_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/mocks/ext_t.hpp:273
Methodset_gpa
<!-- description --> @brief Sets the GPA associated with the file <!-- inputs/outputs --> @param gpa the GPA to associate with this file
lib/src/windows/basic_ifmap_t.hpp:337
Methodset_gpa
<!-- description --> @brief Sets the GPA associated with the file <!-- inputs/outputs --> @param val the GPA to associate with this file
lib/src/linux/basic_ifmap_t.hpp:312
Methodset_inactive
<!-- description --> @brief Sets this vm_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vm_t.hpp:204
Methodset_inactive
<!-- description --> @brief Sets this vs_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t
kernel/mocks/vs_t.hpp:233
Methodset_inactive
<!-- description --> @brief Sets the requested vm_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of th
kernel/mocks/vm_pool_t.hpp:207
Methodset_inactive
<!-- description --> @brief Sets the requested vs_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the int
kernel/mocks/vs_pool_t.hpp:217
Methodset_inactive
<!-- description --> @brief Sets the requested vp_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of th
kernel/mocks/vp_pool_t.hpp:195
Methodset_inactive
<!-- description --> @brief Sets this vp_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vp_t.hpp:174
Methodset_inactive
<!-- description --> @brief Sets the requested vm_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of th
kernel/src/vm_pool_t.hpp:213
Methodset_inactive
<!-- description --> @brief Sets the requested vs_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the int
kernel/src/vs_pool_t.hpp:222
Methodset_inactive
<!-- description --> @brief Sets the requested vp_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of th
kernel/src/vp_pool_t.hpp:198
Methodset_inactive
<!-- description --> @brief Sets this vp_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/src/vp_t.hpp:175
Methodset_inactive
<!-- description --> @brief Sets this vs_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t
kernel/src/x64/amd/vs_t.hpp:426
Methodset_inactive
<!-- description --> @brief Sets this vs_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t
kernel/src/x64/intel/vs_t.hpp:787
Methodset_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/x64/intrinsic_t.hpp:78
Methodset_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/x64/amd/intrinsic_t.hpp:78
Methodset_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/x64/intel/intrinsic_t.hpp:210
Methodset_rpt
<!-- description --> @brief Sets the RPT pointer <!-- inputs/outputs --> @param val the value to set the RPT pointer to
kernel/src/x64/amd/intrinsic_t.hpp:93
Methodset_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/src/x64/intel/intrinsic_t.hpp:248
Functionset_store
lib/mocks/basic_ioctl_helpers.hpp:68
Methodset_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/amd/intrinsic_t.hpp:116
Methodset_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/intel/intrinsic_t.hpp:248
Methodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/x64/intrinsic_t.hpp:90
Methodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/x64/amd/intrinsic_t.hpp:90
Methodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/x64/intel/intrinsic_t.hpp:222
Methodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/src/x64/intel/intrinsic_t.hpp:261
Methodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/src/arm/aarch64/intrinsic_t.hpp:68
Methodset_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/mocks/ext_t.hpp:242
Functionsetup_cr0
* <!-- description --> * @brief Ensures that CR0 is set up properly. */
loader/efi/src/x64/intel/setup_cr0.c:42
Functionsetup_cr4
* <!-- description --> * @brief Ensures that CR4 is set up properly. */
loader/efi/src/x64/intel/setup_cr4.c:45
Methodsignal_vm_active
<!-- description --> @brief Tells the extensions that the requested VM was set to active and therefore it's memory map should change on this PP. <!--
kernel/mocks/ext_pool_t.hpp:152
Methodsignal_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/mocks/ext_t.hpp:516
Methodsignal_vm_active
<!-- description --> @brief Tells the extensions that the requested VM was set to active and therefore it's memory map should change on this PP. <!--
kernel/src/ext_pool_t.hpp:196
Methodsignal_vm_created
<!-- description --> @brief Tells each extension that a VM was created so that it can initialize it's VM specific resources. <!-- inputs/outputs -->
kernel/mocks/ext_pool_t.hpp:114
Methodsignal_vm_created
<!-- description --> @brief Tells the extension that a VM was created so that it can initialize it's VM specific resources. <!-- inputs/outputs --> @
kernel/mocks/ext_t.hpp:478
Methodsignal_vm_created
<!-- description --> @brief Tells each extension that a VM was created so that it can initialize it's VM specific resources. <!-- inputs/outputs -->
kernel/src/ext_pool_t.hpp:151
Methodsignal_vm_destroyed
<!-- description --> @brief Tells each extension that a VM was destroyed so that it can release it's VM specific resources. <!-- inputs/outputs --> @
kernel/mocks/ext_pool_t.hpp:134
Methodsignal_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/mocks/ext_t.hpp:498
Methodsignal_vm_destroyed
<!-- description --> @brief Tells each extension that a VM was destroyed so that it can release it's VM specific resources. <!-- inputs/outputs --> @
kernel/src/ext_pool_t.hpp:178
Methodsize
<!-- description --> @brief Returns the number of bytes in the file being mapped. <!-- inputs/outputs --> @return Returns the number of bytes in the
lib/src/windows/basic_ifmap_t.hpp:313
Methodsize
<!-- description --> @brief Returns the number of elements in the queue <!-- inputs/outputs --> @return Returns the number of elements in the queue
lib/include/basic_queue_t.hpp:180
Methodsize_to_page_aligned_bytes
<!-- description --> @brief Returns "size" as a "page_aligned_bytes_t" <!-- inputs/outputs --> @param size the number of bytes to convert @return Ret
kernel/src/ext_t.hpp:165
Methodspa
<!-- description --> @brief Returns the system physical address of the RPT. <!-- inputs/outputs --> @return Returns the system physical address of th
lib/mocks/basic_root_page_table_t.hpp:356
Methodss_selector
<!-- description --> @brief Returns the value of SS <!-- inputs/outputs --> @return Returns the value of SS
kernel/mocks/x64/intel/intrinsic_t.hpp:114
Methodstart
Run invocation and collect output.
utils/iwyu_tool.py:307
Methodstart
<!-- description --> @brief Starts this ext_pool_t by calling all of the extension's _start entry points. <!-- inputs/outputs --> @param tls the curr
kernel/mocks/ext_pool_t.hpp:171
Methodstart
<!-- description --> @brief Starts the extension by executing it's _start entry point. If the extension has not been initialized, this function will r
kernel/mocks/ext_t.hpp:536
Methodstart
<!-- description --> @brief Starts this ext_pool_t by calling all of the extension's _start entry points. <!-- inputs/outputs --> @param mut_tls the
kernel/src/ext_pool_t.hpp:215
Methodstate_save_to_vs
<!-- description --> @brief Stores the provided state in the requested vs_t <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic
kernel/mocks/vs_pool_t.hpp:410
Methodstate_save_to_vs
<!-- description --> @brief Stores the provided state in the requested vs_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_i
kernel/src/vs_pool_t.hpp:415
Methodstate_save_to_vs
<!-- description --> @brief Stores the provided state in the vs_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic t
kernel/src/x64/intel/vs_t.hpp:918
Functionstdio_out_char
<!-- description --> @brief Output a character to stdout <!-- inputs/outputs --> @param c the character to output
kernel/src/bsl/cstdio.hpp:53
Functionstdio_out_cstr
<!-- description --> @brief Output a string to stdout <!-- inputs/outputs --> @param str the string to output @param len the total number of bytes to
kernel/src/bsl/cstdio.hpp:71
Functionstdlib_fast_fail
<!-- description --> @brief Immediately the application with a failure
kernel/src/bsl/cstdlib.hpp:39
Functiontest_bf_is_page_aligned
()
syscall/include/bf_constants.rs:46
Functiontest_bf_is_spec1_supported
()
syscall/include/bf_constants.rs:277
Functiontest_bf_page_aligned
()
syscall/include/bf_constants.rs:66
Functiontest_bf_syscall_flags
()
syscall/include/bf_constants.rs:177
Functiontest_bf_syscall_index
()
syscall/include/bf_constants.rs:240
Functiontest_bf_syscall_opcode
()
syscall/include/bf_constants.rs:198
Functiontest_bf_syscall_opcode_nosig
()
syscall/include/bf_constants.rs:219
Functiontest_bf_syscall_sig
()
syscall/include/bf_constants.rs:156
Functiontest_func
loader/tests/src/test_platform.cpp:44
Functionthread_func
<!-- description --> @brief Used to test to make sure that threads have to wait
lib/tests/src/basic_spinlock_t/behavior.cpp:53
Methodtlb_flush
<!-- description --> @brief Loops through every VS, and flushes any TLB entries associated with a VS that is assigned to the provided VM and the curre
kernel/mocks/vs_pool_t.hpp:554
Methodtlb_flush
<!-- description --> @brief Invalidates TLB entries given an address. <!-- inputs/outputs --> @param addr the address to invalidate. @param ignored n
kernel/mocks/intrinsic_t.hpp:49
Methodtlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and an ASID. If the ASID is set to 0, an extension address is invalidated. If the
kernel/mocks/x64/intrinsic_t.hpp:62
Methodtlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and an ASID. If the ASID is set to 0, an extension address is invalidated. If the
kernel/mocks/x64/amd/intrinsic_t.hpp:62
Methodtlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and a VPID. If the VPID is set to BF_INVALID_ID, an extension address is invalida
kernel/mocks/x64/intel/intrinsic_t.hpp:76
Methodtlb_flush
<!-- description --> @brief Loops through every VS, and flushes any TLB entries associated with a VS that is assigned to the provided VM and the curre
kernel/src/vs_pool_t.hpp:550
Methodtlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and an ASID. If the ASID is set to 0, an extension address is invalidated. If the
kernel/src/x64/amd/intrinsic_t.hpp:67
Methodtlb_flush
<!-- description --> @brief Flushes any TLB entries associated with this VS on the current PP. <!-- inputs/outputs --> @param mut_tls the current TLS
kernel/src/x64/intel/vs_t.hpp:3646
Methodtlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and a VPID. If the VPID is set to BF_INVALID_ID, an extension address is invalida
kernel/src/x64/intel/intrinsic_t.hpp:94
Functiontls_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/src/x64/intel/tls_initialize.hpp:47
Functiontls_initialize
@copyright Copyright (C) 2020 Assured Information Security, Inc. @copyright Permission is hereby granted, free of charge, to any person obtaining a c
example/default_rust/src/x64/intel/tls_initialize.rs:35
Functiontls_initialize
<!-- description --> @brief Initializes the Thread Local Storage (TLS). <!-- inputs/outputs --> @param tls the tls_t to use @param sys the bf_syscall
kernel/integration/support/src/x64/intel/tls_initialize.hpp:47
Methodtls_reg
<!-- description --> @brief Returns the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to get @return Returns
kernel/mocks/x64/amd/intrinsic_t.hpp:103
Methodtls_reg
<!-- description --> @brief Returns the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to get @return Returns
kernel/mocks/x64/intel/intrinsic_t.hpp:235
Methodtp
<!-- description --> @brief Returns the value of tp (TLS pointer) <!-- inputs/outputs --> @return Returns the value of tp (TLS pointer)
kernel/src/arm/aarch64/intrinsic_t.hpp:52
← previousnext →2,201–2,300 of 2,423, ranked by callers