mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-xtensa: implement CPENABLE and PRID SRs
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
772177c194
commit
f3df4c04d8
3 changed files with 10 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue