Statistics
| Branch: | Revision:

root / target-alpha @ a18ad893

Name Size
STATUS 1.3 kB
cpu.h 11.9 kB
exec.h 1.3 kB
helper.c 8.8 kB
helper.h 5.3 kB
machine.c 2.4 kB
op_helper.c 28.3 kB
translate.c 100.3 kB

Latest revisions

# Date Author Comment
b758aca1 05/31/2011 08:18 pm Richard Henderson

target-alpha: Enable the alpha-softmmu target.

With all of the pre-existing code that would not compile gone,
this is the earliest point at which the target can be enabled.

There is no machine defined yet, so this will crash on startup.
Enable the target anyway, to make sure that further compilation...

07b6c13b 05/31/2011 08:18 pm Richard Henderson

target-alpha: Tidy exception constants.

There's no need to attempt to match EXCP_* values with PALcode entry
point offsets. Instead, compress all the values to make for more
efficient switch statements within QEMU.

We will be doing TLB fill within QEMU proper, not within the PALcode,...

b5f1aa64 05/31/2011 08:18 pm Richard Henderson

target-alpha: Tidy up arithmetic exceptions.

Introduce and use arith_excp, filling in the trap_arg01 IPRs.

Signed-off-by: Richard Henderson <>

2d9671d3 05/31/2011 08:18 pm Richard Henderson

target-alpha: Use do_restore_state for arithmetic exceptions.

This gets the PC right after an arithmetic exception. Also tidies
the code in the TLB fault handlers to use common code.

Signed-off-by: Richard Henderson <>

ea879fc7 05/31/2011 08:18 pm Richard Henderson

target-alpha: Add various symbolic constants.

The EXC_M_* constants were being set for the EV6, not as set for
the Unix kernel entry point.

Use PS_USER_MODE instead of hard-coding access to the PS register.

Signed-off-by: Richard Henderson <>

bba9bdce 05/31/2011 08:18 pm Richard Henderson

target-alpha: Use kernel mmu_idx for pal_mode.

Signed-off-by: Richard Henderson <>

26b46094 05/31/2011 08:18 pm Richard Henderson

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 <>

3a6fa678 05/31/2011 08:18 pm Richard Henderson

target-alpha: Implement do_interrupt for system mode.

Signed-off-by: Richard Henderson <>

21d2beaa 05/31/2011 08:18 pm Richard Henderson

target-alpha: Swap shadow registers moving to/from PALmode.

Signed-off-by: Richard Henderson <>

a18ad893 05/31/2011 08:18 pm Richard Henderson

target-alpha: All ISA checks to use TB->FLAGS.

We had two different methods in use, both of which referenced ENV,
and neither of which indicated to the generic code when different
compilation modes are not compatible.

Signed-off-by: Richard Henderson <>

View revisions

Also available in: Atom