mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6548 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
68af3f2491
commit
c2432a42fe
5 changed files with 58 additions and 14 deletions
|
@ -95,6 +95,7 @@ typedef struct tlb_t {
|
|||
|
||||
enum sh_features {
|
||||
SH_FEATURE_SH4A = 1,
|
||||
SH_FEATURE_BCR3_AND_BCR4 = 2,
|
||||
};
|
||||
|
||||
typedef struct CPUSH4State {
|
||||
|
|
|
@ -222,12 +222,14 @@ static sh4_def_t sh4_defs[] = {
|
|||
.pvr = 0x00050000,
|
||||
.prr = 0x00000100,
|
||||
.cvr = 0x00110000,
|
||||
.features = SH_FEATURE_BCR3_AND_BCR4,
|
||||
}, {
|
||||
.name = "SH7751R",
|
||||
.id = SH_CPU_SH7751R,
|
||||
.pvr = 0x04050005,
|
||||
.prr = 0x00000113,
|
||||
.cvr = 0x00110000, /* Neutered caches, should be 0x20480000 */
|
||||
.features = SH_FEATURE_BCR3_AND_BCR4,
|
||||
}, {
|
||||
.name = "SH7785",
|
||||
.id = SH_CPU_SH7785,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue