Function simics::api::simulator::control::_quit

source ·
fn _quit(exit_code: i32)
Expand description

Quit simics and exit with a code

Quit Simics in an orderly fashion. The Simics process will return the value exit_code. See the Core_Clean_At_Exit and Core_At_Exit haps for ways to run user code when Simics exits. Callbacks for the Core_Clean_At_Exit hap will only run if quit is called from Global Context, while Core_At_Exit is always called.

§Context

Cell Context