diff options
author | Richard Henderson <rth@twiddle.net> | 2011-05-23 12:12:29 -0700 |
---|---|---|
committer | Richard Henderson <rth@anchor.twiddle.net> | 2011-05-31 10:18:05 -0700 |
commit | 26b46094478a347e65d3b1cbdb60f069d259a965 (patch) | |
tree | 50206e3753cc67967e14dcbce2efb470fb2a69fe /target-alpha/machine.c | |
parent | bba9bdcee8d4acc4e5f243f40d015a5a30493faa (diff) |
target-alpha: Add IPRs to be used by the emulation PALcode.
These aren't actually used yet, but we can at least access
them via the HW_MFPR and HW_MTPR instructions.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/machine.c')
-rw-r--r-- | target-alpha/machine.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target-alpha/machine.c b/target-alpha/machine.c index ed9bf65fcd..76d70d9b35 100644 --- a/target-alpha/machine.c +++ b/target-alpha/machine.c @@ -47,11 +47,24 @@ static VMStateField vmstate_cpu_fields[] = { VMSTATE_UINT8(ps, CPUState), VMSTATE_UINT8(intr_flag, CPUState), VMSTATE_UINT8(pal_mode, CPUState), + VMSTATE_UINT8(fen, CPUState), + + VMSTATE_UINT32(pcc_ofs, CPUState), VMSTATE_UINTTL(trap_arg0, CPUState), VMSTATE_UINTTL(trap_arg1, CPUState), VMSTATE_UINTTL(trap_arg2, CPUState), + VMSTATE_UINTTL(exc_addr, CPUState), + VMSTATE_UINTTL(palbr, CPUState), + VMSTATE_UINTTL(ptbr, CPUState), + VMSTATE_UINTTL(vptptr, CPUState), + VMSTATE_UINTTL(sysval, CPUState), + VMSTATE_UINTTL(usp, CPUState), + + VMSTATE_UINTTL_ARRAY(shadow, CPUState, 8), + VMSTATE_UINTTL_ARRAY(scratch, CPUState, 24), + VMSTATE_END_OF_LIST() }; |