Added in the IprAccessOp flag for priveleged and hyperpriveleged instructions.
--HG-- extra : convert_revision : a53297d595e5efd094a5978f4d3afde2c603d109
This commit is contained in:
parent
5cc0306691
commit
4b855592eb
1 changed files with 2 additions and 2 deletions
|
@ -121,13 +121,13 @@ def format Priv(code, *opt_flags) {{
|
|||
((xc->readMiscReg(HprStart + MISCREG_HPSTATE))<2:2>)'''
|
||||
(header_output, decoder_output,
|
||||
exec_output, decode_block) = doPrivFormat(code,
|
||||
checkCode, name, Name, opt_flags)
|
||||
checkCode, name, Name, opt_flags + ('IprAccessOp',))
|
||||
}};
|
||||
|
||||
def format HPriv(code, *opt_flags) {{
|
||||
checkCode = "((xc->readMiscReg(HprStart + MISCREG_HPSTATE))<2:2>)"
|
||||
(header_output, decoder_output,
|
||||
exec_output, decode_block) = doPrivFormat(code,
|
||||
checkCode, name, Name, opt_flags)
|
||||
checkCode, name, Name, opt_flags + ('IprAccessOp',))
|
||||
}};
|
||||
|
||||
|
|
Loading…
Reference in a new issue