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/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c

    r58459 r58466  
    33
    44Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
    5 This program and the accompanying materials                         
    6 are licensed and made available under the terms and conditions of the BSD License         
    7 which accompanies this distribution.  The full text of the license may be found at       
    8 http://opensource.org/licenses/bsd-license.php                                           
    9                                                                                          
    10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
    11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
     5This program and the accompanying materials
     6are licensed and made available under the terms and conditions of the BSD License
     7which accompanies this distribution.  The full text of the license may be found at
     8http://opensource.org/licenses/bsd-license.php
     9
     10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
    1212**/
    1313
     
    147147  Enumerate the ISA devices on the ISA bus.
    148148
    149   @param Device             Point to device ID instance 
     149  @param Device             Point to device ID instance
    150150  @param IsaAcpiDevice      On return, point to resource data for Isa device
    151151  @param NextIsaAcpiDevice  On return, point to resource data for next Isa device
     
    168168  } else {
    169169    for(Index = 0; gPcatIsaAcpiDeviceList[Index].ResourceItem != NULL; Index++) {
    170       if (Device->HID == gPcatIsaAcpiDeviceList[Index].Device.HID && 
     170      if (Device->HID == gPcatIsaAcpiDeviceList[Index].Device.HID &&
    171171          Device->UID == gPcatIsaAcpiDeviceList[Index].Device.UID    ) {
    172172        break;
     
    189189
    190190  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    191   @param Device          Point to device ID instance 
     191  @param Device          Point to device ID instance
    192192
    193193  @retval EFI_NOT_FOUND Can not found the next Isa device.
     
    218218
    219219  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    220   @param Device          Point to device ID instance 
     220  @param Device          Point to device ID instance
    221221  @param OnOff           TRUE for setting isa device power on,
    222222                         FALSE for setting isa device power off
     
    233233{
    234234  return EFI_SUCCESS;
    235 } 
     235}
    236236
    237237/**
     
    239239
    240240  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    241   @param Device          Point to device ID instance 
     241  @param Device          Point to device ID instance
    242242  @param ResourceList    On return, point to resources instances for given isa device
    243243
     
    249249IsaGetCurrentResource (
    250250  IN  EFI_ISA_ACPI_PROTOCOL       *This,
    251   IN  EFI_ISA_ACPI_DEVICE_ID      *Device, 
     251  IN  EFI_ISA_ACPI_DEVICE_ID      *Device,
    252252  OUT EFI_ISA_ACPI_RESOURCE_LIST  **ResourceList
    253253  )
     
    262262/**
    263263  Get possible resource for the specific ISA device.
    264  
    265   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    266   @param Device          Point to device ID instance 
     264
     265  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
     266  @param Device          Point to device ID instance
    267267  @param ResourceList    On return, point to resources instances for given isa device
    268268
     
    273273IsaGetPossibleResource (
    274274  IN  EFI_ISA_ACPI_PROTOCOL       *This,
    275   IN  EFI_ISA_ACPI_DEVICE_ID      *Device, 
     275  IN  EFI_ISA_ACPI_DEVICE_ID      *Device,
    276276  OUT EFI_ISA_ACPI_RESOURCE_LIST  **ResourceList
    277277  )
     
    284284
    285285  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    286   @param Device          Point to device ID instance 
     286  @param Device          Point to device ID instance
    287287  @param ResourceList    Point to resources instances for given isa device
    288288
     
    294294IsaSetResource (
    295295  IN EFI_ISA_ACPI_PROTOCOL       *This,
    296   IN EFI_ISA_ACPI_DEVICE_ID      *Device, 
     296  IN EFI_ISA_ACPI_DEVICE_ID      *Device,
    297297  IN EFI_ISA_ACPI_RESOURCE_LIST  *ResourceList
    298298  )
     
    300300  return EFI_SUCCESS;
    301301}
    302        
     302
    303303/**
    304304  Enable/Disable the specific ISA device.
    305305
    306306  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    307   @param Device          Point to device ID instance 
     307  @param Device          Point to device ID instance
    308308  @param Enable          Enable/Disable
    309309
     
    319319  )
    320320{
    321   return EFI_SUCCESS; 
     321  return EFI_SUCCESS;
    322322}
    323323
     
    326326
    327327  @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
    328   @param Device          Point to device ID instance 
     328  @param Device          Point to device ID instance
    329329
    330330  @return EFI_SUCESS  Success to initialize.
     
    354354IsaInterfaceInit (
    355355  IN EFI_ISA_ACPI_PROTOCOL  *This
    356 ) 
    357 {
    358   return EFI_SUCCESS;
    359 } 
     356)
     357{
     358  return EFI_SUCCESS;
     359}
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