From 604e1f9cd0602e92ba49a27dd3a46db3d29f882e Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Sat, 15 Feb 2014 20:49:09 +0400 Subject: target-xtensa: provide HW confg ID registers Signed-off-by: Max Filippov --- target-xtensa/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target-xtensa/cpu.h') diff --git a/target-xtensa/cpu.h b/target-xtensa/cpu.h index 95103e9e87..1cf5ea3aff 100644 --- a/target-xtensa/cpu.h +++ b/target-xtensa/cpu.h @@ -135,9 +135,11 @@ enum { IBREAKA = 128, DBREAKA = 144, DBREAKC = 160, + CONFIGID0 = 176, EPC1 = 177, DEPC = 192, EPS2 = 194, + CONFIGID1 = 208, EXCSAVE1 = 209, CPENABLE = 224, INTSET = 226, @@ -321,6 +323,8 @@ typedef struct XtensaConfig { unsigned nibreak; unsigned ndbreak; + uint32_t configid[2]; + uint32_t clock_freq_khz; xtensa_tlb itlb; -- cgit v1.2.1