1 //! Implementations for various ARM architectures. 2 3 use crate::arch::Arch; 4 5 pub mod reg; 6 7 /// Implements `Arch` for ARMv4T 8 pub enum Armv4t {} 9 10 impl Arch for Armv4t { 11 type Usize = u32; 12 type Registers = reg::ArmCoreRegs; 13 type RegId = reg::id::ArmCoreRegId; 14 target_description_xml() -> Option<&'static str>15 fn target_description_xml() -> Option<&'static str> { 16 Some(r#"<target version="1.0"><architecture>armv4t</architecture></target>"#) 17 } 18 } 19