Adding CPSR register for arm qemu (#800)
This commit is contained in:
parent
30f143cd3d
commit
d2427fd8a6
@ -24,6 +24,7 @@ pub enum Regs {
|
|||||||
R13 = 13,
|
R13 = 13,
|
||||||
R14 = 14,
|
R14 = 14,
|
||||||
R15 = 15,
|
R15 = 15,
|
||||||
|
R25 = 25,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// alias registers
|
/// alias registers
|
||||||
@ -36,6 +37,7 @@ impl Regs {
|
|||||||
pub const Sl: Regs = Regs::R10;
|
pub const Sl: Regs = Regs::R10;
|
||||||
pub const Fp: Regs = Regs::R11;
|
pub const Fp: Regs = Regs::R11;
|
||||||
pub const Ip: Regs = Regs::R12;
|
pub const Ip: Regs = Regs::R12;
|
||||||
|
pub const Cpsr: Regs = Regs::R25;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "python")]
|
#[cfg(feature = "python")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user