diff options
Diffstat (limited to 'Vlv2TbltDevicePkg/Library')
5 files changed, 10 insertions, 14 deletions
diff --git a/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.S b/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.S index 1eab73d17e..9867904552 100644 --- a/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.S +++ b/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.S @@ -1,6 +1,6 @@ #
#
-# Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
+# Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved
#
# This program and the accompanying materials are licensed and made available under
# the terms and conditions of the BSD License that accompanies this distribution.
@@ -35,7 +35,7 @@ .globl ASM_PFX(EfiEnableInterrupts)
.globl ASM_PFX(EfiCpuidExt)
-.text
+.code:
#------------------------------------------------------------------------------
diff --git a/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.asm b/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.asm index d921132137..f6ad724e20 100644 --- a/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.asm +++ b/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.asm @@ -9,7 +9,7 @@ TITLE Cpu.asm: Assembly code for the x64 resources ; license agreement
;
;
-; Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
+; Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved
;
; This program and the accompanying materials are licensed and made available under
; the terms and conditions of the BSD License that accompanies this distribution.
@@ -31,7 +31,7 @@ TITLE Cpu.asm: Assembly code for the x64 resources ;*
;------------------------------------------------------------------------------
-text SEGMENT
+.code
;------------------------------------------------------------------------------
diff --git a/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c b/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c index bb77abcfde..45c7bcf2d4 100644 --- a/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c +++ b/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c @@ -1,7 +1,7 @@ /** @file
Capsule Boottime Library instance to update capsule image to flash.
- Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -421,7 +421,6 @@ ProcessFmpCapsuleImage ( EFI_STATUS Status;
EFI_STATUS StatusEsrt;
EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER *FmpCapsuleHeader;
- UINT8 *EndOfCapsule;
EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER *ImageHeader;
UINT8 *Image;
EFI_HANDLE ImageHandle;
@@ -456,7 +455,6 @@ ProcessFmpCapsuleImage ( EsrtProtocol = NULL;
FmpCapsuleHeader = (EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER *) ((UINT8 *) CapsuleHeader + CapsuleHeader->HeaderSize);
- EndOfCapsule = (UINT8 *) CapsuleHeader + CapsuleHeader->CapsuleImageSize;
if (FmpCapsuleHeader->Version > EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION) {
return EFI_INVALID_PARAMETER;
diff --git a/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleRtLib/DxeCapsuleLib.c b/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleRtLib/DxeCapsuleLib.c index 604cb3db02..77e2ba0501 100644 --- a/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleRtLib/DxeCapsuleLib.c +++ b/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleRtLib/DxeCapsuleLib.c @@ -1,7 +1,7 @@ /** @file
Capsule Runtime Library instance to update capsule image to flash.
- Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -426,7 +426,6 @@ ProcessFmpCapsuleImage ( EFI_STATUS Status;
EFI_STATUS StatusEsrt;
EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER *FmpCapsuleHeader;
- UINT8 *EndOfCapsule;
EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER *ImageHeader;
UINT8 *Image;
EFI_HANDLE ImageHandle;
@@ -461,7 +460,6 @@ ProcessFmpCapsuleImage ( EsrtProtocol = NULL;
FmpCapsuleHeader = (EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER *) ((UINT8 *) CapsuleHeader + CapsuleHeader->HeaderSize);
- EndOfCapsule = (UINT8 *) CapsuleHeader + CapsuleHeader->CapsuleImageSize;
if (FmpCapsuleHeader->Version > EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION) {
return EFI_INVALID_PARAMETER;
diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c index 5d1b2d4d3e..2e13a01e38 100644 --- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c @@ -524,7 +524,7 @@ GetPlugInPciVgaDevicePath ( Status = gBS->HandleProtocol (
HandleBuffer[Index],
&gEfiPciIoProtocolGuid,
- (VOID**)&PciIo
+ (VOID **) &PciIo
);
if (!EFI_ERROR (Status)) {
@@ -533,9 +533,9 @@ GetPlugInPciVgaDevicePath ( //
Status = PciIo->Pci.Read (
PciIo,
- EfiPciIoWidthUint32,
+ EfiPciIoWidthUint8,
0,
- sizeof (Pci) / sizeof (UINT32),
+ sizeof (Pci),
&Pci
);
if (EFI_ERROR (Status)) {
@@ -562,7 +562,7 @@ GetPlugInPciVgaDevicePath ( gBS->HandleProtocol (
HandleBuffer[Index],
&gEfiDevicePathProtocolGuid,
- (VOID**)&DevicePath
+ (VOID **) &DevicePath
);
Index1 = 0;
|