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

Method start

kernel/src/ext_pool_t.hpp:215–229  ·  view source on GitHub ↗

<!-- description --> @brief Starts this ext_pool_t by calling all of the extension's _start entry points. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the intrinsic_t to use @return Returns bsl::errc_success on success, bsl::errc_failure and friends otherwise

Source from the content-addressed store, hash-verified

213 /// and friends otherwise
214 ///
215 [[nodiscard]] constexpr auto
216 start(tls_t &mut_tls, intrinsic_t &mut_intrinsic) noexcept -> bsl::errc_type
217 {
218 for (auto &mut_ext : m_pool) {
219 auto const ret{mut_ext.start(mut_tls, mut_intrinsic)};
220 if (bsl::unlikely(!ret)) {
221 bsl::print<bsl::V>() << bsl::here();
222 return ret;
223 }
224
225 bsl::touch();
226 }
227
228 return bsl::errc_success;
229 }
230
231 /// <!-- description -->
232 /// @brief Bootstraps this ext_pool_t by calling all of the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected