summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c')
-rw-r--r--Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c8
1 files changed, 4 insertions, 4 deletions
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;