mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 18:25:28 +00:00
target-i386: Fill high bits of mtrr mask
Fill the bits between 51..number-of-physical-address-bits in the MTRR_PHYSMASKn variable range mtrr masks so that they're consistent in the migration stream irrespective of the physical address space of the source VM in a migration. Backports commit fcc35e7ccaed771790940524f3b0eef7aebfc9b1 from qemu
This commit is contained in:
parent
78254267ff
commit
54851f7d74
|
@ -1188,6 +1188,9 @@ typedef struct X86CPU {
|
|||
/* Number of physical address bits supported */
|
||||
uint32_t phys_bits;
|
||||
|
||||
/* if true fill the top bits of the MTRR_PHYSMASKn variable range */
|
||||
bool fill_mtrr_mask;
|
||||
|
||||
/* in order to simplify APIC support, we leave this pointer to the
|
||||
user */
|
||||
struct DeviceState *apic_state;
|
||||
|
|
Loading…
Reference in a new issue