From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.7072.1657618285263341164 for ; Tue, 12 Jul 2022 02:31:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=XrwbYKjw; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: ted.kuo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657618285; x=1689154285; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=osfp29pxpEfW0+nctEOVeddO7wfNWMePmRNCbtWb/Jk=; b=XrwbYKjwmSlxNkMFqVkl8TU3pG182J7+iGvK4lXk1ZWGVXb0cDpB4q7+ uWwwD6lsfIjrK4sIWeLZyfW0PNt+KtB4ALUvdtRPYfUoRkhKw05HulGDh mMXbcfqXk1yWHflR3S9JzL9+cnj7vrTm8qtZCLfuO67WnRZT4M5T9WmEL oJHA9akdturyLEd2SCAYVgMwdwUKkyYQWEvBngWyo2JXCt6KJak4LLSIY /6I45H/GKbfwZT2cZ2XPLOVxhWtP7g/wPargQV9F7dxcfMB29rDcZg7wA VHLDYvK7YL9T4ofurqCfRenCTzZXA9Rs8YtvqZo8Yck+K0cC2yWMNYNZ1 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10405"; a="265298754" X-IronPort-AV: E=Sophos;i="5.92,265,1650956400"; d="scan'208";a="265298754" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2022 02:31:24 -0700 X-IronPort-AV: E=Sophos;i="5.92,265,1650956400"; d="scan'208";a="545360961" Received: from tedkuo1-win10.gar.corp.intel.com ([10.5.215.13]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2022 02:31:23 -0700 From: "Kuo, Ted" To: devel@edk2.groups.io Subject: [edk2-devel][PATCH v2 0/2] Update SEC_IDT_TABLE struct to reserve sufficient size in IdtTable for both IA32 and X64 Date: Tue, 12 Jul 2022 17:30:56 +0800 Message-Id: X-Mailer: git-send-email 2.35.3.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3957 The reserved IDT table size in SecCore is too small for X64. Changed the type of IdtTable in SEC_IDT_TABLE from UINT64 to IA32_IDT_GATE_DESCRIPTOR to have sufficient size reserved in IdtTable for X64. Ted Kuo (2): UefiCpuPkg: Update SEC_IDT_TABLE struct IntelFsp2Pkg: Update SEC_IDT_TABLE struct IntelFsp2Pkg/FspSecCore/SecFsp.c | 9 +++++---- IntelFsp2Pkg/FspSecCore/SecFsp.h | 2 +- IntelFsp2Pkg/FspSecCore/SecMain.c | 16 ++++++++-------- IntelFsp2Pkg/FspSecCore/SecMain.h | 4 ++-- UefiCpuPkg/SecCore/SecMain.c | 1 + UefiCpuPkg/SecCore/SecMain.h | 4 ++-- 6 files changed, 19 insertions(+), 17 deletions(-) -- 2.35.3.windows.1