diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-09-06 03:55:50 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-09-10 16:57:39 +0000 |
commit | f3df4c04d83b7f2f319ca8025c895b74aa7eab8d (patch) | |
tree | ae035b60c86981ad0fe9b5513c083c23dd0eab55 /hw | |
parent | 772177c194e5ea113945a9b5c15a6ab47bb84006 (diff) |
target-xtensa: implement CPENABLE and PRID SRs
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xtensa_sample.c | 1 |
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)); |