[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] MTRR support on x86, part 2
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] MTRR support on x86, part 2 |
Date: |
Thu, 29 Jan 2009 18:27:07 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080922) |
Anthony Liguori schrieb:
> Carl-Daniel Hailfinger wrote:
>> Load and save MTRR state together with machine state.
>>
>> Add support for the MTRRcap MSR which is used by the latest Bochs BIOS
>> and some operating systems.
>>
>> Fix a typo in ext2_feature_name.
>>
>> With this patch, MTRR emulation should be good enough to not trigger any
>> sanity checks in well behaved BIOS/kernel code.
>> Some corner cases for BIOS/firmware usage remain to be implemented, but
>> that can be deferred to another patch.
>> Also, MTRR accesses on hardware not supporting MTRRs should cause #GP.
>> That can be enforced by another patch as well.
>>
>> Signed-off-by: Carl-Daniel Hailfinger <address@hidden>
>>
>> Index: target-i386/helper.c
>> ===================================================================
>> --- target-i386/helper.c (Revision 6461)
>> +++ target-i386/helper.c (Arbeitskopie)
>> @@ -55,7 +55,7 @@
>> };
>> static const char *ext2_feature_name[] = {
>> "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
>> - "cx8" /* AMD CMPXCHG8B */, "apic", NULL, "syscall", "mttr",
>> "pge", "mca", "cmov",
>> + "cx8" /* AMD CMPXCHG8B */, "apic", NULL, "syscall", "mtrr",
>> "pge", "mca", "cmov",
>>
>
> As best as I can tell, there is no change here. I removed it from the
> diff and applied the rest.
The change seems to be s/mttr/mtrr/
Kevin