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

Function tls_initialize

example/default/src/x64/intel/tls_initialize.hpp:47–57  ·  view source on GitHub ↗

<!-- description --> @brief Initializes the Thread Local Storage (TLS). <!-- inputs/outputs --> @param tls the tls_t to use @param sys the bf_syscall_t to use @param 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

45 /// and friends otherwise
46 ///
47 [[nodiscard]] constexpr auto
48 tls_initialize(
49 tls_t const &tls, syscall::bf_syscall_t const &sys, intrinsic_t const &intrinsic) noexcept
50 -> bsl::errc_type
51 {
52 bsl::discard(tls);
53 bsl::discard(sys);
54 bsl::discard(intrinsic);
55
56 return bsl::errc_success;
57 }
58}
59
60#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected