From nobody Thu May 16 23:05:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+106234+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106234+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1687316132; cv=none; d=zohomail.com; s=zohoarc; b=fCc78uTjLFCKXpO+NhdhkmwmPmQ8fOO+vHYFdXcrC2HHbDqYUaAPBB7sZ+360IMfkhm9ebAi0G+CjIo1J1gYGvHNnKMO1xiFCuuxIQKZ7KjAEOIBaXZQ64hYqdF5RpLyBBgcXChFRUFJVTkr0E6A+gjE0zvGL0WByZYBs5/sXdw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1687316132; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=SLfjCkNJnBISDyU+QmK1d0HhxQ65YxZtVZXhFsrcbFg=; b=b931YAnoU/sxl0EyMmdKOl+UEgQmmnEclWHrO/D1LYSu65JykvGb3Mayi1l+kB1dNk0803XmlIa4rLi/40rMvDfvb36hqSVt7FTGRCjnD+rLlAlatTBFr1Y5fwkTOLy5+ZINZk7mSqL8kovY+HE8504d4hiw8lZRizbAjwqX1As= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106234+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 16873161328681016.2696369866926; Tue, 20 Jun 2023 19:55:32 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id P9O7YY1788612xSvJW80gsMs; Tue, 20 Jun 2023 19:55:32 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.1388.1687316131057653458 for ; Tue, 20 Jun 2023 19:55:31 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="349777308" X-IronPort-AV: E=Sophos;i="6.00,259,1681196400"; d="scan'208";a="349777308" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 19:55:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="827253392" X-IronPort-AV: E=Sophos;i="6.00,259,1681196400"; d="scan'208";a="827253392" X-Received: from shwdeopenlab706.ccr.corp.intel.com ([10.239.55.95]) by fmsmga002.fm.intel.com with ESMTP; 20 Jun 2023 19:55:29 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Eric Dong , Rahul Kumar , Gerd Hoffmann Subject: [edk2-devel] [PATCH v2 1/3] UefiCpuPkg: Include ResetVector in DSC Date: Wed, 21 Jun 2023 10:55:20 +0800 Message-Id: <20230621025522.641-2-ray.ni@intel.com> In-Reply-To: <20230621025522.641-1-ray.ni@intel.com> References: <20230621025522.641-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ray.ni@intel.com X-Gm-Message-State: 4yoQUc0lyoAtWov9nvMNEnpOx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1687316132; bh=ysmQmoMxOS0VKDJVhXFoydJbXTabnsEh8aNdqCVYK3Y=; h=Cc:Date:From:Reply-To:Subject:To; b=EKV1MtWzDgeEq28oGUY83AGBiL9xbq2mqJJR4hYVvGTNoL26RiySDLNWW+kkwqQ8mC+ oWQ1jLUSomm6GscXSINt0nXRKDPyEhtqKlHs70qBQs6d2riCLPPQEFRTl++CvYQ0GGc/H ot2ZIyFyg0a7TzCkd6hzkapnqlGKVjSTvQA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1687316133953100006 Content-Type: text/plain; charset="utf-8" Since ResetVector source module shares the same GUID as the binary module, the binary INF file is just removed from DSC. Signed-off-by: Ray Ni Cc: Eric Dong Cc: Rahul Kumar Acked-by: Gerd Hoffmann --- UefiCpuPkg/UefiCpuPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 593c11cc74..7af1c83424 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -1,7 +1,7 @@ ## @file # UefiCpuPkg Package # -# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2023, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -168,7 +168,7 @@ SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeature= sLibStm.inf } UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf - UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf + UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/PeiCpuExceptionHandle= rLibUnitTest.inf --=20 2.39.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106234): https://edk2.groups.io/g/devel/message/106234 Mute This Topic: https://groups.io/mt/99669681/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076= /xyzzy [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu May 16 23:05:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+106236+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106236+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1687316139; cv=none; d=zohomail.com; s=zohoarc; b=R2crXzsu416FIRoO4kgcI8DFrB0h41fV0cV9VdREkM6+GxOFWmetp4ewOcyuBp0IEHGlx2pI3TbCs/ht/2O71aeUyIL4y+Joro5+eI14eOhkdJTbO1Qf3R0hdjzkTIRuFq3OIYmh2/CstxK73ggHd5/A+o+dUKMNXvsme+8L278= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1687316139; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=M0uxE7QuVgZ65K3C2BIGlWcChTd7q7v1hNOLNlYR3Ng=; b=lxD6Ji5GZgW3Gzwvc76Gn6YbWHWJcUTTdCKIigohcu5orqqM9eQITEy9y5PxxpORF1lIzXoIelaPZFaLW31S9BLg27dHFxyUqHlkS5aGBZTmad5yz0IsOQLYJYHVQ56aLm0K03GO03DbuI43yu+x/DyrWSPqxziRZNBM/qtXVNI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106236+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1687316139210808.61123633223; Tue, 20 Jun 2023 19:55:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 41gxYY1788612xkLWToluXr9; Tue, 20 Jun 2023 19:55:38 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.1392.1687316138004998774 for ; Tue, 20 Jun 2023 19:55:38 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="349777323" X-IronPort-AV: E=Sophos;i="6.00,259,1681196400"; d="scan'208";a="349777323" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 19:55:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="827253404" X-IronPort-AV: E=Sophos;i="6.00,259,1681196400"; d="scan'208";a="827253404" X-Received: from shwdeopenlab706.ccr.corp.intel.com ([10.239.55.95]) by fmsmga002.fm.intel.com with ESMTP; 20 Jun 2023 19:55:30 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Eric Dong , Rahul Kumar , Gerd Hoffmann Subject: [edk2-devel] [PATCH v2 2/3] UefiCpuPkg/ResetVector: Add guidance of FDF ffs rule Date: Wed, 21 Jun 2023 10:55:21 +0800 Message-Id: <20230621025522.641-3-ray.ni@intel.com> In-Reply-To: <20230621025522.641-1-ray.ni@intel.com> References: <20230621025522.641-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ray.ni@intel.com X-Gm-Message-State: xltv5k4wWydPzxmIrxejq8drx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1687316138; bh=gtlSX0igh6xbuFzb5r3Ihw/2e/sGq87m23p47Ipep5Y=; h=Cc:Date:From:Reply-To:Subject:To; b=Et1DOQIbpij+WmeHEu5PrK97D8HxhY3YkFeLZCnTlCZLoOziAOTI5RIdDCVbIDXRWdl oE+b5AuU30HmoXe/vRy5v5SNCGR9jYi4mCkfO0L5vsI676Afte+/bKGsbYnGynI3YiW3o Fe6cwHQq8Hg4StimZ7/0TPWfWOjHgpikKWU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1687316140162100001 Content-Type: text/plain; charset="utf-8" ResetVector assembly implementation puts "ALIGN 16" in the end to guarantee the final executable file size is multiple of 16 bytes. Because the module uses a special GUID which guarantees it's put in the very end of a FV, which should be also the end of the FD. All of these (file size is multiple of 16B, and the module is put at end of FV, FV is put at end of FD) guarantee the "JMP xxx" instruction is at FFFF_FFF0h. This patch updates INF file and ReadMe.txt to add guidance of FDF ffs rule for the ResetVector. Signed-off-by: Ray Ni Cc: Eric Dong Cc: Rahul Kumar Cc: Gerd Hoffmann Acked-by: Gerd Hoffmann --- UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt | 27 +++++++------------------- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 19 +++++++++++++++++- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt b/UefiCpuPkg/ResetVecto= r/Vtf0/ReadMe.txt index 97f4600968..4fcb15c3b1 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt +++ b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt @@ -1,15 +1,16 @@ =20 =3D=3D=3D HOW TO USE VTF0 =3D=3D=3D +Add this line to your DSC [Components.IA32] or [Components.X64] section: + UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf =20 Add this line to your FDF FV section: -INF RuleOverride=3DRESET_VECTOR USE =3D IA32 UefiCpuPkg/ResetVector/Vtf0/= Bin/ResetVector.inf -(For X64 SEC/PEI change IA32 to X64 =3D> 'USE =3D X64') + INF RuleOverride=3DRESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/ResetVector= .inf =20 In your FDF FFS file rules sections add: -[Rule.Common.SEC.RESET_VECTOR] - FILE RAW =3D $(NAMED_GUID) { - RAW RAW |.raw - } + [Rule.Common.SEC.RESET_VECTOR] + FILE RAW =3D $(NAMED_GUID) { + RAW BIN |.bin + } =20 =3D=3D=3D VTF0 Boot Flow =3D=3D=3D =20 @@ -25,17 +26,3 @@ All inputs to SEC image are register based: EAX/RAX - Initial value of the EAX register (BIST: Built-in Self Test) DI - 'BP': boot-strap processor, or 'AP': application processor EBP/RBP - Pointer to the start of the Boot Firmware Volume - -=3D=3D=3D HOW TO BUILD VTF0 =3D=3D=3D - -Dependencies: -* Python 3 or newer -* Nasm 2.03 or newer - -To rebuild the VTF0 binaries: -1. Change to VTF0 source dir: UefiCpuPkg/ResetVector/Vtf0 -2. nasm and python should be in executable path -3. Run this command: - python Build.py -4. Binaries output will be in UefiCpuPkg/ResetVector/Vtf0/Bin - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/= Vtf0/Vtf0.inf index 9922cb2755..03d92d937f 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -1,7 +1,24 @@ ## @file # Reset Vector # -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
+# Note: +# Conf/build_rule.txt contains the build rule [Nasm-to-Binary-Code-File] +# to generate .bin file from .nasmb source. +# +# The platform FDF MUST have a FDF rule as follows to build the .bin +# file as ResetVector .ffs file: +# +# [Rule.Common.SEC.RESET_VECTOR] +# FILE RAW =3D $(NAMED_GUID) { +# RAW BIN |.bin +# } +# +# Following line in FDF forces to use the above rule for the ResetVecto= r: +# +# INF RuleOverride=3DRESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Vtf0.i= nf +# +# +# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # --=20 2.39.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106236): https://edk2.groups.io/g/devel/message/106236 Mute This Topic: https://groups.io/mt/99669684/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076= /xyzzy [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu May 16 23:05:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+106235+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106235+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1687316139; cv=none; d=zohomail.com; s=zohoarc; b=N0L1bQjOUBIOGO5PnP2FMH1YWylK27s+XGjyJbCXdilGzwqY4a2iuz8CRdHMF6I46bgKCmVOmdKwZC8xQsc7CTC/sWxQdHoIkSmJNg0seRL7+8UyHgl0QSsAqS5JWA/0tb4FAAxA70A8S65fiebfJrtUIe17aWq7HWBoue14f/8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1687316139; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=9l2wcq+tMTsT03JtGBwcxRSfUY2d7FB0e8yMKldREOo=; b=l1LpYXAqLVuI8qq4hnknXaFRhGmmbMzZJLvD2CjQyf0IJGPOA6VgPDfxOLVGTrwecMU/vEdXzM+pw1hpl9p4v1MEZ9vuHglTAMGhvZSWRNblenHwV1rbmrnJxdRDoB11n+5+IruP2zu+EzlmtBncjkOVYiNtIEo968mo+zdWUyE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106235+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1687316139305264.0072041319213; Tue, 20 Jun 2023 19:55:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id MK0WYY1788612xIypnXeSWr6; Tue, 20 Jun 2023 19:55:38 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.1392.1687316138004998774 for ; Tue, 20 Jun 2023 19:55:38 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="349777321" X-IronPort-AV: E=Sophos;i="6.00,259,1681196400"; d="scan'208";a="349777321" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 19:55:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="827253415" X-IronPort-AV: E=Sophos;i="6.00,259,1681196400"; d="scan'208";a="827253415" X-Received: from shwdeopenlab706.ccr.corp.intel.com ([10.239.55.95]) by fmsmga002.fm.intel.com with ESMTP; 20 Jun 2023 19:55:32 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Eric Dong , Rahul Kumar , Gerd Hoffmann Subject: [edk2-devel] [PATCH v2 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Date: Wed, 21 Jun 2023 10:55:22 +0800 Message-Id: <20230621025522.641-4-ray.ni@intel.com> In-Reply-To: <20230621025522.641-1-ray.ni@intel.com> References: <20230621025522.641-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ray.ni@intel.com X-Gm-Message-State: u3PwmjilZxxUOWrVIgULMR25x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1687316138; bh=FH+gXwMahzOJeEWNxxcuO2QaUeBZHIDDaqlF7c+V2J0=; h=Cc:Date:From:Reply-To:Subject:To; b=lczeleIhn/h77z8RuofTNls5Eg/LtDSSovGKGEc8NhjOvBVW7Bayu6EBxeteJ8V0rRd Pb7muz84FJ6wLHEO0qRCQQUXQVxC/kCdCmrxxRWY4MwQMUljw8fqlfFkV4XLjEvLyO7Hm VyRZJwX2mFvQR9tdbQzkR+fzkbTh7FO7DrE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1687316141201100007 Content-Type: text/plain; charset="utf-8" Because it's simpler for a platform to include the ResetVector source and having pre-built binaries add burdens of updating the pre-built binaries. This patch removes the pre-built binaries and the script that buids the pre-built binaries. Signed-off-by: Ray Ni Cc: Eric Dong Cc: Rahul Kumar Acked-by: Gerd Hoffmann --- .../Vtf0/Bin/IA32/ResetVector.ia32.port80.raw | Bin 532 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.raw | Bin 500 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.serial.raw | Bin 900 -> 0 bytes .../ResetVector/Vtf0/Bin/ResetVector.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVector.uni | 16 ---- .../ResetVector/Vtf0/Bin/ResetVector1G.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVectorExtra.uni | 12 --- .../PageTable1G/ResetVector.x64.port80.raw | Bin 12292 -> 0 bytes .../Bin/X64/PageTable1G/ResetVector.x64.raw | Bin 12292 -> 0 bytes .../PageTable1G/ResetVector.x64.serial.raw | Bin 12292 -> 0 bytes .../PageTable2M/ResetVector.x64.port80.raw | Bin 28676 -> 0 bytes .../Bin/X64/PageTable2M/ResetVector.x64.raw | Bin 28676 -> 0 bytes .../PageTable2M/ResetVector.x64.serial.raw | Bin 28676 -> 0 bytes UefiCpuPkg/ResetVector/Vtf0/Build.py | 89 ------------------ .../Vtf0/Tools/FixupForRawSection.py | 20 ---- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 9 ++ 16 files changed, 9 insertions(+), 199 deletions(-) delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.p= ort80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.r= aw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.s= erial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVe= ctor.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVe= ctor.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVe= ctor.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVe= ctor.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVe= ctor.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVe= ctor.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Build.py delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.r= aw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw deleted file mode 100644 index a3601274c25dde665872ff375f1deadf1c838476..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 532 zcmYk3L1+^}6hQxG?OGMxP=3DXCuO{oFvA!34x5(Ckq=3D%JWHDKR3&%U*@;4lLqfmnDa3 z%DNy3Djoz+o>n|`p_PoRky;N5Js1c|L|nU_OT82o$@oJN@(=3D(2nR&cF!+4(O*Tp(W`R7TpTmFm4ifa-;zC*vz4XttW zq}0}nTrTTp>dYuOY`31v{#vMxZinN>X5&iA{wjokJ@1Uq(rY83f3nOGnJ7F{XGEc^ zd@axD+xj+9{H@3`dj3!J3w#sG<{Xwjw>n?7OgU*B!aQOW8fp7m--koX4wLm__Al=3D^ zY?o%Aovx9bx>P+cg?6!W34mnesY#x}LmFy!akfSd$Wy}(n^c!>D977;D8Mlg8>sUS zM%JHY*m66|cf|=3D!l}5GTC_q`AVA|#!0!awU3V=3DG%^$U@u1;gOBUFLS(4fi9z>Se$~ z2tQ>Y`tp9@WdZJg*r|{I*L%>sSmAq{7b<*6qi=3DYE|Bg)&AL|JbKgC45A{vlk%hz|- Oedp}VWx$=3D4LE;}o$@(e) diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw b/Ue= fiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw deleted file mode 100644 index 6124f3f9a40e4e58cc672b54cbf5cc33360b3858..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 500 zcmbO*VZsE%1G)?X3=3DFmm3=3DIE^A{#3Nsty!~l*%?%h@7@P`lJPIy15`EBv@@}EGf-9QVcpB6tC}lR7)qCP9%hbE zD4qM7bH{!l=3Dsf!RU+2-6j*JWphPONKb-qaJjx}JsQDps^*`dg+^+1VH^8xlEU6mhQ z5#rwtE0nzI_7G`&`2YWZ2F{ZucNq_sFcn>Is1RZ#o8d#>?cFW^_0sqm#nW~uGcY*tD;-FCl?{{>VA$cn#=3DyX@^dM~q2SeYD zz5{&^`d;*1c8TLB`yyn{P81R}kt@Frh trq@4TcfR!a_y7OPT|lDq!T)CvW8mcL%Md2W%&-tQh6xj1?}1AK82|{?Cv diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.r= aw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw deleted file mode 100644 index 48b46e3473e77a1179bf818a1f1deafb7e46cf3e..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 900 zcmbO*VZwx6znM3*zuWbbc>}|{T|byNFuntcu)lk$%4~Q*mqCDm!Ipu6;eSzNV}(G~ zf#Q%-*~SWy)3&F4OGO$hB=3D+XZO)KSYtdQw^ZZfNs>9q<_RmIbup3 zs%DyYCYEjns%kx~d%1K~bA<{+>5|UF%n=3DHub6y9;GyisKLn%SYqvh_fT zY4ZX0A_J8lT@m8n4l9(r>h=3D(6eE9$We+JHzC3hJQmM|4vZ>SJrF6DeV9T;A%2TIvG zPrN>Ec%buG>$g%TREMRZIfSquOa9?Efe5dqFoK*_65o74!tz9ML_-C$K#4Sv6e=3D<5 zmS}to@(R$u4$TLci>y`tyuRIhfF-Tb!Z)f^mw$VN4ddZP>i|~P{{8Fm z@S*Sa?ymoOY5a`hX*-k|7##SO4y3&@1iDdxVTS`70|UR(1JnR9Mhj9SG(Kirr|sZi z=3D)2K(pzlH7i@po5?Iy@GOaKJ}6o6Ti&ohAO*)Y1FVZT$rYu^2i0k1jII*+_O@aHwt v>u)cG|Gzx{=3Dl}ng2mk*6-}&JGGhn`gf!CKIEReBbA#My4CcNGQlLOHJZ`sQ4 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf b/UefiCpuPkg/R= esetVector/Vtf0/Bin/ResetVector.inf deleted file mode 100644 index 47ac07798b..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf +++ /dev/null @@ -1,31 +0,0 @@ -## @file -# Reset Vector binary -# -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
-# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# -## - -[Defines] - INF_VERSION =3D 0x00010005 - BASE_NAME =3D ResetVector - MODULE_UNI_FILE =3D ResetVector.uni - FILE_GUID =3D 1BA0062E-C779-4582-8566-336AE8F78F09 - MODULE_TYPE =3D SEC - VERSION_STRING =3D 1.1 - -# -# The following information is for reference only and not required by the = build tools. -# -# VALID_ARCHITECTURES =3D IA32 X64 -# - -[Binaries.Ia32] - RAW|IA32/ResetVector.ia32.raw|* - -[Binaries.X64] - RAW|X64/PageTable2M/ResetVector.x64.raw|* - -[UserExtensions.TianoCore."ExtraFiles"] - ResetVectorExtra.uni diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni b/UefiCpuPkg/R= esetVector/Vtf0/Bin/ResetVector.uni deleted file mode 100644 index 3e7bcdafea..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni +++ /dev/null @@ -1,16 +0,0 @@ -// /** @file -// Reset Vector binary -// -// Reset Vector binary -// -// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
-// -// SPDX-License-Identifier: BSD-2-Clause-Patent -// -// **/ - - -#string STR_MODULE_ABSTRACT #language en-US "Reset Vector bina= ry" - -#string STR_MODULE_DESCRIPTION #language en-US "Reset Vector bina= ry" - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf b/UefiCpuPkg= /ResetVector/Vtf0/Bin/ResetVector1G.inf deleted file mode 100644 index 75705cd344..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf +++ /dev/null @@ -1,31 +0,0 @@ -## @file -# Reset Vector binary -# -# Copyright (c) 2021, Intel Corporation. All rights reserved.
-# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# -## - -[Defines] - INF_VERSION =3D 0x00010005 - BASE_NAME =3D ResetVector - MODULE_UNI_FILE =3D ResetVector.uni - FILE_GUID =3D 1BA0062E-C779-4582-8566-336AE8F78F09 - MODULE_TYPE =3D SEC - VERSION_STRING =3D 1.1 - -# -# The following information is for reference only and not required by the = build tools. -# -# VALID_ARCHITECTURES =3D IA32 X64 -# - -[Binaries.Ia32] - RAW|IA32/ResetVector.ia32.raw|* - -[Binaries.X64] - RAW|X64/PageTable1G/ResetVector.x64.raw|* - -[UserExtensions.TianoCore."ExtraFiles"] - ResetVectorExtra.uni diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni b/UefiCpu= Pkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni deleted file mode 100644 index 7d2d579390..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni +++ /dev/null @@ -1,12 +0,0 @@ -// /** @file -// ResetVector Localized Strings and Content -// -// Copyright (c) 2014, Intel Corporation. All rights reserved.
-// -// SPDX-License-Identifier: BSD-2-Clause-Patent -// -// **/ - -#string STR_PROPERTIES_MODULE_NAME #language en-US "ResetVector module" - - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x6= 4.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.= x64.port80.raw deleted file mode 100644 index def0ec856d0d14b4ea11b0a33db1512077eae00f..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&?{C}%0mt!AcdQH$uFlCS4BBl4hB{m;KP|(;0PBy*)H%xl5yeydg?4vvqQK|U z?7=3DZoFPfP6>zR*?i8Vf;2xK2pN+v#Vi4R<|XljUc-93Q$fT+=3D(-)?WizhKPwlHTjC z@9%x@?(^u{T&L6NY+dU0R9?yj$_2^=3D$_2^=3D$_2^=3D$_2^=3D$_2^=3D$_2^=3D$_4(f7k= HI- zS2(eHv(Ok+UvXo#qcNy8bTkH4p`$UVbLeOcYAqd&LG{zo7}U9RGzPVfj>e$QqoXmX z^XX^|>H<0%gL(@cjX_;VM`KVI(a{)Gm5#=3Ds2Iy!E>aBD%2DP4!#-QFtM`KVM=3Dx7Y; z?Q}E-buk@{L2aa?F{nX08iRTV9gRUa&2%&dwS|txptjP{7}N+IjX_;OM`KV|($N^yRdh54wT+I(psuE)F{pRa(HPXb z=3Dx7Y;-E=3DetwVjT}pst~#F{t;@(HPVYIvRr-rK2&ZF*+K9dM_P~L0wBnV^G)8(HPYA zbTkHa109V)-AG4cP&d)h7}WddXbftcj>e#FrlT>aopdw?bqgJhLA{@j#-JwXXbkFB zIvRtzjgH2kcG1xo)a`UM26YD=3DjX~W>M`KVQprbLUNje&X`XC*RL4Amh#-Kh-M`KVQ zp`$UV-E=3Det^-($+gSv~3#-R4l(HPXn=3Dx7Y;<8(9z^$9u}gW5|+V^E)@qcNy`bTkI_ zDLNX1nxdmIsJrQC3~E0ejX~W*M`KX;($N^yeRMPi^=3DUd9gSwxN#-Kh!M`KVA(9syw zXX$7R>T`572K68vjX`~$j>e#BbTkI_1v(mo`XU{TK|MrAV^CkBqcNy2)6p2zSLkRA z>Z^1#2K6;M8iRV6j>e$APDf)<-=3DL#0sA)PHgE~M*V^DQE8iQ)k(HPVtbTkI_C>@PK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DXbkFMIvRueF&<JwiugP><5l7}R5QGzRrJ9gSIXd-*PMK+A72x>I*F z8v_sLz~175W@GKkJ73yUtZg<1|8)O_KP}E_HrBWPaoNv{-p+7&R^x9^JW(7g&)Rut z{Vl~G%d>uVdF!6ycjZ|J7e-zyem&C|R`ILWLf_<2@pNa^{E_l#9qXKF9cv%zDWCR4 z>-E;j`r*5_^&FoX?evXJU2!neJ7#kB)X4CE4o$9mb75%u)Zy{9&A)cbFDR^far!Sk z&rSDE{n?E*eMNs~-N6+7trt2kZBOg@gKrkS(`VXOme(yWa`#LIuYTdcq#Jz$)907B zYo>P`9&Em`be;0a#%9ttH9Guu=3Dfq6TsyDCNv%eUrJu`Vt&q8x_;s&YM(6@VQXG0lV z3-#vczWv2{eY;oAWNYo2JNqv_-dQnUuBP@Q<>fjfwV}n@A5N~QZCd=3DjrPOwmk5<;U z)rL~u*-+b*Q}xr`?x5PgEPrQSuXek&O~*SgzV)pBIeX&S-<-arUh7#`pWj^mbEQ1F ze(I_6>;cV>^-JY7>+>r$dwe#ti?b(ZU+qk6QOaI^Y2!UddEMn>`CA-MzM^G+@vgt+ z@lSN*`iai!BfBO#E9$MIo!-uW+Yfcy-FLd(_5)|io9*SxnJ<63;~SqJ-*{|%pjx0>pjx0>pjx0>pjx0>;QxDp_UeBve_CAnEBEcaQFC+c Lf1iHO=3Dg0p6T22&^ diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x6= 4.serial.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.= x64.serial.raw deleted file mode 100644 index c1cf994c46df4138ef92193eb1dbca86137e7d69..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&U5s3H9merzclxp|mRV}Cs}#Cz7bs|Px3smT6t}Iw0#>Tjx)c#X7+w_7?HnAD zm*2QHW++)VA;GBOjtfFUY{CWWg6X460pUUtFKlciONiR(kd3iPEl_$m(|$4TV1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E*cd2XOKnf~>?Cu(`Vlh2x8 y<`c*#kWV0=3DKt6$d0{H~;3FH&VC-A>Kf%=3D~g|Lc3j_HCDGbhJKk@-HX90K5y%1}7N+ diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x6= 4.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.= x64.port80.raw deleted file mode 100644 index 0e981675cc80f2b08e144c16db44d7b48980c608..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*`?uxyUDxqZ7(uxsA1;bqltI)63iMsmlu}SC2m}lGhDd076k3!DNIUK{510P}3-))d*^hnB ze4pQa_G^Clt}|=3DRnah_iU%qKyy&A{kxWI9N;{wM8jtd+YI4*Ep;JCnXf#U+l1&#|G z7x;a>z)e>k{r>-^=3D4&~}zZdv@{Re-1bH@da3mg|XE^u7nxWI9N;{wM8jtd+YI4^6>l8eR7<}j{#6u(C zZZ?PUSUr=3DA#m(k0uGKTSSlnz5X}?D zZZ?PUPI@L6i<`}1{2@J)i^a|6Fy2|u6u(C zZZ?PUhxJS@7B`#2c)Xs;#o}gj81JfQazQ0EZZ?PU z{(2@Ci<`}1{0Tjii^a|6FrJ}jaNS zakDv$kI^%^Slnz5<74$qE*3YN!?<0~zQ0EZZ?PU96ghZ#m(k0{(_## z#o}gj7=3DKaE6u(CZZ?PU*Y!*;7B`#2_zXRhi^a|6 zFg{by6u(CZZ?PUH}y;|7B`#2_-s9si^a|6F#eXF$;IMk za~PkaXL7N)*&N2_>X}?DZZ?PUxAjae7B`#2xKq#MVsW!Mj2G&eTr6%jhjCud=3De6u(CZZ?PUB0ZCf#m(k0UaV(wvAEeB#!K`} zE*3YN!}u~ilZ(a8<}mKjGr3sYY!2hg^-L}nH=3DDz_tY>nuxY-=3DWKhiU~Slnz5<16$` zE*3YN!}v-)lZ(a8<}m)Tp2@}HW^)+-M9<`6akDv$uhKKQSlnz5-9`77B`#2_y#?bi^a|6FuqaG6u(CZZ?Op^-L}nH=3DD!w<~SUO`#+P5#m(k0zD3XEVsW!MjBnL5xmet6 z4&&SOOfD8To5T2LdL|c(o6TYTb3K!b#m(k0zFp7cVsW!MjDMkLaqkIvAEeB#=3Dq1vxmet64&z_xnOrPxHiz*&dL|c( zo6TWd(KESN+-wfxd-Y5%7B`#2_}6+S7mJ(CVSJyS$;IMka~S_d&*WlpvpI}^t7met zxY-=3DWztc0hSlnz509h7mJ(CVZ1@l z4lkN_^_e?wyZLudUw2o(-MNb&^6clIJpJrT@A&X*?z?!~b3Qua zaQfJLADRE*^M}iw-g5TF zIr{^zf9%<(&i7YDpS|_)(c{iO)ULRLJ?eO(|!=3Dbx3E?>QR z_Nfn?-hbuYAFAJZS-kO{*S+l3Z+ic8XRmqUxqEMl$U}7Q4c~pJu8Vu~+K9uouiW}j zoxAsOanA$y^gVOW>+gB(=3D|{a!y!LR;<;#zJF^?Q?`{|8e`4f-&_5aWB@$r|(%Rllt zr|_NifBWGty!!C3zvb%Hhd=3DYJhlg7ZZ|B~_udBB|k diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x6= 4.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw deleted file mode 100644 index b9f09dd46f2a8bfec0f0392235ae63ae50847388..000000000000000000000000000= 0000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*`?uxyUDxq)X=3D&O-+XAUgpK)|Nj5_<{LT3e;0VS{)<1pxZ?uH1&#|G7dS3(T;RCCae?Ck#|4fH92fZi zYJms5+6Usg2Om8U$;IMka~M~=3D>%pOCaNvEN(W3@g9067mJ(CVLVLF z>X}?DZZ?N;y`IU%;%0LgH|UvMEN(W3@hA06E*3YN!}wErCKrpF&0#!A&*WlpvpI|> z>zQ0EZZ?PU6g`uR#m(k0-e1q;VsW!Mj1SN=3Dxmet64&wv$OfD8To5Q$K&*WlpvpI~X z>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cy*Piq4dghf!-*|pq zW8c9$-|rzix83`KbMJQ2r3df&fO|#k+-%Q1Z*}x$n?F2s>Ar(^eb7U8K7P+VPdUGC zwf6-Nz1FQSKYGoJkAE1CT>0VM-J{>J_w?R-$=3Dk2F_ZI!a8Bu$0x7j*n?^%0Kug#O2 z?Y%|4Vf(*$+itYEwu|HN?(W`OTz>SB&(r&lf1J)f_8+(I zbhWMPUv2BU$3FO?c-Mt*e9>dx^V$3Mo^<1V7oQQ4o0Hu4j@!IvclXq|IIk74xt6P+ z?d?xEyW5?x{h!Zv-^HiIg_mDg7xsm3zwmWO?{~{MyxITezvB4FIzGPR>m$E?^U1Hh z%4dAk=3Dh=3DQzy!ajuIC}jTf8hg;p0e-I%Z}Xn%A+SAeeaQL>>jz#mAkt~?((6{!=3DpFv z!Nr@mb@!Z`zxL*uy0r)rC48h_6 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Build.py b/UefiCpuPkg/ResetVector/= Vtf0/Build.py deleted file mode 100644 index 3f1d5cd2c8..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Build.py +++ /dev/null @@ -1,89 +0,0 @@ -## @file -# Automate the process of building the various reset vector types -# -# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.
-# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# - -import os -import subprocess -import sys - -PAGE_TABLE_2M =3D 'PageTable2M' -PAGE_TABLE_1G =3D 'PageTable1G' -FILE_FORMAT =3D '.raw' -ALL_RAW_FORMAT =3D '*' + FILE_FORMAT -IA32 =3D 'IA32' -X64 =3D 'X64' - -# Pre-Define a Macros for Page Table -PAGE_TABLES =3D { - PAGE_TABLE_2M : "PAGE_TABLE_2M", - PAGE_TABLE_1G : "PAGE_TABLE_1G" -} - -def RunCommand(commandLine): - return subprocess.call(commandLine) - -# Check for all raw binaries and delete them -for root, dirs, files in os.walk('Bin'): - for file in files: - if file.endswith(FILE_FORMAT): - os.remove(os.path.join(root, file)) - -for arch in ('ia32', 'x64'): - for debugType in (None, 'port80', 'serial'): - for pageTable in PAGE_TABLES.keys(): - ret =3D True - if arch.lower() =3D=3D X64.lower(): - directory =3D os.path.join('Bin', X64, pageTable) - else: - directory =3D os.path.join('Bin', IA32) - - # output raw binary name with arch type - fileName =3D 'ResetVector' + '.' + arch - - if debugType is not None: - fileName +=3D '.' + debugType - fileName +=3D FILE_FORMAT - - output =3D os.path.join(directory, fileName) - - # if the directory not exists then create it - if not os.path.isdir(directory): - os.makedirs(directory) - - # Prepare the command to execute the nasmb - commandLine =3D ( - 'nasm', - '-D', 'ARCH_%s' % arch.upper(), - '-D', 'DEBUG_%s' % str(debugType).upper(), - '-D', PAGE_TABLES[pageTable].upper(), - '-o', output, - 'Vtf0.nasmb', - ) - - print(f"Command : {' '.join(commandLine)}") - - try: - ret =3D RunCommand(commandLine) - except FileNotFoundError: - print("NASM not found") - except: - pass - - if ret !=3D 0: - print(f"something went wrong while executing {commandLine[= -1]}") - sys.exit() - print('\tASM\t' + output) - - commandLine =3D ( - 'python', - 'Tools/FixupForRawSection.py', - output, - ) - print('\tFIXUP\t' + output) - ret =3D RunCommand(commandLine) - if ret !=3D 0: sys.exit(ret) - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py b/Uefi= CpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py deleted file mode 100644 index de771eba22..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py +++ /dev/null @@ -1,20 +0,0 @@ -## @file -# Apply fixup to VTF binary image for FFS Raw section -# -# Copyright (c) 2008 - 2021, Intel Corporation. All rights reserved.
-# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# - -import sys - -filename =3D sys.argv[1] - -d =3D open(sys.argv[1], 'rb').read() -c =3D ((len(d) + 4 + 7) & ~7) - 4 -if c > len(d): - c -=3D len(d) - f =3D open(sys.argv[1], 'wb') - f.write(b'\x90' * c) - f.write(d) - f.close() diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/= Vtf0/Vtf0.inf index 03d92d937f..6b406163db 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -46,3 +46,12 @@ =20 [UserExtensions.TianoCore."ExtraFiles"] ResetVectorExtra.uni + +[BuildOptions] +# Different build options can be specified: +# * for different architectures: +# -DARCH_X64, -DARCH_IA32 +# * for using 1G page table: +# -DPAGE_TABLE_1G +# * for different debug channels: +# -DDEBUG_SERIAL, -DDEBUG_PORT80, or not specify any debug channel --=20 2.39.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106235): https://edk2.groups.io/g/devel/message/106235 Mute This Topic: https://groups.io/mt/99669683/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076= /xyzzy [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-