From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.15125.1686826271830570395 for ; Thu, 15 Jun 2023 03:51:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=XrArtEtG; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686826273; x=1718362273; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aVJ4DrV+tT8HMmDc6Lrykh4FETjWZkE83e0bSZN9mTw=; b=XrArtEtGwL4YtKqNpYgLJ7R22xh22K9oJ8XrAXkTuO8xHvDtnuqxd/jP /riL1g+PVP7ONn/rP8svacB9ACb6k1XL44QbuBGII2w0DPnNB4S+2+ZMb 7iaSuseyYXNXzPOcVEsAv+bX7P10CShH+W0oOA2LhKmClL7ieMlj/Zu3p TY2J+BSTaSnYg9nRsLMMB3RoOComSxnH97iHDBFwtAMsXwpy/UkA1Eq24 ShaGA1gdGBxleDBBgSo+WadGvYiBIdGtziGaTIEkqKhQPYe22+XFNGtIe FaI7xU5Z9Cuh3xiKnEAywEmF2zV9SqA6KXfD40eeaReixnixZZLPHCtu/ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="387323168" X-IronPort-AV: E=Sophos;i="6.00,244,1681196400"; d="scan'208";a="387323168" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 03:51:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="959156253" X-IronPort-AV: E=Sophos;i="6.00,244,1681196400"; d="scan'208";a="959156253" Received: from shwdeopenlab706.ccr.corp.intel.com ([10.239.55.95]) by fmsmga006.fm.intel.com with ESMTP; 15 Jun 2023 03:51:07 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Eric Dong , Rahul Kumar , Gerd Hoffmann Subject: [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Date: Thu, 15 Jun 2023 18:50:57 +0800 Message-Id: <20230615105057.297-4-ray.ni@intel.com> X-Mailer: git-send-email 2.39.1.windows.1 In-Reply-To: <20230615105057.297-1-ray.ni@intel.com> References: <20230615105057.297-1-ray.ni@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 Cc: 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=0D -# Reset Vector binary=0D -#=0D -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
= =0D -#=0D -# SPDX-License-Identifier: BSD-2-Clause-Patent=0D -#=0D -##=0D -=0D -[Defines]=0D - INF_VERSION =3D 0x00010005=0D - BASE_NAME =3D ResetVector=0D - MODULE_UNI_FILE =3D ResetVector.uni=0D - FILE_GUID =3D 1BA0062E-C779-4582-8566-336AE8F78F09= =0D - MODULE_TYPE =3D SEC=0D - VERSION_STRING =3D 1.1=0D -=0D -#=0D -# The following information is for reference only and not required by the = build tools.=0D -#=0D -# VALID_ARCHITECTURES =3D IA32 X64=0D -#=0D -=0D -[Binaries.Ia32]=0D - RAW|IA32/ResetVector.ia32.raw|*=0D -=0D -[Binaries.X64]=0D - RAW|X64/PageTable2M/ResetVector.x64.raw|*=0D -=0D -[UserExtensions.TianoCore."ExtraFiles"]=0D - ResetVectorExtra.uni=0D 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=0D -// Reset Vector binary=0D -//=0D -// Reset Vector binary=0D -//=0D -// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
= =0D -//=0D -// SPDX-License-Identifier: BSD-2-Clause-Patent=0D -//=0D -// **/=0D -=0D -=0D -#string STR_MODULE_ABSTRACT #language en-US "Reset Vector bina= ry"=0D -=0D -#string STR_MODULE_DESCRIPTION #language en-US "Reset Vector bina= ry"=0D -=0D 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=0D -# Reset Vector binary=0D -#=0D -# Copyright (c) 2021, Intel Corporation. All rights reserved.
=0D -#=0D -# SPDX-License-Identifier: BSD-2-Clause-Patent=0D -#=0D -##=0D -=0D -[Defines]=0D - INF_VERSION =3D 0x00010005=0D - BASE_NAME =3D ResetVector=0D - MODULE_UNI_FILE =3D ResetVector.uni=0D - FILE_GUID =3D 1BA0062E-C779-4582-8566-336AE8F78F09= =0D - MODULE_TYPE =3D SEC=0D - VERSION_STRING =3D 1.1=0D -=0D -#=0D -# The following information is for reference only and not required by the = build tools.=0D -#=0D -# VALID_ARCHITECTURES =3D IA32 X64=0D -#=0D -=0D -[Binaries.Ia32]=0D - RAW|IA32/ResetVector.ia32.raw|*=0D -=0D -[Binaries.X64]=0D - RAW|X64/PageTable1G/ResetVector.x64.raw|*=0D -=0D -[UserExtensions.TianoCore."ExtraFiles"]=0D - ResetVectorExtra.uni=0D 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=0D -// ResetVector Localized Strings and Content=0D -//=0D -// Copyright (c) 2014, Intel Corporation. All rights reserved.
=0D -//=0D -// SPDX-License-Identifier: BSD-2-Clause-Patent=0D -//=0D -// **/=0D -=0D -#string STR_PROPERTIES_MODULE_NAME #language en-US "ResetVector module"=0D -=0D -=0D 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(-)?WizhK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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!%E zIT!Pp|9w6UZl! zPvHN00L%p%s`{svMbGwfkw5{G0><29RrP;LB~L&X3{axs9AIjG-@^-1C8pS zW1vxU=3Doo0!Tsj6CbqXB=3Djrs^31C5$T$3UY_rDLE`MLGr=3D)k()dqfVn^pi%Sb7--Z- z=3D@@9#0y+j7bvhjbjrtfJ1C3fp$3UaH=3Doo0!$LSbo)F>b(lOAeemVvkwULg2Ms1>Fpi!IY7--bz=3Doo0!rF0B5>M}Y88g)4x1C1J>W1vx2 z&@s@cE9n?$)Kzp0H0two3^ZyB9RrQ}0v!X5x|)uGMs1~Ipiy6>W1vxAqGO;@*U&N0 zsBLr%H0sNA3^Zyx9RrQ}3LOKD8l+>OQPW1vyD z(=3DpJfJLni_)HmrEXwMlA48ucAI1{(EUItCgwM8`m*cG5A> zs4^V`jY{YkXw=3DG)cte} zH0l952D<6^+l4(po*I9%ut!tlM+asox2pW*p@))v*{wD_xajKS+3Z$7 zTV1;`c`Ccru89?YNS+w3^eB0(Hc=3DStP9AMsQ5t`z@W$ia<$so%&wta@^mT8`dS1(V z?$p@c?5OQ)9Ix%0e%IEA>T9{{`yZXB-u3m#7ZqE^1*v7AOG)<@FBMLMqBf=3D$~O$VYu$@G2cuHxET55G&M&Xr-Bo?P zxs`0c{lhK{t?xP3I56xPrRv%(JCYT}rw1=3D?o2aheda0BwE^J=3DjSe(V$M5(%d`;O$) z!sd=3D)FE2iQ-K_KWH)f7yyI1|#@icARS?r!Hjvt&^TsrxykX&4utvZUm#cpR;78jTL z(2xF+rd^u8w>2%(S=3DF-s4=3D>y4+1|$VN}3jz?r+q1KOJqpo%*K!eYIxVYTmTf+^M&o z(cec7JoCfD7nF)^3rl0mvVVDHCs{gl{^2z3)L8#4Dcj5Rv%Rq8>{hm{-+#8Hu?~&w zAMwcK$ib0U8e7iQX!iKoPjOBh&G9vl6TixN`1dFM#e4pe^-r{S)7Hkky&JbSI!d+Y z>T8cR+8ameGt&Cy$I`UE?w#!7-t09P%U;%WV9E0XOZE*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 0e981675cc80f2b08e144c16db44d7b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nz509h7mJ(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>X}?DZZ?PUr}a!O7B`#2c$%Kc#o}gj7&qyeTr6%jhw*ehlZ(a8<}m(@p2@}HW^))H zq-S!mxY-=3DW2kV(!EN(W3@gaI97mJ(CVSK2b$;IMka~L0{XL7N)*&N1)>zQ0EZZ?PU zXZ1`j7B`#2xLMESVsW!MjE~SWxmet64&xbmCKrpF&0+jGJ(G*Y&E_yZQqSaKakDv$ z)HAtQ+-wfxqvCKJ?*B|K7B`#2_-H+oi^a|6FrK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oQQ4o0Hu4j@!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=0D -# Automate the process of building the various reset vector types=0D -#=0D -# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.
= =0D -#=0D -# SPDX-License-Identifier: BSD-2-Clause-Patent=0D -#=0D -=0D -import os=0D -import subprocess=0D -import sys=0D -=0D -PAGE_TABLE_2M =3D 'PageTable2M'=0D -PAGE_TABLE_1G =3D 'PageTable1G'=0D -FILE_FORMAT =3D '.raw'=0D -ALL_RAW_FORMAT =3D '*' + FILE_FORMAT=0D -IA32 =3D 'IA32'=0D -X64 =3D 'X64'=0D -=0D -# Pre-Define a Macros for Page Table=0D -PAGE_TABLES =3D {=0D - PAGE_TABLE_2M : "PAGE_TABLE_2M",=0D - PAGE_TABLE_1G : "PAGE_TABLE_1G"=0D -}=0D -=0D -def RunCommand(commandLine):=0D - return subprocess.call(commandLine)=0D -=0D -# Check for all raw binaries and delete them=0D -for root, dirs, files in os.walk('Bin'):=0D - for file in files:=0D - if file.endswith(FILE_FORMAT):=0D - os.remove(os.path.join(root, file))=0D -=0D -for arch in ('ia32', 'x64'):=0D - for debugType in (None, 'port80', 'serial'):=0D - for pageTable in PAGE_TABLES.keys():=0D - ret =3D True=0D - if arch.lower() =3D=3D X64.lower():=0D - directory =3D os.path.join('Bin', X64, pageTable)=0D - else:=0D - directory =3D os.path.join('Bin', IA32)=0D -=0D - # output raw binary name with arch type=0D - fileName =3D 'ResetVector' + '.' + arch=0D -=0D - if debugType is not None:=0D - fileName +=3D '.' + debugType=0D - fileName +=3D FILE_FORMAT=0D -=0D - output =3D os.path.join(directory, fileName)=0D -=0D - # if the directory not exists then create it=0D - if not os.path.isdir(directory):=0D - os.makedirs(directory)=0D -=0D - # Prepare the command to execute the nasmb=0D - commandLine =3D (=0D - 'nasm',=0D - '-D', 'ARCH_%s' % arch.upper(),=0D - '-D', 'DEBUG_%s' % str(debugType).upper(),=0D - '-D', PAGE_TABLES[pageTable].upper(),=0D - '-o', output,=0D - 'Vtf0.nasmb',=0D - )=0D -=0D - print(f"Command : {' '.join(commandLine)}")=0D -=0D - try:=0D - ret =3D RunCommand(commandLine)=0D - except FileNotFoundError:=0D - print("NASM not found")=0D - except:=0D - pass=0D -=0D - if ret !=3D 0:=0D - print(f"something went wrong while executing {commandLine[= -1]}")=0D - sys.exit()=0D - print('\tASM\t' + output)=0D -=0D - commandLine =3D (=0D - 'python',=0D - 'Tools/FixupForRawSection.py',=0D - output,=0D - )=0D - print('\tFIXUP\t' + output)=0D - ret =3D RunCommand(commandLine)=0D - if ret !=3D 0: sys.exit(ret)=0D -=0D 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=0D -# Apply fixup to VTF binary image for FFS Raw section=0D -#=0D -# Copyright (c) 2008 - 2021, Intel Corporation. All rights reserved.
= =0D -#=0D -# SPDX-License-Identifier: BSD-2-Clause-Patent=0D -#=0D -=0D -import sys=0D -=0D -filename =3D sys.argv[1]=0D -=0D -d =3D open(sys.argv[1], 'rb').read()=0D -c =3D ((len(d) + 4 + 7) & ~7) - 4=0D -if c > len(d):=0D - c -=3D len(d)=0D - f =3D open(sys.argv[1], 'wb')=0D - f.write(b'\x90' * c)=0D - f.write(d)=0D - f.close()=0D diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/= Vtf0/Vtf0.inf index 28185a6e60..8a74bc83ac 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -46,3 +46,12 @@ =0D [UserExtensions.TianoCore."ExtraFiles"]=0D ResetVectorExtra.uni=0D +=0D +[BuildOptions]=0D +# Different build options can be specified:=0D +# * for different architectures:=0D +# -DARCH_X64, -DARCH_IA32=0D +# * for using 1G page table:=0D +# -DPAGE_TABLE_1G=0D +# * for different debug channels:=0D +# -DDEBUG_SERIAL, -DDEBUG_PORT80, or not specify any debug channel=0D --=20 2.39.1.windows.1