mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-24 08:53:12 +03:00
Add special purpose registers to the definition of 'RegisterInfo'
This commit is contained in:
parent
171cc0d5ca
commit
2ec88811c5
@ -111,8 +111,10 @@ ppcRegs :: forall w ppc
|
||||
. (w ~ MC.RegAddrWidth (PPCReg ppc), 1 <= w)
|
||||
=> [Some (PPCReg ppc)]
|
||||
ppcRegs = concat [ gprs
|
||||
, sprs
|
||||
]
|
||||
where
|
||||
sprs = [ Some PPC_IP, Some PPC_LNK, Some PPC_CTR, Some PPC_CR ]
|
||||
gprs = [ Some (PPC_GP (D.GPR rnum))
|
||||
| rnum <- [0..31]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user