From nobody Tue Feb 10 19:14:42 2026 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+95240+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+95240+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1665766196; cv=none; d=zohomail.com; s=zohoarc; b=NBS6L1iK+uP/buXJl6oz6oYtHXk9FCujMCMkoKX9ot/HCFYPHWwu+lB/u207IC3Csm391MV5XUycGfFUn3HCQy4i5GOU98Cln8P2UhqQlUnmdVKAILHGAG3vs5Wd7jf2/wWvlYUrLFKG96n7i4Gj76arjFoxeGj59PBaK055mWg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665766196; 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=rumdhYnWiZjgv4neb17w9Pi1X4c68d2udenZNMcPv/s=; b=idXCX32mgGU4+itwisUDW9TyuIi9NJXndiHmOrt7W7mfX0bcoBV20RkIoalulplHspbsWwAUOzVfOMCSmcYw/r4wwQh02dwszmqJpxTuEYHg6OMCmcSfNKERYpawLE93Tbku93vZEk5nZ0nLbX8JU/+hOgst1G5gUQtkrGvOVI0= 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+95240+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1665766196668815.1049867738694; Fri, 14 Oct 2022 09:49:56 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4V4aYY1788612xXTxYH4ISSf; Fri, 14 Oct 2022 09:49:56 -0700 X-Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web09.9645.1665766195646784020 for ; Fri, 14 Oct 2022 09:49:55 -0700 X-Received: by mail-pj1-f46.google.com with SMTP id q10-20020a17090a304a00b0020b1d5f6975so5282208pjl.0 for ; Fri, 14 Oct 2022 09:49:55 -0700 (PDT) X-Gm-Message-State: Uxxds0Jt0Nbu8iQ2r7pggmTyx1787277AA= X-Google-Smtp-Source: AMsMyM4IrFNmKAeOGU7NJFX+86RSxMwbdGQtSluESEz7TpN0uU66x9uOv493BrSzn17tfSYt13SDaw== X-Received: by 2002:a17:90a:f286:b0:20a:b521:7bbe with SMTP id fs6-20020a17090af28600b0020ab5217bbemr18566961pjb.246.1665766194712; Fri, 14 Oct 2022 09:49:54 -0700 (PDT) X-Received: from localhost.localdomain ([49.206.13.138]) by smtp.gmail.com with ESMTPSA id f3-20020a62db03000000b0056265011136sm1963368pfg.112.2022.10.14.09.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 09:49:54 -0700 (PDT) From: "Sunil V L" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Abner Chang , Daniel Schaefer , Jian J Wang , Liming Gao , Andrew Fish , Michael D Kinney Subject: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V4 26/34] EmbeddedPkg/NvVarStoreFormattedLib: Migrate to MdeModulePkg Date: Fri, 14 Oct 2022 22:18:28 +0530 Message-Id: <20221014164836.1513036-27-sunilvl@ventanamicro.com> In-Reply-To: <20221014164836.1513036-1-sunilvl@ventanamicro.com> References: <20221014164836.1513036-1-sunilvl@ventanamicro.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,sunilvl@ventanamicro.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1665766196; bh=l30qOlm1sNJxyKMuoE6+PswtVyyK+AcIQ8oR5aXBTxQ=; h=Cc:Date:From:Reply-To:Subject:To; b=hqQ9k960Bh9n9fiVB4Raqs1Aj1gJpk15fz7ZG8ZH1ziRwbbNQ65a3Q+l/5eVTQbQs2b hR4RtNcVAVkT8QAxBfKLyeEvxLJ+/0on4Lp8mLHU+J+GHgJ4aUG614VH9F6/EFFoH00O3 YqpANq/97+baSbC/6dnaJtucdJFoQNZWnRs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1665766198823100001 Content-Type: text/plain; charset="utf-8" This library is required by NorFlashDxe. Since it will be used by both virtual and real platforms, migrate this library to MdeModulePkg. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Cc: Jian J Wang Cc: Liming Gao Cc: Andrew Fish Cc: Michael D Kinney Signed-off-by: Sunil V L Acked-by: Ard Biesheuvel --- EmbeddedPkg/EmbeddedPkg.dec = | 3 --- MdeModulePkg/MdeModulePkg.dec = | 3 +++ MdeModulePkg/MdeModulePkg.dsc = | 2 ++ {EmbeddedPkg =3D> MdeModulePkg}/Library/NvVarStoreFormattedLib/NvVarStoreF= ormattedLib.inf | 1 - {EmbeddedPkg =3D> MdeModulePkg}/Include/Guid/NvVarStoreFormatted.h = | 0 {EmbeddedPkg =3D> MdeModulePkg}/Library/NvVarStoreFormattedLib/NvVarStoreF= ormattedLib.c | 0 6 files changed, 5 insertions(+), 4 deletions(-) diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec index 341ef5e6a679..b1f5654835f6 100644 --- a/EmbeddedPkg/EmbeddedPkg.dec +++ b/EmbeddedPkg/EmbeddedPkg.dec @@ -69,9 +69,6 @@ [Guids.common] # HII form set GUID for ConsolePrefDxe driver gConsolePrefFormSetGuid =3D { 0x2d2358b4, 0xe96c, 0x484d, { 0xb2, 0xdd, = 0x7c, 0x2e, 0xdf, 0xc7, 0xd5, 0x6f } } =20 - ## Include/Guid/NvVarStoreFormatted.h - gEdkiiNvVarStoreFormattedGuid =3D { 0xd1a86e3f, 0x0707, 0x4c35, { 0x83, = 0xcd, 0xdc, 0x2c, 0x29, 0xc8, 0x91, 0xa3 } } - [Protocols.common] gHardwareInterruptProtocolGuid =3D { 0x2890B3EA, 0x053D, 0x1643, { 0xAD= , 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } } gHardwareInterrupt2ProtocolGuid =3D { 0x32898322, 0x2da1, 0x474a, { 0xba= , 0xaa, 0xf3, 0xf7, 0xcf, 0x56, 0x94, 0x70 } } diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 58e6ab004882..492bff8b7890 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -412,6 +412,9 @@ [Guids] ## Include/Guid/MigratedFvInfo.h gEdkiiMigratedFvInfoGuid =3D { 0xc1ab12f7, 0x74aa, 0x408d, { 0xa2, 0xf4,= 0xc6, 0xce, 0xfd, 0x17, 0x98, 0x71 } } =20 + ## Include/Guid/NvVarStoreFormatted.h + gEdkiiNvVarStoreFormattedGuid =3D { 0xd1a86e3f, 0x0707, 0x4c35, { 0x83, = 0xcd, 0xdc, 0x2c, 0x29, 0xc8, 0x91, 0xa3 } } + # # GUID defined in UniversalPayload # diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 659482ab737f..4142e1178dcd 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -104,6 +104,7 @@ [LibraryClasses] VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Var= iablePolicyHelperLib.inf MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibN= ull.inf VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseV= ariableFlashInfoLib.inf + NvVarStoreFormattedLib|MdeModulePkg/Library/NvVarStoreFormattedLib/NvVar= StoreFormattedLib.inf =20 [LibraryClasses.EBC.PEIM] IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf @@ -443,6 +444,7 @@ [Components] MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.i= nf + MdeModulePkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf =20 [Components.IA32, Components.X64, Components.AARCH64] MdeModulePkg/Universal/EbcDxe/EbcDxe.inf diff --git a/EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormatted= Lib.inf b/MdeModulePkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLi= b.inf similarity index 96% rename from EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedL= ib.inf rename to MdeModulePkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLi= b.inf index e2eed26c5b2d..5e8cd94cc9e0 100644 --- a/EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf +++ b/MdeModulePkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf @@ -32,7 +32,6 @@ [Sources] NvVarStoreFormattedLib.c =20 [Packages] - EmbeddedPkg/EmbeddedPkg.dec MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec =20 diff --git a/EmbeddedPkg/Include/Guid/NvVarStoreFormatted.h b/MdeModulePkg/= Include/Guid/NvVarStoreFormatted.h similarity index 100% rename from EmbeddedPkg/Include/Guid/NvVarStoreFormatted.h rename to MdeModulePkg/Include/Guid/NvVarStoreFormatted.h diff --git a/EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormatted= Lib.c b/MdeModulePkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.c similarity index 100% rename from EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedL= ib.c rename to MdeModulePkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLi= b.c --=20 2.38.0 -=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 (#95240): https://edk2.groups.io/g/devel/message/95240 Mute This Topic: https://groups.io/mt/94330859/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-