On Mon, Jul 22, 2019 at 03:58:59PM -0700, Michael D Kinney wrote: > Update to use S3BootScriptWidth enum values instead of > EfiBootScriptWidth enum values when calling S3BootScriptLib > services. This fixes an XCODE5 build failure. > Reviewed-by: Gary Lin <g...@suse.com>
> Cc: Zailiang Sun <zailiang....@intel.com> > Cc: Yi Qian <yi.q...@intel.com> > Cc: Gary Lin <g...@suse.com> > Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com> > --- > .../Intel/Vlv2TbltDevicePkg/PlatformDxe/Platform.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/Platform.c > b/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/Platform.c > index 0bc3f44c49..d9782aafba 100644 > --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/Platform.c > +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/Platform.c > @@ -968,25 +968,25 @@ PchInitBeforeBoot() > // Saved SPI Opcode menu to fix EFI variable unable to write after S3 > resume. > // > S3BootScriptSaveMemWrite ( > - EfiBootScriptWidthUint32, > + S3BootScriptWidthUint32, > (UINTN)(SPI_BASE_ADDRESS + (R_PCH_SPI_OPMENU0)), > 1, > (VOID *)(UINTN)(SPI_BASE_ADDRESS + > (R_PCH_SPI_OPMENU0))); > > S3BootScriptSaveMemWrite ( > - EfiBootScriptWidthUint32, > + S3BootScriptWidthUint32, > (UINTN)(SPI_BASE_ADDRESS + (R_PCH_SPI_OPMENU1)), > 1, > (VOID *)(UINTN)(SPI_BASE_ADDRESS + > (R_PCH_SPI_OPMENU1))); > > S3BootScriptSaveMemWrite ( > - EfiBootScriptWidthUint16, > + S3BootScriptWidthUint16, > (UINTN)(SPI_BASE_ADDRESS + R_PCH_SPI_OPTYPE), > 1, > (VOID *)(UINTN)(SPI_BASE_ADDRESS + > R_PCH_SPI_OPTYPE)); > > S3BootScriptSaveMemWrite ( > - EfiBootScriptWidthUint16, > + S3BootScriptWidthUint16, > (UINTN)(SPI_BASE_ADDRESS + R_PCH_SPI_PREOP), > 1, > (VOID *)(UINTN)(SPI_BASE_ADDRESS + > R_PCH_SPI_PREOP)); > @@ -995,7 +995,7 @@ PchInitBeforeBoot() > // Saved MTPMC_1 for S3 resume. > // > S3BootScriptSaveMemWrite ( > - EfiBootScriptWidthUint32, > + S3BootScriptWidthUint32, > (UINTN)(PMC_BASE_ADDRESS + R_PCH_PMC_MTPMC1), > 1, > (VOID *)(UINTN)(PMC_BASE_ADDRESS + > R_PCH_PMC_MTPMC1)); > -- > 2.21.0.windows.1 > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44230): https://edk2.groups.io/g/devel/message/44230 Mute This Topic: https://groups.io/mt/32564739/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-