microblaze: Add missing cpu_reset.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
b4d34d5e9b
commit
be5e834986
|
@ -48,6 +48,8 @@ struct
|
||||||
static void main_cpu_reset(void *opaque)
|
static void main_cpu_reset(void *opaque)
|
||||||
{
|
{
|
||||||
CPUState *env = opaque;
|
CPUState *env = opaque;
|
||||||
|
|
||||||
|
cpu_reset(env);
|
||||||
env->regs[5] = boot_info.cmdline;
|
env->regs[5] = boot_info.cmdline;
|
||||||
env->regs[7] = boot_info.fdt;
|
env->regs[7] = boot_info.fdt;
|
||||||
env->sregs[SR_PC] = boot_info.bootstrap_pc;
|
env->sregs[SR_PC] = boot_info.bootstrap_pc;
|
||||||
|
|
Reference in New Issue