VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c

    r58459 r58466  
    88  text of the license may be found at
    99  http://opensource.org/licenses/bsd-license.php.
    10  
     10
    1111  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
    1212  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     
    4545// Global varible to cache pointer to PCI Root Bridge I/O protocol.
    4646//
    47 EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL      *mSmmPciRootBridgeIo = NULL; 
     47EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL      *mSmmPciRootBridgeIo = NULL;
    4848
    4949/**
    5050  The constructor function caches the pointer to PCI Root Bridge I/O protocol.
    51  
     51
    5252  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.
    5454
    5555  @param  ImageHandle   The firmware allocated handle for the EFI image.
    5656  @param  SystemTable   A pointer to the EFI System Table.
    57  
     57
    5858  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.
    5959
     
    6767{
    6868  EFI_STATUS  Status;
    69  
     69
    7070  Status = gSmst->SmmLocateProtocol (&gEfiSmmPciRootBridgeIoProtocolGuid, NULL, (VOID**) &mSmmPciRootBridgeIo);
    7171  ASSERT_EFI_ERROR (Status);
     
    142142
    143143/**
    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
    145145  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
    148148  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
    155155  @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
    157157                                   after ExitBootServices().
    158158  @retval RETURN_UNSUPPORTED       The resources required to access the PCI device
  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf

    r58459 r58466  
    5050[Protocols]
    5151  gEfiSmmPciRootBridgeIoProtocolGuid               ## CONSUMES
    52  
     52
    5353[Depex.common.DXE_SMM_DRIVER]
    5454  gEfiSmmPciRootBridgeIoProtocolGuid
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette