mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/microblaze: Split out EDR from env->sregs
Finish eliminating the sregs array in favor of individual members. Does not correct the width of EDR, yet. Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6fbf78f24a
commit
af20a93acb
4 changed files with 12 additions and 19 deletions
|
@ -1038,9 +1038,12 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUMBState *env
|
|||
(*regs)[pos++] = tswapreg(env->regs[i]);
|
||||
}
|
||||
|
||||
for (i = 0; i < 6; i++) {
|
||||
(*regs)[pos++] = tswapreg(env->sregs[i]);
|
||||
}
|
||||
(*regs)[pos++] = tswapreg(env->pc);
|
||||
(*regs)[pos++] = tswapreg(env->msr);
|
||||
(*regs)[pos++] = 0;
|
||||
(*regs)[pos++] = tswapreg(env->ear);
|
||||
(*regs)[pos++] = 0;
|
||||
(*regs)[pos++] = tswapreg(env->esr);
|
||||
}
|
||||
|
||||
#endif /* TARGET_MICROBLAZE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue