]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/CpuIoDxe/CpuIoAccess.h
Fix build issue in linux environment.
[mirror_edk2.git] / DuetPkg / CpuIoDxe / CpuIoAccess.h
1 /*++
2 #
3 # Copyright (c) 2004, Intel Corporation
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12
13 Module Name:
14
15 CpuIoAccess.h
16
17 Abstract:
18
19 --*/
20
21 #ifndef _CPU_IO_ACCESS_H
22 #define _CPU_IO_ACCESS_H
23
24
25 UINT8
26 EFIAPI
27 CpuIoRead8 (
28 IN UINT16 Port
29 )
30 /*++
31
32 Routine Description:
33
34 GC_TODO: Add function description
35
36 Arguments:
37
38 Port - GC_TODO: add argument description
39
40 Returns:
41
42 GC_TODO: add return values
43
44 --*/
45 ;
46
47 /*++
48 Routine Description:
49 Cpu I/O read port
50 Arguments:
51 Port: - Port number to read
52 Returns:
53 Return read 8 bit value
54 --*/
55 UINT16
56 EFIAPI
57 CpuIoRead16 (
58 IN UINT16 Port
59 )
60 /*++
61
62 Routine Description:
63
64 GC_TODO: Add function description
65
66 Arguments:
67
68 Port - GC_TODO: add argument description
69
70 Returns:
71
72 GC_TODO: add return values
73
74 --*/
75 ;
76
77 /*++
78 Routine Description:
79 Cpu I/O read port
80 Arguments:
81 Port: - Port number to read
82 Returns:
83 Return read 16 bit value
84 --*/
85 UINT32
86 EFIAPI
87 CpuIoRead32 (
88 IN UINT16 Port
89 )
90 /*++
91
92 Routine Description:
93
94 GC_TODO: Add function description
95
96 Arguments:
97
98 Port - GC_TODO: add argument description
99
100 Returns:
101
102 GC_TODO: add return values
103
104 --*/
105 ;
106
107 /*++
108 Routine Description:
109 Cpu I/O read port
110 Arguments:
111 Port: - Port number to read
112 Returns:
113 Return read 32 bit value
114 --*/
115 VOID
116 EFIAPI
117 CpuIoWrite8 (
118 IN UINT16 Port,
119 IN UINT32 Data
120 )
121 /*++
122
123 Routine Description:
124
125 GC_TODO: Add function description
126
127 Arguments:
128
129 Port - GC_TODO: add argument description
130 Data - GC_TODO: add argument description
131
132 Returns:
133
134 GC_TODO: add return values
135
136 --*/
137 ;
138
139 /*++
140 Routine Description:
141 Cpu I/O write 8 bit data to port
142 Arguments:
143 Port: - Port number to read
144 Data: - Data to write to the Port
145 Returns:
146 None
147 --*/
148 VOID
149 EFIAPI
150 CpuIoWrite16 (
151 IN UINT16 Port,
152 IN UINT32 Data
153 )
154 /*++
155
156 Routine Description:
157
158 GC_TODO: Add function description
159
160 Arguments:
161
162 Port - GC_TODO: add argument description
163 Data - GC_TODO: add argument description
164
165 Returns:
166
167 GC_TODO: add return values
168
169 --*/
170 ;
171
172 /*++
173 Routine Description:
174 Cpu I/O write 16 bit data to port
175 Arguments:
176 Port: - Port number to read
177 Data: - Data to write to the Port
178 Returns:
179 None
180 --*/
181 VOID
182 EFIAPI
183 CpuIoWrite32 (
184 IN UINT16 Port,
185 IN UINT32 Data
186 )
187 /*++
188
189 Routine Description:
190
191 GC_TODO: Add function description
192
193 Arguments:
194
195 Port - GC_TODO: add argument description
196 Data - GC_TODO: add argument description
197
198 Returns:
199
200 GC_TODO: add return values
201
202 --*/
203 ;
204
205 /*++
206 Routine Description:
207 Cpu I/O write 32 bit data to port
208 Arguments:
209 Port: - Port number to read
210 Data: - Data to write to the Port
211 Returns:
212 None
213 --*/
214 #endif