diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-11-22 13:08:14 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-11-22 14:12:13 +0100 |
commit | 5499b6ffac490a3a44dcb97e9cebb99f0151d696 (patch) | |
tree | 5295d73c8dc5ce40ca931b97912b8ace7c7feda5 /target-mips/op_helper.c | |
parent | dd4239d6574ca41c94fc0d0f77ddc728510ffc57 (diff) |
target-mips: rename CP0_LLAddr into lladdr
The variable CP0_LLAddr represent the full lladdr, not the actual
register value, which is only part of this value and depends on the
CPU.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r-- | target-mips/op_helper.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 83734b1234..d2a81f08b4 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -730,7 +730,7 @@ target_ulong helper_mftc0_status(void) target_ulong helper_mfc0_lladdr (void) { - return (int32_t)env->CP0_LLAddr >> 4; + return (int32_t)env->lladdr >> 4; } target_ulong helper_mfc0_watchlo (uint32_t sel) @@ -795,7 +795,7 @@ target_ulong helper_dmfc0_tcschefback (void) target_ulong helper_dmfc0_lladdr (void) { - return env->CP0_LLAddr >> 4; + return env->lladdr >> 4; } target_ulong helper_dmfc0_watchlo (uint32_t sel) @@ -959,7 +959,7 @@ void helper_mtc0_tcrestart (target_ulong arg1) { env->active_tc.PC = arg1; env->active_tc.CP0_TCStatus &= ~(1 << CP0TCSt_TDS); - env->CP0_LLAddr = 0ULL; + env->lladdr = 0ULL; /* MIPS16 not implemented. */ } @@ -970,12 +970,12 @@ void helper_mttc0_tcrestart (target_ulong arg1) if (other_tc == env->current_tc) { env->active_tc.PC = arg1; env->active_tc.CP0_TCStatus &= ~(1 << CP0TCSt_TDS); - env->CP0_LLAddr = 0ULL; + env->lladdr = 0ULL; /* MIPS16 not implemented. */ } else { env->tcs[other_tc].PC = arg1; env->tcs[other_tc].CP0_TCStatus &= ~(1 << CP0TCSt_TDS); - env->CP0_LLAddr = 0ULL; + env->lladdr = 0ULL; /* MIPS16 not implemented. */ } } @@ -1702,7 +1702,7 @@ void helper_eret (void) } compute_hflags(env); debug_post_eret(); - env->CP0_LLAddr = 1; + env->lladdr = 1; } void helper_deret (void) @@ -1712,7 +1712,7 @@ void helper_deret (void) env->hflags &= MIPS_HFLAG_DM; compute_hflags(env); debug_post_eret(); - env->CP0_LLAddr = 1; + env->lladdr = 1; } #endif /* !CONFIG_USER_ONLY */ |