Revision 3c1adf12 target-sh4/helper.c
b/target-sh4/helper.c | ||
---|---|---|
60 | 60 |
return addr; |
61 | 61 |
} |
62 | 62 |
|
63 |
int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr) |
|
64 |
{ |
|
65 |
/* For user mode, only U0 area is cachable. */ |
|
66 |
return !!(addr & 0x80000000); |
|
67 |
} |
|
68 |
|
|
63 | 69 |
#else /* !CONFIG_USER_ONLY */ |
64 | 70 |
|
65 | 71 |
#define MMU_OK 0 |
Also available in: Unified diff