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:
2 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/LegacyRegion2Dxe/LegacyRegion2.c

    r48674 r58466  
    22  Dummy implementation of Legacy Region 2 Protocol.
    33
    4   This generic implementation of the Legacy Region 2 Protocol does not actually 
    5   perform any lock/unlock operations.  This module may be used on platforms 
    6   that do not provide HW locking of the legacy memory regions.  It can also 
     4  This generic implementation of the Legacy Region 2 Protocol does not actually
     5  perform any lock/unlock operations.  This module may be used on platforms
     6  that do not provide HW locking of the legacy memory regions.  It can also
    77  be used as a template driver for implementing the Legacy Region 2 Protocol on
    88  a platform that does support HW locking of the legacy memory regions.
     
    3434  Modify the hardware to allow (decode) or disallow (not decode) memory reads in a region.
    3535
    36   If the On parameter evaluates to TRUE, this function enables memory reads in the address range 
     36  If the On parameter evaluates to TRUE, this function enables memory reads in the address range
    3737  Start to (Start + Length - 1).
    38   If the On parameter evaluates to FALSE, this function disables memory reads in the address range 
     38  If the On parameter evaluates to FALSE, this function disables memory reads in the address range
    3939  Start to (Start + Length - 1).
    4040
     
    115115  Modify the hardware to disallow memory attribute changes in a region.
    116116
    117   This function makes the attributes of a region read only. Once a region is boot-locked with this 
     117  This function makes the attributes of a region read only. Once a region is boot-locked with this
    118118  function, the read and write attributes of that region cannot be changed until a power cycle has
    119119  reset the boot-lock attribute. Calls to Decode(), Lock() and Unlock() will have no effect.
     
    156156  Modify the hardware to allow memory writes in a region.
    157157
    158   This function changes the attributes of a memory range to allow writes. 
     158  This function changes the attributes of a memory range to allow writes.
    159159
    160160  @param  This[in]              Indicates the EFI_LEGACY_REGION_PROTOCOL instance.
     
    194194  Get region information for the attributes of the Legacy Region.
    195195
    196   This function is used to discover the granularity of the attributes for the memory in the legacy 
     196  This function is used to discover the granularity of the attributes for the memory in the legacy
    197197  region. Each attribute may have a different granularity and the granularity may not be the same
    198   for all memory ranges in the legacy region. 
     198  for all memory ranges in the legacy region.
    199199
    200200  @param  This[in]              Indicates the EFI_LEGACY_REGION2_PROTOCOL instance.
     
    224224  The user Entry Point for module LegacyRegionDxe.  The user code starts with this function.
    225225
    226   @param[in] ImageHandle    The firmware allocated handle for the EFI image. 
     226  @param[in] ImageHandle    The firmware allocated handle for the EFI image.
    227227  @param[in] SystemTable    A pointer to the EFI System Table.
    228  
     228
    229229  @retval EFI_SUCCESS       The entry point is executed successfully.
    230230
     
    238238{
    239239  EFI_STATUS  Status;
    240  
     240
    241241  //
    242242  // Make sure the Legacy Region 2 Protocol is not already installed in the system
    243243  //
    244244  ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEfiLegacyRegion2ProtocolGuid);
    245  
     245
    246246  //
    247247  // Install the protocol on a new handle.
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