Revision 18559232
b/target-i386/cpu.h | ||
---|---|---|
687 | 687 |
|
688 | 688 |
uint64_t pat; |
689 | 689 |
|
690 |
uint64_t mcg_status; |
|
691 |
|
|
690 | 692 |
/* exception/interrupt handling */ |
691 | 693 |
int error_code; |
692 | 694 |
int exception_is_int; |
... | ... | |
741 | 743 |
struct DeviceState *apic_state; |
742 | 744 |
|
743 | 745 |
uint64_t mcg_cap; |
744 |
uint64_t mcg_status; |
|
745 | 746 |
uint64_t mcg_ctl; |
746 | 747 |
uint64_t mce_banks[MCE_BANKS_DEF*4]; |
747 | 748 |
|
b/target-i386/helper.c | ||
---|---|---|
101 | 101 |
env->dr[7] = DR7_FIXED_1; |
102 | 102 |
cpu_breakpoint_remove_all(env, BP_CPU); |
103 | 103 |
cpu_watchpoint_remove_all(env, BP_CPU); |
104 |
|
|
105 |
env->mcg_status = 0; |
|
106 | 104 |
} |
107 | 105 |
|
108 | 106 |
void cpu_x86_close(CPUX86State *env) |
Also available in: Unified diff