diff options
author | Veres Lajos <vlajos@gmail.com> | 2015-09-08 22:45:14 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-09-11 10:45:43 +0300 |
commit | 67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45 (patch) | |
tree | 86bc6be6682ce785667cef755e1b630e317ad696 /target-sh4 | |
parent | 33b23b4b5e15923acaf315b01a535c15b239483b (diff) | |
download | qemu-67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45.zip qemu-67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45.tar.gz qemu-67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45.tar.bz2 |
typofixes - v4
Signed-off-by: Veres Lajos <vlajos@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index dc101cb..eaececd 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -59,7 +59,7 @@ int superh_cpu_handle_mmu_fault(CPUState *cs, vaddr address, int rw, int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr) { - /* For user mode, only U0 area is cachable. */ + /* For user mode, only U0 area is cacheable. */ return !(addr & 0x80000000); } @@ -825,11 +825,11 @@ int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr) /* check area */ if (env->sr & (1u << SR_MD)) { - /* For previledged mode, P2 and P4 area is not cachable. */ + /* For privileged mode, P2 and P4 area is not cacheable. */ if ((0xA0000000 <= addr && addr < 0xC0000000) || 0xE0000000 <= addr) return 0; } else { - /* For user mode, only U0 area is cachable. */ + /* For user mode, only U0 area is cacheable. */ if (0x80000000 <= addr) return 0; } |