You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
281 B
Rust
10 lines
281 B
Rust
2 years ago
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||
|
//
|
||
|
// Copyright (c) 2019-2022 Andre Richter <andre.o.richter@gmail.com>
|
||
|
|
||
|
/// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version.
|
||
|
#[no_mangle]
|
||
|
fn _panic_exit() -> ! {
|
||
|
libkernel::cpu::qemu_exit_success()
|
||
|
}
|