Go to the source code of this file.
◆ __declspec()
17{
18 UNREFERENCED_PARAMETER(RegistryPath);
19 return STATUS_SUCCESS;
20}
◆ HviGetDebugDeviceOptions()
void HviGetDebugDeviceOptions |
( |
| ) |
|
|
inline |
◆ HviGetHypervisorFeatures()
void HviGetHypervisorFeatures |
( |
| ) |
|
|
inline |
◆ HviIsHypervisorVendorMicrosoft()
void HviIsHypervisorVendorMicrosoft |
( |
| ) |
|
|
inline |
◆ UsifGetByte()
UART_STATUS UsifGetByte |
( |
_Inout_ PCPPORT | Port, |
|
|
_Out_ PUCHAR | Byte ) |
138{
141
142 *Byte = 0;
143
144 if ((Port == NULL) || (Port->Address == NULL))
145 {
146 return UartNotReady;
147 }
148
149
150
151
152
154
155
156
157
158
160 {
161
162
163
164
167 return UartSuccess;
168 }
169
170 return UartNoData;
171}
unsigned char UCHAR
Definition BasicTypes.h:35
unsigned long ULONG
Definition BasicTypes.h:37
RequestedActionOfThePacket Value(0x1) 00000000
#define READ_REGISTER_ULONG
Definition uartp.h:41
#define USIF_RXD
Definition usif.c:25
#define USIF_FIFO_STAT_RXFFS
Definition usif.c:23
#define USIF_FIFO_STAT
Definition usif.c:21
◆ UsifInitializePort()
BOOLEAN UsifInitializePort |
( |
_In_opt_ _Null_terminated_ PCHAR | LoadOptions, |
|
|
_Inout_ PCPPORT | Port, |
|
|
BOOLEAN | MemoryMapped, |
|
|
UCHAR | AccessSize, |
|
|
UCHAR | BitWidth ) |
64{
65 UNREFERENCED_PARAMETER(LoadOptions);
66 UNREFERENCED_PARAMETER(AccessSize);
67 UNREFERENCED_PARAMETER(BitWidth);
68
69 if (MemoryMapped ==
FALSE)
70 {
72 }
73
74 Port->Flags = 0;
76}
#define TRUE
Definition BasicTypes.h:55
#define FALSE
Definition BasicTypes.h:54
◆ UsifPutByte()
UART_STATUS UsifPutByte |
( |
_Inout_ PCPPORT | Port, |
|
|
UCHAR | Byte, |
|
|
BOOLEAN | BusyWait ) |
200{
201 if ((Port == NULL) || (Port->Address == NULL))
202 {
203 return UartNotReady;
204 }
205
206
207
208
209
210 if (BusyWait !=
FALSE)
211 {
214 ;
215 }
218 {
219 return UartNotReady;
220 }
221
222
223
224
225
227 return UartSuccess;
228}
#define WRITE_REGISTER_ULONG
Definition uartp.h:42
#define USIF_FIFO_STAT_TXFFS
Definition usif.c:22
#define USIF_TXD
Definition usif.c:24
◆ UsifRxReady()
BOOLEAN UsifRxReady |
( |
_Inout_ PCPPORT | Port | ) |
|
250{
252
253 if ((Port == NULL) || (Port->Address == NULL))
254 {
256 }
257
258
259
260
261
262
265 {
267 }
268
270}
◆ UsifSetBaud()
101{
102 if ((Port == NULL) || (Port->Address == NULL))
103 {
105 }
106
107
108
109
110
111 Port->BaudRate = Rate;
113}