target-sh4: add prefi, icbi, synco

(Vladimir Prus)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6013 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aurel32 2008-12-13 18:57:37 +00:00
parent a9c43f8ede
commit 71968fa65b
2 changed files with 27 additions and 0 deletions

View file

@ -89,6 +89,10 @@ typedef struct tlb_t {
#define NB_MMU_MODES 2
enum sh_features {
SH_FEATURE_SH4A = 1,
};
typedef struct CPUSH4State {
int id; /* CPU model */
@ -113,6 +117,9 @@ typedef struct CPUSH4State {
/* float point status register */
float_status fp_status;
/* The features that we should emulate. See sh_features above. */
uint32_t features;
/* Those belong to the specific unit (SH7750) but are handled here */
uint32_t mmucr; /* MMU control register */
uint32_t pteh; /* page table entry high register */