Skip to content
Snippets Groups Projects
Commit d424f02f authored by Sarangdhar Joshi's avatar Sarangdhar Joshi
Browse files

lrdpv2: Fix coreX_regs.cmm for non register fields

T32 simulator gives an error for non register fields.
Avoid printing such fields in coreX_regs.cmm.

Change-Id: I25ba227365c782b5a90302214b0ce6ee2a296f16
parent 9c96bce4
No related branches found
No related tags found
No related merge requests found
......@@ -685,6 +685,8 @@ class TZCpuCtx_v2():
print_out_str(' {0:8} = 0x{1:016x}'.format(
reg_name, self.regs[reg_name]))
if t32_name is not None:
if reg_name.startswith('cpu_state_'):
continue
outfile.write(
'r.s {0} 0x{1:x}\n'.format(t32_name, self.regs[reg_name]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment