Statistics
| Branch: | Revision:

root / target-alpha @ 26b46094

Name Size
STATUS 1.3 kB
cpu.h 11.1 kB
exec.h 1.3 kB
helper.c 5.3 kB
helper.h 5.3 kB
machine.c 2.4 kB
op_helper.c 28.2 kB
translate.c 99.5 kB

Latest revisions

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

target-alpha: Cleanup MMU modes.

Don't bother including executive and supervisor modes.

Signed-off-by: Richard Henderson <>

508b43ea 05/31/2011 08:18 pm Richard Henderson

target-alpha: Merge HW_REI and HW_RET implementations.

Signed-off-by: Richard Henderson <>

129d8aa5 05/31/2011 08:18 pm Richard Henderson

target-alpha: Rationalize internal processor registers.

Delete all the code that tried to emulate the real IPRs of some
unnamed CPU. Replace those with just 3 slots that we can use to
communicate trap information between the helper functions that
signal exceptions and the OS trap handler....

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

View revisions

Also available in: Atom