diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-09-06 03:55:40 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-09-10 16:57:38 +0000 |
commit | f0a548b93da07b6546e4f8178a93c47284a27d05 (patch) | |
tree | e8d2301c3cfeb02d2b608058994f9e77f4d8e5ad /target-xtensa/helper.c | |
parent | 8ffc2d0d97a59b25b48d023838906d5850e73184 (diff) | |
download | hqemu-f0a548b93da07b6546e4f8178a93c47284a27d05.zip hqemu-f0a548b93da07b6546e4f8178a93c47284a27d05.tar.gz |
target-xtensa: add PS register and access control
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helper.c')
-rw-r--r-- | target-xtensa/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-xtensa/helper.c b/target-xtensa/helper.c index c119fd0..83b8a04 100644 --- a/target-xtensa/helper.c +++ b/target-xtensa/helper.c @@ -37,6 +37,7 @@ void cpu_reset(CPUXtensaState *env) { env->pc = 0; + env->sregs[PS] = 0x1f; } static const XtensaConfig core_config[] = { |