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