Searched hist:10539 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/arch/x86/
H A Dcpuid.ccdiff 10539:cd107abe79dd Mon Nov 17 02:12:00 EST 2014 Gabe Black <gabeblack@google.com> x86: Fix the CPUID Long Mode Address Size function.

The value in EAX has an 8 bit field for the linear address size and one for
the physical address size when calling that function. A recent change
implemented it but returned 0xff for both of those fields. That implies that
linear and physical addresses are 255 bits wide which is wrong. When using the
KVM CPU model this causes an error, presumably because some of those bits are
actually reserved, or the CPU or kernel realizes 255 bits is a bad value.

This change makes those values 48.

Completed in 8 milliseconds