aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa_sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xtensa_sample.c')
-rw-r--r--hw/xtensa_sample.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xtensa_sample.c b/hw/xtensa_sample.c
index 0aeb7c8ca8..31a6f70825 100644
--- a/hw/xtensa_sample.c
+++ b/hw/xtensa_sample.c
@@ -55,6 +55,7 @@ static void xtensa_init(ram_addr_t ram_size,
exit(1);
}
qemu_register_reset(xtensa_sample_reset, env);
+ env->sregs[PRID] = n;
}
ram = g_malloc(sizeof(*ram));