[edk2,v2,04/17] Vlv2TbltDevicePkg: add MmServicesTableLib resolution

Message ID 20190114132758.24054-5-ard.biesheuvel@linaro.org
State Accepted
Commit e2f0d814c1313effae2c6813cd4dab8940700e60
Headers show
Series
  • implement standalone MM versions of the variable runtime drivers
Related show

Commit Message

Ard Biesheuvel Jan. 14, 2019, 1:27 p.m.
The SMM based FTW and variable drivers are going to depend on
MmServicesTableLib after a subsequent patch, so add a resolution
for it to various Vlv2TbltDevicePkg .dsc files.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 +
 Vlv2TbltDevicePkg/PlatformPkgIA32.dsc   | 1 +
 Vlv2TbltDevicePkg/PlatformPkgX64.dsc    | 1 +
 3 files changed, 3 insertions(+)

-- 
2.20.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Gao, Liming Jan. 16, 2019, 3:14 p.m. | #1
Zailiang:
  Could you help review this change?

> -----Original Message-----

> From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org]

> Sent: Monday, January 14, 2019 9:28 PM

> To: edk2-devel@lists.01.org

> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>; Laszlo Ersek <lersek@redhat.com>; Leif Lindholm <leif.lindholm@linaro.org>; Kinney,

> Michael D <michael.d.kinney@intel.com>; Gao, Liming <liming.gao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Wu, Hao A

> <hao.a.wu@intel.com>; Jagadeesh Ujja <jagadeesh.ujja@arm.com>; Achin Gupta <Achin.Gupta@arm.com>; Thomas Panakamattam

> Abraham <thomas.abraham@arm.com>; Sami Mujawar <Sami.Mujawar@arm.com>; Zeng, Star <star.zeng@intel.com>

> Subject: [PATCH v2 04/17] Vlv2TbltDevicePkg: add MmServicesTableLib resolution

> 

> The SMM based FTW and variable drivers are going to depend on

> MmServicesTableLib after a subsequent patch, so add a resolution

> for it to various Vlv2TbltDevicePkg .dsc files.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---

>  Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 +

>  Vlv2TbltDevicePkg/PlatformPkgIA32.dsc   | 1 +

>  Vlv2TbltDevicePkg/PlatformPkgX64.dsc    | 1 +

>  3 files changed, 3 insertions(+)

> 

> diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> index d43611550285..eb7c205a10a6 100644

> --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> @@ -406,6 +406,7 @@ [LibraryClasses.X64.DXE_CORE]

>  !endif

> 

>  [LibraryClasses.X64.DXE_SMM_DRIVER]

> +  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf

>    SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf

>    ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf

>    MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf

> diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> index a33816c4d18b..b2f0d73f6d05 100644

> --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> @@ -406,6 +406,7 @@ [LibraryClasses.IA32.DXE_CORE]

>  !endif

> 

>  [LibraryClasses.IA32.DXE_SMM_DRIVER]

> +  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf

>    SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf

>    ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf

>    MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf

> diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> index 1da1442c64c6..aa62c07f177b 100644

> --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> @@ -408,6 +408,7 @@ [LibraryClasses.X64.DXE_CORE]

>  !endif

> 

>  [LibraryClasses.X64.DXE_SMM_DRIVER]

> +  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf

>    SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf

>    ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf

>    MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf

> --

> 2.20.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Ard Biesheuvel Jan. 16, 2019, 5:44 p.m. | #2
(add Yi as well)

On Wed, 16 Jan 2019 at 16:14, Gao, Liming <liming.gao@intel.com> wrote:
>

> Zailiang:

>   Could you help review this change?

>

> > -----Original Message-----

> > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org]

> > Sent: Monday, January 14, 2019 9:28 PM

> > To: edk2-devel@lists.01.org

> > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>; Laszlo Ersek <lersek@redhat.com>; Leif Lindholm <leif.lindholm@linaro.org>; Kinney,

> > Michael D <michael.d.kinney@intel.com>; Gao, Liming <liming.gao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Wu, Hao A

> > <hao.a.wu@intel.com>; Jagadeesh Ujja <jagadeesh.ujja@arm.com>; Achin Gupta <Achin.Gupta@arm.com>; Thomas Panakamattam

> > Abraham <thomas.abraham@arm.com>; Sami Mujawar <Sami.Mujawar@arm.com>; Zeng, Star <star.zeng@intel.com>

> > Subject: [PATCH v2 04/17] Vlv2TbltDevicePkg: add MmServicesTableLib resolution

> >

> > The SMM based FTW and variable drivers are going to depend on

> > MmServicesTableLib after a subsequent patch, so add a resolution

> > for it to various Vlv2TbltDevicePkg .dsc files.

> >

> > Contributed-under: TianoCore Contribution Agreement 1.1

> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> > ---

> >  Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 +

> >  Vlv2TbltDevicePkg/PlatformPkgIA32.dsc   | 1 +

> >  Vlv2TbltDevicePkg/PlatformPkgX64.dsc    | 1 +

> >  3 files changed, 3 insertions(+)

> >

> > diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > index d43611550285..eb7c205a10a6 100644

> > --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > @@ -406,6 +406,7 @@ [LibraryClasses.X64.DXE_CORE]

> >  !endif

> >

> >  [LibraryClasses.X64.DXE_SMM_DRIVER]

> > +  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf

> >    SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf

> >    ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf

> >    MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf

> > diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > index a33816c4d18b..b2f0d73f6d05 100644

> > --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > @@ -406,6 +406,7 @@ [LibraryClasses.IA32.DXE_CORE]

> >  !endif

> >

> >  [LibraryClasses.IA32.DXE_SMM_DRIVER]

> > +  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf

> >    SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf

> >    ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf

> >    MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf

> > diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > index 1da1442c64c6..aa62c07f177b 100644

> > --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > @@ -408,6 +408,7 @@ [LibraryClasses.X64.DXE_CORE]

> >  !endif

> >

> >  [LibraryClasses.X64.DXE_SMM_DRIVER]

> > +  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf

> >    SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf

> >    ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf

> >    MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf

> > --

> > 2.20.1

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Kinney, Michael D Jan. 16, 2019, 7 p.m. | #3
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>


Mike

> -----Original Message-----

> From: edk2-devel [mailto:edk2-devel-

> bounces@lists.01.org] On Behalf Of Ard Biesheuvel

> Sent: Wednesday, January 16, 2019 9:45 AM

> To: Gao, Liming <liming.gao@intel.com>; Qian, Yi

> <yi.qian@intel.com>

> Cc: Wu, Hao A <hao.a.wu@intel.com>; edk2-

> devel@lists.01.org; Kinney, Michael D

> <michael.d.kinney@intel.com>; Laszlo Ersek

> <lersek@redhat.com>; Zeng, Star <star.zeng@intel.com>

> Subject: Re: [edk2] [PATCH v2 04/17] Vlv2TbltDevicePkg:

> add MmServicesTableLib resolution

> 

> (add Yi as well)

> 

> On Wed, 16 Jan 2019 at 16:14, Gao, Liming

> <liming.gao@intel.com> wrote:

> >

> > Zailiang:

> >   Could you help review this change?

> >

> > > -----Original Message-----

> > > From: Ard Biesheuvel

> [mailto:ard.biesheuvel@linaro.org]

> > > Sent: Monday, January 14, 2019 9:28 PM

> > > To: edk2-devel@lists.01.org

> > > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>;

> Laszlo Ersek <lersek@redhat.com>; Leif Lindholm

> <leif.lindholm@linaro.org>; Kinney,

> > > Michael D <michael.d.kinney@intel.com>; Gao, Liming

> <liming.gao@intel.com>; Wang, Jian J

> <jian.j.wang@intel.com>; Wu, Hao A

> > > <hao.a.wu@intel.com>; Jagadeesh Ujja

> <jagadeesh.ujja@arm.com>; Achin Gupta

> <Achin.Gupta@arm.com>; Thomas Panakamattam

> > > Abraham <thomas.abraham@arm.com>; Sami Mujawar

> <Sami.Mujawar@arm.com>; Zeng, Star <star.zeng@intel.com>

> > > Subject: [PATCH v2 04/17] Vlv2TbltDevicePkg: add

> MmServicesTableLib resolution

> > >

> > > The SMM based FTW and variable drivers are going to

> depend on

> > > MmServicesTableLib after a subsequent patch, so add

> a resolution

> > > for it to various Vlv2TbltDevicePkg .dsc files.

> > >

> > > Contributed-under: TianoCore Contribution Agreement

> 1.1

> > > Signed-off-by: Ard Biesheuvel

> <ard.biesheuvel@linaro.org>

> > > ---

> > >  Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 +

> > >  Vlv2TbltDevicePkg/PlatformPkgIA32.dsc   | 1 +

> > >  Vlv2TbltDevicePkg/PlatformPkgX64.dsc    | 1 +

> > >  3 files changed, 3 insertions(+)

> > >

> > > diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > index d43611550285..eb7c205a10a6 100644

> > > --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > @@ -406,6 +406,7 @@ [LibraryClasses.X64.DXE_CORE]

> > >  !endif

> > >

> > >  [LibraryClasses.X64.DXE_SMM_DRIVER]

> > > +

> MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmS

> ervicesTableLib.inf

> > >

> SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/S

> mmServicesTableLib.inf

> > >

> ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatus

> CodeLib/SmmReportStatusCodeLib.inf

> > >

> MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLi

> b/SmmMemoryAllocationLib.inf

> > > diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > index a33816c4d18b..b2f0d73f6d05 100644

> > > --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > @@ -406,6 +406,7 @@ [LibraryClasses.IA32.DXE_CORE]

> > >  !endif

> > >

> > >  [LibraryClasses.IA32.DXE_SMM_DRIVER]

> > > +

> MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmS

> ervicesTableLib.inf

> > >

> SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/S

> mmServicesTableLib.inf

> > >

> ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatus

> CodeLib/SmmReportStatusCodeLib.inf

> > >

> MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLi

> b/SmmMemoryAllocationLib.inf

> > > diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > index 1da1442c64c6..aa62c07f177b 100644

> > > --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > @@ -408,6 +408,7 @@ [LibraryClasses.X64.DXE_CORE]

> > >  !endif

> > >

> > >  [LibraryClasses.X64.DXE_SMM_DRIVER]

> > > +

> MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmS

> ervicesTableLib.inf

> > >

> SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/S

> mmServicesTableLib.inf

> > >

> ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatus

> CodeLib/SmmReportStatusCodeLib.inf

> > >

> MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLi

> b/SmmMemoryAllocationLib.inf

> > > --

> > > 2.20.1

> >

> _______________________________________________

> edk2-devel mailing list

> edk2-devel@lists.01.org

> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Qian, Yi Jan. 17, 2019, 5:20 a.m. | #4
Reviewed-by: Qian Yi <yi.qian@intel.com>


Thanks
Qian Yi

> -----Original Message-----

> From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org]

> Sent: Thursday, January 17, 2019 1:45 AM

> To: Gao, Liming <liming.gao@intel.com>; Qian, Yi <yi.qian@intel.com>

> Cc: edk2-devel@lists.01.org; Sun, Zailiang <zailiang.sun@intel.com>; Laszlo

> Ersek <lersek@redhat.com>; Leif Lindholm <leif.lindholm@linaro.org>;

> Kinney, Michael D <michael.d.kinney@intel.com>; Wang, Jian J

> <jian.j.wang@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Jagadeesh Ujja

> <jagadeesh.ujja@arm.com>; Achin Gupta <Achin.Gupta@arm.com>;

> Thomas Panakamattam Abraham <thomas.abraham@arm.com>; Sami

> Mujawar <Sami.Mujawar@arm.com>; Zeng, Star <star.zeng@intel.com>

> Subject: Re: [PATCH v2 04/17] Vlv2TbltDevicePkg: add MmServicesTableLib

> resolution

> 

> (add Yi as well)

> 

> On Wed, 16 Jan 2019 at 16:14, Gao, Liming <liming.gao@intel.com> wrote:

> >

> > Zailiang:

> >   Could you help review this change?

> >

> > > -----Original Message-----

> > > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org]

> > > Sent: Monday, January 14, 2019 9:28 PM

> > > To: edk2-devel@lists.01.org

> > > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>; Laszlo Ersek

> > > <lersek@redhat.com>; Leif Lindholm <leif.lindholm@linaro.org>;

> > > Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming

> > > <liming.gao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Wu,

> > > Hao A <hao.a.wu@intel.com>; Jagadeesh Ujja

> <jagadeesh.ujja@arm.com>;

> > > Achin Gupta <Achin.Gupta@arm.com>; Thomas Panakamattam Abraham

> > > <thomas.abraham@arm.com>; Sami Mujawar

> <Sami.Mujawar@arm.com>; Zeng,

> > > Star <star.zeng@intel.com>

> > > Subject: [PATCH v2 04/17] Vlv2TbltDevicePkg: add MmServicesTableLib

> > > resolution

> > >

> > > The SMM based FTW and variable drivers are going to depend on

> > > MmServicesTableLib after a subsequent patch, so add a resolution for

> > > it to various Vlv2TbltDevicePkg .dsc files.

> > >

> > > Contributed-under: TianoCore Contribution Agreement 1.1

> > > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> > > ---

> > >  Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 +

> > >  Vlv2TbltDevicePkg/PlatformPkgIA32.dsc   | 1 +

> > >  Vlv2TbltDevicePkg/PlatformPkgX64.dsc    | 1 +

> > >  3 files changed, 3 insertions(+)

> > >

> > > diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > index d43611550285..eb7c205a10a6 100644

> > > --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc

> > > @@ -406,6 +406,7 @@ [LibraryClasses.X64.DXE_CORE]  !endif

> > >

> > >  [LibraryClasses.X64.DXE_SMM_DRIVER]

> > > +

> > > +

> MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTab

> > > + leLib.inf

> > >

> SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesT

> ableLib.inf

> > >

> ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/S

> mmReportStatusCodeLib.inf

> > >

> > >

> MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMe

> moryA

> > > llocationLib.inf diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > index a33816c4d18b..b2f0d73f6d05 100644

> > > --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc

> > > @@ -406,6 +406,7 @@ [LibraryClasses.IA32.DXE_CORE]  !endif

> > >

> > >  [LibraryClasses.IA32.DXE_SMM_DRIVER]

> > > +

> > > +

> MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTab

> > > + leLib.inf

> > >

> SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesT

> ableLib.inf

> > >

> ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/S

> mmReportStatusCodeLib.inf

> > >

> > >

> MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMe

> moryA

> > > llocationLib.inf diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > index 1da1442c64c6..aa62c07f177b 100644

> > > --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc

> > > @@ -408,6 +408,7 @@ [LibraryClasses.X64.DXE_CORE]  !endif

> > >

> > >  [LibraryClasses.X64.DXE_SMM_DRIVER]

> > > +

> > > +

> MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTab

> > > + leLib.inf

> > >

> SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesT

> ableLib.inf

> > >

> ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/S

> mmReportStatusCodeLib.inf

> > >

> > >

> MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMe

> moryA

> > > llocationLib.inf

> > > --

> > > 2.20.1

> >

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
index d43611550285..eb7c205a10a6 100644
--- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
+++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
@@ -406,6 +406,7 @@  [LibraryClasses.X64.DXE_CORE]
 !endif
 
 [LibraryClasses.X64.DXE_SMM_DRIVER]
+  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
   SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
   MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
index a33816c4d18b..b2f0d73f6d05 100644
--- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
+++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
@@ -406,6 +406,7 @@  [LibraryClasses.IA32.DXE_CORE]
 !endif
 
 [LibraryClasses.IA32.DXE_SMM_DRIVER]
+  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
   SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
   MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
index 1da1442c64c6..aa62c07f177b 100644
--- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
+++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
@@ -408,6 +408,7 @@  [LibraryClasses.X64.DXE_CORE]
 !endif
 
 [LibraryClasses.X64.DXE_SMM_DRIVER]
+  MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
   SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
   MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf