mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
target-alpha: Reduce internal processor registers for user-mode.
The existing set of IPRs is totally irrelevant to user-mode emulation. Indeed, they most are irrelevant to implementing kernel-mode emulation, and would only be relevant to PAL-mode emulation, which I suspect that no one will ever attempt. Reducing the set of processor registers reduces the size of the CPU state. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
8443effb50
commit
dad081ee69
3 changed files with 34 additions and 21 deletions
|
@ -193,6 +193,11 @@ enum {
|
|||
/* Internal processor registers */
|
||||
/* XXX: TOFIX: most of those registers are implementation dependant */
|
||||
enum {
|
||||
#if defined(CONFIG_USER_ONLY)
|
||||
IPR_EXC_ADDR,
|
||||
IPR_EXC_SUM,
|
||||
IPR_EXC_MASK,
|
||||
#else
|
||||
/* Ebox IPRs */
|
||||
IPR_CC = 0xC0, /* 21264 */
|
||||
IPR_CC_CTL = 0xC1, /* 21264 */
|
||||
|
@ -306,6 +311,7 @@ enum {
|
|||
IPR_VPTB,
|
||||
IPR_WHAMI,
|
||||
IPR_ALT_MODE,
|
||||
#endif
|
||||
IPR_LAST,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue