xous: definitions: derive Debug on ExceptionType

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-08-06 12:35:55 +08:00
parent 9b48c0a2ee
commit 5dbf6a9964

View file

@ -40,6 +40,7 @@ pub const EC_FW_PKG_LOC: u32 = 0x07FC_E000;
pub const EC_FW_PKG_LEN: u32 = 0x0003_2000;
pub const EC_REGION_LEN: u32 = 0x0008_0000;
#[derive(Debug)]
#[repr(usize)]
pub enum ExceptionType {
InstructionAddressMisaligned = 0,