mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
i386: Implement EBL_CR_POWERON MSR for Xbox CPU
This commit is contained in:
parent
a8d8ef5484
commit
8707d2aa26
@ -378,6 +378,7 @@ typedef enum X86Seg {
|
||||
#define MSR_IA32_APICBASE_ENABLE (1<<11)
|
||||
#define MSR_IA32_APICBASE_EXTD (1 << 10)
|
||||
#define MSR_IA32_APICBASE_BASE (0xfffffU<<12)
|
||||
#define MSR_IA32_EBL_CR_POWERON 0x2a
|
||||
#define MSR_IA32_FEATURE_CONTROL 0x0000003a
|
||||
#define MSR_TSC_ADJUST 0x0000003b
|
||||
#define MSR_IA32_SPEC_CTRL 0x48
|
||||
|
@ -428,6 +428,11 @@ void helper_rdmsr(CPUX86State *env)
|
||||
val = 0;
|
||||
}
|
||||
break;
|
||||
#ifdef XBOX
|
||||
case MSR_IA32_EBL_CR_POWERON:
|
||||
val = 0xc5040000;
|
||||
break;
|
||||
#endif
|
||||
case MSR_MCG_CAP:
|
||||
val = env->mcg_cap;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user