From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web08.39644.1656315805164350899 for ; Mon, 27 Jun 2022 00:43:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=J97l+C5/; spf=pass (domain: intel.com, ip: 134.134.136.126, 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=1656315805; x=1687851805; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=DnHg3Me4yr/uDjBazqSrmjrM+fWqtc1MlrCJkAGoAwM=; b=J97l+C5/GPQsZucEAhhBxnih3KLJnZxtL0sP9upVveQItiF4dzEh3Lu8 Uo+zZTD1LJcftkCRxcSYFnOe3Tz+W3D6XkpTevVLbYmndbVjdLzhEE4Vb ifOROMXeiRRDgQu7zeZuj/b7244LxmtB6ttLkdbb3EW76KsOgAO3RH/F5 RjTES/t2BFtjiSmuE0eudO5u5X5hMs4Ca2ws0d+iD32YPjhACHYQZ6xQJ gU8mtmjev7MKn350elowbsZD7Qu7M4MvuvVGAtNS3DybDvNUwiEK60G+6 WS3KCfgeTMhEkmxjrGAzKk+KZRdzEguXCBptV437XsuxMaraC1eBqTuSY Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10390"; a="264430811" X-IronPort-AV: E=Sophos;i="5.92,225,1650956400"; d="scan'208";a="264430811" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2022 00:43:24 -0700 X-IronPort-AV: E=Sophos;i="5.92,225,1650956400"; d="scan'208";a="540022943" 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; 27 Jun 2022 00:43:23 -0700 From: "Kuo, Ted" To: devel@edk2.groups.io Subject: [edk2-devel][PATCH v1 0/2] Update SEC_IDT_TABLE struct to reserve sufficient size in IdtTable for both IA32 and X64 Date: Mon, 27 Jun 2022 15:42:57 +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/SecMain.c | 19 ++++++++++--------- IntelFsp2Pkg/FspSecCore/SecMain.h | 4 ++-- UefiCpuPkg/SecCore/SecMain.c | 1 + UefiCpuPkg/SecCore/SecMain.h | 4 ++-- 4 files changed, 15 insertions(+), 13 deletions(-) -- 2.26.2.windows.1