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
262 B
Rust
10 lines
262 B
Rust
3 years ago
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||
|
//
|
||
|
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
|
||
|
|
||
|
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
|
||
|
#[no_mangle]
|
||
|
fn _panic_exit() -> ! {
|
||
|
libkernel::cpu::wait_forever()
|
||
|
}
|