mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: use IRQ 0 for UART
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
5f4ee01a0d
commit
a00151b4de
1 changed files with 2 additions and 2 deletions
|
|
@ -76,8 +76,8 @@ pub extern "C" fn init(arg_offset: *const u32, init_offset: *const u32, rpt_offs
|
||||||
});
|
});
|
||||||
println!("KMAIN: Supervisor mode started...");
|
println!("KMAIN: Supervisor mode started...");
|
||||||
debug::SUPERVISOR_UART.enable_rx();
|
debug::SUPERVISOR_UART.enable_rx();
|
||||||
println!("Claiming IRQ 3 via syscall...");
|
println!("Claiming IRQ 0 via syscall...");
|
||||||
xous_kernel::claim_interrupt(3, debug::irq, 0 as *mut usize).expect("Couldn't claim interrupt 3");
|
xous_kernel::claim_interrupt(0, debug::irq, 0 as *mut usize).expect("Couldn't claim interrupt 0");
|
||||||
print!("}} ");
|
print!("}} ");
|
||||||
|
|
||||||
// Print the processed kernel arguments
|
// Print the processed kernel arguments
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue