target-alpha: Merge HW_REI and HW_RET implementations.
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-alpha: Rationalize internal processor registers.
Delete all the code that tried to emulate the real IPRs of someunnamed CPU. Replace those with just 3 slots that we can use tocommunicate trap information between the helper functions thatsignal exceptions and the OS trap handler....
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...
target-alpha: Tidy exception constants.
There's no need to attempt to match EXCP_* values with PALcode entrypoint offsets. Instead, compress all the values to make for moreefficient switch statements within QEMU.
We will be doing TLB fill within QEMU proper, not within the PALcode,...
target-alpha: Tidy up arithmetic exceptions.
Introduce and use arith_excp, filling in the trap_arg01 IPRs.
target-alpha: Use do_restore_state for arithmetic exceptions.
This gets the PC right after an arithmetic exception. Also tidiesthe code in the TLB fault handlers to use common code.
target-alpha: Add various symbolic constants.
The EXC_M_* constants were being set for the EV6, not as set forthe Unix kernel entry point.
Use PS_USER_MODE instead of hard-coding access to the PS register.
target-alpha: Use kernel mmu_idx for pal_mode.
target-alpha: Add IPRs to be used by the emulation PALcode.
These aren't actually used yet, but we can at least accessthem via the HW_MFPR and HW_MTPR instructions.
target-alpha: Implement do_interrupt for system mode.
View all revisions | View revisions
Also available in: Atom