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

Method initialize

example/default_rust/src/vs_pool_t.rs:74–84  ·  view source on GitHub ↗

<!-- description --> @brief Initializes this vp_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

(
        &mut self,
        gs: &crate::GsT,
        tls: &crate::TlsT,
        sys: &syscall::BfSyscallT,
        intrinsic: &crate::IntrinsicT,
    )

Source from the content-addressed store, hash-verified

72 /// @param intrinsic the intrinsic_t to use
73 ///
74 pub fn initialize(
75 &mut self,
76 gs: &crate::GsT,
77 tls: &crate::TlsT,
78 sys: &syscall::BfSyscallT,
79 intrinsic: &crate::IntrinsicT,
80 ) {
81 for i in 0..self.m_pool.len() {
82 self.m_pool[i].initialize(gs, tls, sys, intrinsic, bsl::to_u16(i));
83 }
84 }
85
86 /// <!-- description -->
87 /// @brief Release the vp_pool_t.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected