mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
split panic handler into hardware-specific versions
This commit is contained in:
parent
a8518f7fa1
commit
4e347c3ad6
1 changed files with 10 additions and 0 deletions
10
services/graphics-server/src/panic/mod.rs
Normal file
10
services/graphics-server/src/panic/mod.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
pub(crate) const PANIC_STD_SERVER: &'static str = "panic-to-screen!";
|
||||
|
||||
#[cfg(any(feature = "precursor", feature = "renode"))]
|
||||
mod betrusted;
|
||||
#[cfg(any(feature = "precursor", feature = "renode"))]
|
||||
pub(crate) use betrusted::*;
|
||||
#[cfg(feature = "cramium-soc")]
|
||||
mod cramium;
|
||||
#[cfg(feature = "cramium-soc")]
|
||||
pub(crate) use cramium::*;
|
||||
Loading…
Reference in a new issue