summaryrefslogtreecommitdiff
path: root/tests/long
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2014-11-16 23:12:42 -0800
committerGabe Black <gabeblack@google.com>2014-11-16 23:12:42 -0800
commitd228db1143f3302af27cae477473a6489b19c565 (patch)
treeb401ea904615e8d2b76acca74c195ebc97037da3 /tests/long
parent27b7b9e561000ce7712e6d7a28102b711cefa8a2 (diff)
downloadgem5-d228db1143f3302af27cae477473a6489b19c565.tar.xz
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.
Diffstat (limited to 'tests/long')
0 files changed, 0 insertions, 0 deletions