mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
kernel: irq: fix build
We were missing some packages when building on riscv. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
b78a71c495
commit
9af28d0a90
1 changed files with 1 additions and 1 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
use crate::arch;
|
use crate::arch;
|
||||||
// use crate::services::SystemServices;
|
|
||||||
use xous_kernel::{MemoryAddress, PID};
|
use xous_kernel::{MemoryAddress, PID};
|
||||||
|
|
||||||
static mut IRQ_HANDLERS: [Option<(PID, MemoryAddress, Option<MemoryAddress>)>; 32] = [None; 32];
|
static mut IRQ_HANDLERS: [Option<(PID, MemoryAddress, Option<MemoryAddress>)>; 32] = [None; 32];
|
||||||
|
|
||||||
#[cfg(baremetal)]
|
#[cfg(baremetal)]
|
||||||
pub fn handle(irqs_pending: usize) -> Result<xous_kernel::Result, xous_kernel::Error> {
|
pub fn handle(irqs_pending: usize) -> Result<xous_kernel::Result, xous_kernel::Error> {
|
||||||
|
use crate::services::SystemServices;
|
||||||
// Unsafe is required here because we're accessing a static
|
// Unsafe is required here because we're accessing a static
|
||||||
// mutable value, and it could be modified from various threads.
|
// mutable value, and it could be modified from various threads.
|
||||||
// However, this is fine because this is run from an IRQ context
|
// However, this is fine because this is run from an IRQ context
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue