Review Board 2.0.15


x86: Fix the CPUID Long Mode Address Size function.

Review Request #2478 - Created Nov. 15, 2014 and submitted

Information
Gabe Black
gem5
default
Reviewers
Default
Changeset 10531:7334446cd610
---------------------------
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.

   
Review request changed
Updated (Nov. 17, 2014, 12:10 a.m.)

Status: Closed (submitted)