correctly set sh4 VERSION register

This commit is contained in:
Anthony Pesch 2017-10-28 17:42:18 -04:00
parent d6df193e60
commit 86d7b2a452
2 changed files with 17 additions and 18 deletions

View File

@ -118,7 +118,6 @@
#define SH4_UTLB_END 0xf7ffffff
#define SH4_REG2_BEGIN 0xfc000000
#define SH4_REG2_END 0xffffffff
/* clang-format on */
uint32_t sh4_area0_read(struct sh4 *sh4, uint32_t addr, uint32_t mask);

View File

@ -10,7 +10,7 @@ SH4_REG(0xff00001c, CCR, 0x00000000, union ccr)
SH4_REG(0xff000020, TRA, 0x00000000, uint32_t)
SH4_REG(0xff000024, EXPEVT, 0x00000000, uint32_t)
SH4_REG(0xff000028, INTEVT, 0x00000000, uint32_t)
SH4_REG(0xff000030, VERSION, 0x00000000, uint32_t)
SH4_REG(0xff000030, VERSION, 0x040205c1, uint32_t)
SH4_REG(0xff000034, PTEA, 0x00000000, uint32_t)
SH4_REG(0xff000038, QACR0, 0x00000000, uint32_t)
SH4_REG(0xff00003c, QACR1, 0x00000000, uint32_t)