summaryrefslogtreecommitdiff
path: root/target-xtensa/cpu.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-02-15 20:49:09 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-02-24 04:47:02 +0400
commit604e1f9cd0602e92ba49a27dd3a46db3d29f882e (patch)
treea2bc2892e64249c7b84bcedb1480c3491e73fbd8 /target-xtensa/cpu.h
parent676056d4f1598f3f368da26fdc43371e8ab3a7fb (diff)
downloadqemu-604e1f9cd0602e92ba49a27dd3a46db3d29f882e.tar.gz
target-xtensa: provide HW confg ID registers
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/cpu.h')
-rw-r--r--target-xtensa/cpu.h4
1 files changed, 4 insertions, 0 deletions
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;