MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / initialize

Method initialize

example/default/src/vs_pool_t.hpp:93–103  ·  view source on GitHub ↗

<!-- description --> @brief Initializes this vs_pool_t <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall_t to use @param intrinsic the intrinsic_t to use

Source from the content-addressed store, hash-verified

91 /// @param intrinsic the intrinsic_t to use
92 ///
93 constexpr void
94 initialize(
95 gs_t const &gs,
96 tls_t const &tls,
97 syscall::bf_syscall_t const &sys,
98 intrinsic_t const &intrinsic) noexcept
99 {
100 for (bsl::safe_idx mut_i{}; mut_i < m_pool.size(); ++mut_i) {
101 m_pool.at_if(mut_i)->initialize(gs, tls, sys, intrinsic, bsl::to_u16(mut_i));
102 }
103 }
104
105 /// <!-- description -->
106 /// @brief Release the vs_pool_t.

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected