From 0e65df2cf5877ba4e07274e6bc9d515f84582dcf Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 22 Feb 2022 23:43:14 -0800 Subject: [PATCH] arch-x86: Respect LDT and TR bases in long mode. The LDT and TR bases *are* respected in 64 bit mode, so the base values need to be set as specified. Change-Id: Ieb1b58511d9651e6e59be199059b9d2b8c670472 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/57049 Maintainer: Gabe Black Tested-by: kokoro Reviewed-by: Bobby Bruce Maintainer: Bobby Bruce --- src/arch/x86/fs_workload.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/arch/x86/fs_workload.cc b/src/arch/x86/fs_workload.cc index dd71222254..90df69805e 100644 --- a/src/arch/x86/fs_workload.cc +++ b/src/arch/x86/fs_workload.cc @@ -66,9 +66,7 @@ installSegDesc(ThreadContext *tc, SegmentRegIndex seg, SegDescriptor desc, bool longmode) { bool honorBase = !longmode || seg == SEGMENT_REG_FS || - seg == SEGMENT_REG_GS || - seg == SEGMENT_REG_TSL || - seg == SYS_SEGMENT_REG_TR; + seg == SEGMENT_REG_GS; SegAttr attr = 0;