Home | History | Annotate | Download | only in Wpce791
      1 /*++
      2 
      3   Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
      4 
      5   This program and the accompanying materials are licensed and made available under
      7   the terms and conditions of the BSD License that accompanies this distribution.
      9   The full text of the license may be found at
     11   http://opensource.org/licenses/bsd-license.php.
     13 
     15   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     17   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     19 
     21 
     23 Module Name:
     24 
     25     LpcIsaAcpi.h
     26 
     27 Abstract:
     28 
     29     Isa Acpi interface
     30 
     31 
     32 
     33 --*/
     34 
     35 #ifndef _LPC_ISA_ACPI_H
     36 #define _LPC_ISA_ACPI_H
     37 
     38 
     39 
     40 #include "Protocol/IsaAcpi.h"
     41 #include "Library/DevicePathLib.h"
     42 
     43 
     44 typedef struct {
     45   UINT8  Register;
     46   UINT8  Value;
     47 } ICH_DMA_INIT;
     48 
     49 //
     50 // Prototypes for the ISA ACPI protocol interface
     51 //
     52 EFI_STATUS
     53 EFIAPI
     54 IsaDeviceEnumerate (
     55   IN     EFI_ISA_ACPI_PROTOCOL       *This,
     56   OUT    EFI_ISA_ACPI_DEVICE_ID      **Device
     57   );
     58 
     59 EFI_STATUS
     60 EFIAPI
     61 IsaDeviceSetPower (
     62   IN     EFI_ISA_ACPI_PROTOCOL       *This,
     63   IN     EFI_ISA_ACPI_DEVICE_ID      *Device,
     64   IN     BOOLEAN                     OnOff
     65   );
     66 
     67 EFI_STATUS
     68 EFIAPI
     69 IsaGetCurrentResource (
     70   IN     EFI_ISA_ACPI_PROTOCOL       *This,
     71   IN     EFI_ISA_ACPI_DEVICE_ID      *Device,
     72   OUT    EFI_ISA_ACPI_RESOURCE_LIST  **ResourceList
     73   );
     74 
     75 EFI_STATUS
     76 EFIAPI
     77 IsaGetPossibleResource (
     78   IN     EFI_ISA_ACPI_PROTOCOL       *This,
     79   IN     EFI_ISA_ACPI_DEVICE_ID      *Device,
     80   OUT    EFI_ISA_ACPI_RESOURCE_LIST  **ResourceList
     81   );
     82 
     83 EFI_STATUS
     84 EFIAPI
     85 IsaSetResource (
     86   IN     EFI_ISA_ACPI_PROTOCOL       *This,
     87   IN     EFI_ISA_ACPI_DEVICE_ID      *Device,
     88   IN     EFI_ISA_ACPI_RESOURCE_LIST  *ResourceList
     89   );
     90 
     91 EFI_STATUS
     92 EFIAPI
     93 IsaEnableDevice (
     94   IN    EFI_ISA_ACPI_PROTOCOL        *This,
     95   IN    EFI_ISA_ACPI_DEVICE_ID       *Device,
     96   IN    BOOLEAN                      Enable
     97   );
     98 
     99 EFI_STATUS
    100 EFIAPI
    101 IsaInitDevice (
    102   IN    EFI_ISA_ACPI_PROTOCOL        *This,
    103   IN    EFI_ISA_ACPI_DEVICE_ID       *Device
    104   );
    105 
    106 EFI_STATUS
    107 EFIAPI
    108 LpcInterfaceInit (
    109   IN    EFI_ISA_ACPI_PROTOCOL        *This
    110 );
    111 
    112 VOID
    113 EmptyResourceList (
    114   IN    UINT32      DeviceHid
    115 );
    116 
    117 #endif
    118