Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 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/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
r58459 r58466 3 3 4 4 Copyright (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. 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. 12 12 **/ 13 13 … … 147 147 Enumerate the ISA devices on the ISA bus. 148 148 149 @param Device Point to device ID instance 149 @param Device Point to device ID instance 150 150 @param IsaAcpiDevice On return, point to resource data for Isa device 151 151 @param NextIsaAcpiDevice On return, point to resource data for next Isa device … … 168 168 } else { 169 169 for(Index = 0; gPcatIsaAcpiDeviceList[Index].ResourceItem != NULL; Index++) { 170 if (Device->HID == gPcatIsaAcpiDeviceList[Index].Device.HID && 170 if (Device->HID == gPcatIsaAcpiDeviceList[Index].Device.HID && 171 171 Device->UID == gPcatIsaAcpiDeviceList[Index].Device.UID ) { 172 172 break; … … 189 189 190 190 @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 192 192 193 193 @retval EFI_NOT_FOUND Can not found the next Isa device. … … 218 218 219 219 @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 221 221 @param OnOff TRUE for setting isa device power on, 222 222 FALSE for setting isa device power off … … 233 233 { 234 234 return EFI_SUCCESS; 235 } 235 } 236 236 237 237 /** … … 239 239 240 240 @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 242 242 @param ResourceList On return, point to resources instances for given isa device 243 243 … … 249 249 IsaGetCurrentResource ( 250 250 IN EFI_ISA_ACPI_PROTOCOL *This, 251 IN EFI_ISA_ACPI_DEVICE_ID *Device, 251 IN EFI_ISA_ACPI_DEVICE_ID *Device, 252 252 OUT EFI_ISA_ACPI_RESOURCE_LIST **ResourceList 253 253 ) … … 262 262 /** 263 263 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 267 267 @param ResourceList On return, point to resources instances for given isa device 268 268 … … 273 273 IsaGetPossibleResource ( 274 274 IN EFI_ISA_ACPI_PROTOCOL *This, 275 IN EFI_ISA_ACPI_DEVICE_ID *Device, 275 IN EFI_ISA_ACPI_DEVICE_ID *Device, 276 276 OUT EFI_ISA_ACPI_RESOURCE_LIST **ResourceList 277 277 ) … … 284 284 285 285 @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 287 287 @param ResourceList Point to resources instances for given isa device 288 288 … … 294 294 IsaSetResource ( 295 295 IN EFI_ISA_ACPI_PROTOCOL *This, 296 IN EFI_ISA_ACPI_DEVICE_ID *Device, 296 IN EFI_ISA_ACPI_DEVICE_ID *Device, 297 297 IN EFI_ISA_ACPI_RESOURCE_LIST *ResourceList 298 298 ) … … 300 300 return EFI_SUCCESS; 301 301 } 302 302 303 303 /** 304 304 Enable/Disable the specific ISA device. 305 305 306 306 @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 308 308 @param Enable Enable/Disable 309 309 … … 319 319 ) 320 320 { 321 return EFI_SUCCESS; 321 return EFI_SUCCESS; 322 322 } 323 323 … … 326 326 327 327 @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 329 329 330 330 @return EFI_SUCESS Success to initialize. … … 354 354 IsaInterfaceInit ( 355 355 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.