Changeset 76313 in vbox for trunk/src/VBox
- Timestamp:
- Dec 20, 2018 1:18:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.c
r48674 r76313 2 2 PCI command register operations supporting functions implementation for PCI Bus module. 3 3 4 Copyright (c) 2006 - 20 09, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 201 201 ) 202 202 { 203 UINT32 CapabilityPtr; 204 UINT32 CapabilityEntry; 205 UINT16 CapabilityID; 203 EFI_STATUS Status; 204 UINT32 CapabilityPtr; 205 UINT32 CapabilityEntry; 206 UINT16 CapabilityID; 206 207 207 208 // … … 223 224 // 224 225 CapabilityPtr &= 0xFFC; 225 PciIoDevice->PciIo.Pci.Read ( 226 &PciIoDevice->PciIo, 227 EfiPciIoWidthUint32, 228 CapabilityPtr, 229 1, 230 &CapabilityEntry 231 ); 226 Status = PciIoDevice->PciIo.Pci.Read ( 227 &PciIoDevice->PciIo, 228 EfiPciIoWidthUint32, 229 CapabilityPtr, 230 1, 231 &CapabilityEntry 232 ); 233 if (EFI_ERROR (Status)) { 234 break; 235 } 232 236 233 237 CapabilityID = (UINT16) CapabilityEntry;
Note:
See TracChangeset
for help on using the changeset viewer.