mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
target/microblaze: Move pvr regs to MicroBlazeCPUConfig
These values are constant, and are derived from the other configuration knobs. Move them into MicroBlazeCPUConfig to emphasize that they are not variable. 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
a0b2d16a09
commit
a4bcfc3380
7 changed files with 54 additions and 60 deletions
|
@ -200,9 +200,9 @@ petalogix_ml605_init(MachineState *machine)
|
|||
}
|
||||
|
||||
/* setup PVR to match kernel settings */
|
||||
cpu->env.pvr.regs[4] = 0xc56b8000;
|
||||
cpu->env.pvr.regs[5] = 0xc56be000;
|
||||
cpu->env.pvr.regs[10] = 0x0e000000; /* virtex 6 */
|
||||
cpu->cfg.pvr_regs[4] = 0xc56b8000;
|
||||
cpu->cfg.pvr_regs[5] = 0xc56be000;
|
||||
cpu->cfg.pvr_regs[10] = 0x0e000000; /* virtex 6 */
|
||||
|
||||
microblaze_load_kernel(cpu, MEMORY_BASEADDR, ram_size,
|
||||
machine->initrd_filename,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue