<!-- description --> @brief Dispatches the bootstrap process as needed. Note that the bootstrap callback is only called when starting the hypervisor on root VPs. <!-- 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 @param vp_pool the vp_pool_t to use @param vs_pool the vs_pool_t to use @param ppid
| 56 | /// and friends otherwise |
| 57 | /// |
| 58 | [[nodiscard]] static constexpr auto |
| 59 | dispatch_bootstrap( |
| 60 | gs_t const &gs, |
| 61 | tls_t const &tls, |
| 62 | syscall::bf_syscall_t const &sys, |
| 63 | intrinsic_t const &intrinsic, |
| 64 | vp_pool_t const &vp_pool, |
| 65 | vs_pool_t const &vs_pool, |
| 66 | bsl::safe_u16 const &ppid) noexcept -> bsl::errc_type |
| 67 | { |
| 68 | bsl::expects(ppid.is_valid_and_checked()); |
| 69 | bsl::expects(ppid != syscall::BF_INVALID_ID); |
| 70 | |
| 71 | bsl::discard(gs); |
| 72 | bsl::discard(sys); |
| 73 | bsl::discard(intrinsic); |
| 74 | bsl::discard(vp_pool); |
| 75 | bsl::discard(vs_pool); |
| 76 | |
| 77 | return tls.test_ret; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected