Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
r58459 r58466 8 8 text of the license may be found at 9 9 http://opensource.org/licenses/bsd-license.php. 10 10 11 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. … … 45 45 // Global varible to cache pointer to PCI Root Bridge I/O protocol. 46 46 // 47 EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL *mSmmPciRootBridgeIo = NULL; 47 EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL *mSmmPciRootBridgeIo = NULL; 48 48 49 49 /** 50 50 The constructor function caches the pointer to PCI Root Bridge I/O protocol. 51 51 52 52 The constructor function locates PCI Root Bridge I/O protocol from protocol database. 53 It will ASSERT() if that operation fails and it will always return EFI_SUCCESS. 53 It will ASSERT() if that operation fails and it will always return EFI_SUCCESS. 54 54 55 55 @param ImageHandle The firmware allocated handle for the EFI image. 56 56 @param SystemTable A pointer to the EFI System Table. 57 57 58 58 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. 59 59 … … 67 67 { 68 68 EFI_STATUS Status; 69 69 70 70 Status = gSmst->SmmLocateProtocol (&gEfiSmmPciRootBridgeIoProtocolGuid, NULL, (VOID**) &mSmmPciRootBridgeIo); 71 71 ASSERT_EFI_ERROR (Status); … … 142 142 143 143 /** 144 Registers a PCI device so PCI configuration registers may be accessed after 144 Registers a PCI device so PCI configuration registers may be accessed after 145 145 SetVirtualAddressMap(). 146 147 Registers the PCI device specified by Address so all the PCI configuration registers 146 147 Registers the PCI device specified by Address so all the PCI configuration registers 148 148 associated with that PCI device may be accessed after SetVirtualAddressMap() is called. 149 150 If Address > 0x0FFFFFFF, then ASSERT(). 151 152 @param Address The address that encodes the PCI Bus, Device, Function and 153 Register. 154 149 150 If Address > 0x0FFFFFFF, then ASSERT(). 151 152 @param Address The address that encodes the PCI Bus, Device, Function and 153 Register. 154 155 155 @retval RETURN_SUCCESS The PCI device was registered for runtime access. 156 @retval RETURN_UNSUPPORTED An attempt was made to call this function 156 @retval RETURN_UNSUPPORTED An attempt was made to call this function 157 157 after ExitBootServices(). 158 158 @retval RETURN_UNSUPPORTED The resources required to access the PCI device -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf
r58459 r58466 50 50 [Protocols] 51 51 gEfiSmmPciRootBridgeIoProtocolGuid ## CONSUMES 52 52 53 53 [Depex.common.DXE_SMM_DRIVER] 54 54 gEfiSmmPciRootBridgeIoProtocolGuid
Note:
See TracChangeset
for help on using the changeset viewer.