mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
12 lines
219 B
Rust
12 lines
219 B
Rust
/// This function is where the kernel sets up IRQ handlers
|
|
/// It is increcibly unsafe, and should be minimal in nature
|
|
|
|
extern {
|
|
fn kmain() -> !;
|
|
}
|
|
|
|
#[no_mangle]
|
|
pub unsafe extern fn kstart() -> ! {
|
|
kmain();
|
|
}
|