mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target-xtensa: add PS register and access control
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
8ffc2d0d97
commit
f0a548b93d
3 changed files with 77 additions and 6 deletions
|
@ -37,6 +37,7 @@
|
|||
void cpu_reset(CPUXtensaState *env)
|
||||
{
|
||||
env->pc = 0;
|
||||
env->sregs[PS] = 0x1f;
|
||||
}
|
||||
|
||||
static const XtensaConfig core_config[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue