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

Function tls_initialize

example/default/mocks/tls_initialize.hpp:47–56  ·  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(sys);
53 bsl::discard(intrinsic);
54
55 return tls.test_ret;
56 }
57}
58
59#endif

Callers 6

behavior.cppFile · 0.50
requirements.cppFile · 0.50
behavior.cppFile · 0.50
requirements.cppFile · 0.50
behavior.cppFile · 0.50
requirements.cppFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected