mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
target-mips: add support for CP0_Config5
Add CP0_Config5, define rw_bitmask and enable modifications. Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com> Reviewed-by: Eric Johnson <eric.johnson@imgtec.com>
This commit is contained in:
parent
b4160af160
commit
b4dd99a363
5 changed files with 40 additions and 3 deletions
|
@ -1495,6 +1495,12 @@ void helper_mtc0_config4(CPUMIPSState *env, target_ulong arg1)
|
|||
(arg1 & env->CP0_Config4_rw_bitmask);
|
||||
}
|
||||
|
||||
void helper_mtc0_config5(CPUMIPSState *env, target_ulong arg1)
|
||||
{
|
||||
env->CP0_Config5 = (env->CP0_Config5 & (~env->CP0_Config5_rw_bitmask)) |
|
||||
(arg1 & env->CP0_Config5_rw_bitmask);
|
||||
}
|
||||
|
||||
void helper_mtc0_lladdr(CPUMIPSState *env, target_ulong arg1)
|
||||
{
|
||||
target_long mask = env->CP0_LLAddr_rw_bitmask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue