From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail03.groups.io (mail03.groups.io [45.79.227.220]) by spool.mail.gandi.net (Postfix) with ESMTPS id C908A740094 for ; Fri, 12 Apr 2024 07:34:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=gpv3e8KKu8wzqq+hYShp90+3UVb8YrzbLqfVMzZcza4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1712907247; v=1; b=n/v+bdqW5l+5fSYBZPVR+fc69dpYDUFwp63Urrk4JlH9HFm6q4UuLLrRQi/o6td86YXUIJUe OVZqaluRQePBchvDxM6rYIMXgY2hv8+YG66XXedZQxIsJFNiqoJg48Z3bLx1YK+X9O4ULZNjgCC 0Lu01bNMRkpFyOvmUr69uOvviq/oSKDVfpKgfgh4ihbpEEBnKPlyxkBAHLbbZa2Gz7gzTgtnSrZ tPK/Ewm3rw8oT0K6+Xz3dtWXSaiVAIj+rRhyI0LDW/e7psb7Q/Q/xqLCU9v4s+/ScdQ/nZ64HBk lbNfzEKoSHyKlBRxagsDI84n3GdVMPJLCSwAJDnwrP/Hg== X-Received: by 127.0.0.2 with SMTP id BFkpYY7687511xoenTyc2SAC; Fri, 12 Apr 2024 00:34:07 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.41414.1712907246382537541 for ; Fri, 12 Apr 2024 00:34:07 -0700 X-Received: from loongson.cn (unknown [10.2.9.245]) by gateway (Coremail) with SMTP id _____8Bx17nr4xhmB0cmAA--.6342S3; Fri, 12 Apr 2024 15:34:04 +0800 (CST) X-Received: from code-server.gen (unknown [10.2.9.245]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxXs3q4xhmbJB4AA--.31486S2; Fri, 12 Apr 2024 15:34:03 +0800 (CST) From: "Chao Li" To: devel@edk2.groups.io Cc: Ray Ni , Rahul Kumar , Gerd Hoffmann Subject: [edk2-devel] [PATCH v3 03/13] UefiCpuPkg/MpInitLib: Reorder the INF files alphabetically Date: Fri, 12 Apr 2024 15:34:02 +0800 Message-Id: <20240412073402.3486813-1-lichao@loongson.cn> In-Reply-To: <20240412073254.3486364-1-lichao@loongson.cn> References: <20240412073254.3486364-1-lichao@loongson.cn> MIME-Version: 1.0 X-CM-TRANSID: AQAAf8BxXs3q4xhmbJB4AA--.31486S2 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAFCGYXn2oMjAAGsO X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 12 Apr 2024 00:34:07 -0700 Resent-From: lichao@loongson.cn Reply-To: devel@edk2.groups.io,lichao@loongson.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: DrRIbI9oKPpHBWLTAhlkoO74x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="n/v+bdqW"; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.227.220 as permitted sender) smtp.mailfrom=bounce@groups.io Some of the order is not in alphabetical, reorder. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4726 Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Signed-off-by: Chao Li Acked-by: Gerd Hoffmann Reviewed-by: Ray Ni --- UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 29 ++++++++++--------- UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 25 ++++++++-------- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf index 55e46d4a1f..7ef4c0d4db 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf @@ -23,21 +23,21 @@ [Defines] [Sources.IA32] Ia32/AmdSev.c - Ia32/MpFuncs.nasm Ia32/CreatePageTable.c + Ia32/MpFuncs.nasm [Sources.X64] X64/AmdSev.c - X64/MpFuncs.nasm X64/CreatePageTable.c + X64/MpFuncs.nasm [Sources.common] AmdSev.c - MpEqu.inc DxeMpLib.c + Microcode.c + MpEqu.inc MpLib.c MpLib.h - Microcode.c MpHandOff.h [Packages] @@ -47,17 +47,18 @@ [Packages] [LibraryClasses] BaseLib + CcExitLib + CpuLib + DebugAgentLib + HobLib LocalApicLib MemoryAllocationLib - HobLib + MicrocodeLib MtrrLib - CpuLib - UefiBootServicesTableLib - DebugAgentLib - SynchronizationLib PcdLib - CcExitLib - MicrocodeLib + SynchronizationLib + UefiBootServicesTableLib + [LibraryClasses.X64] CpuPageTableLib @@ -70,6 +71,9 @@ [Guids] gEdkiiMicrocodePatchHobGuid ## SOMETIMES_CONSUMES ## HOB [Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds ## SOMETIMES_CONSUMES @@ -82,6 +86,3 @@ [Pcd] gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase ## SOMETIMES_CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES - gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf index bc3d716aa9..599ca36bc2 100644 --- a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf @@ -31,31 +31,34 @@ [Sources.X64] [Sources.common] AmdSev.c + Microcode.c MpEqu.inc - PeiMpLib.c MpLib.c MpLib.h - Microcode.c MpHandOff.h + PeiMpLib.c + [Packages] MdePkg/MdePkg.dec - UefiCpuPkg/UefiCpuPkg.dec MdeModulePkg/MdeModulePkg.dec + UefiCpuPkg/UefiCpuPkg.dec [LibraryClasses] BaseLib + CcExitLib + CpuLib + HobLib LocalApicLib MemoryAllocationLib - HobLib + MicrocodeLib MtrrLib - CpuLib - SynchronizationLib - PeiServicesLib PcdLib - CcExitLib - MicrocodeLib + PeiServicesLib + SynchronizationLib [Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds ## SOMETIMES_CONSUMES @@ -66,9 +69,7 @@ [Pcd] gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate ## SOMETIMES_CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase ## SOMETIMES_CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures ## CONSUMES - gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES - gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES + gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi ## CONSUMES [Ppis] gEdkiiPeiShadowMicrocodePpiGuid ## SOMETIMES_CONSUMES -- 2.27.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117650): https://edk2.groups.io/g/devel/message/117650 Mute This Topic: https://groups.io/mt/105478490/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-