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

Function bootstrap_entry

kernel/integration/bf_vs_op_run.cpp:107–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 /// @param ppid0 the physical process to bootstrap
106 ///
107 extern "C" void
108 bootstrap_entry(bsl::safe_u16::value_type const ppid0) noexcept
109 {
110 bsl::discard(ppid0);
111
112 /// NOTE:
113 /// - The kernel uses set_active to implement all of the run ABIs.
114 /// The only difference with run is that it executes return_to_mk
115 /// which makes it really difficult to integration test (not
116 /// impossible, but a very small ROI for sure).
117 ///
118 /// - For this reason, please see the set_active integration test
119 /// as this is able to test a much larger number of situations,
120 /// all of which apply to all of the run ABIs as well.
121 ///
122
123 bsl::debug() << "success. remaining backtrace is expected\n" << bsl::here();
124 return bf_control_op_exit();
125 }
126
127 /// <!-- description -->
128 /// @brief Implements the fast fail entry function. This is registered

Callers

nothing calls this directly

Calls 1

bf_control_op_exitFunction · 0.50

Tested by

no test coverage detected