ReactOS  0.4.15-dev-994-ga9f6032
headless.c File Reference
#include <freeldr.h>
#include <cportlib/cportlib.h>
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for headless.c:

Go to the source code of this file.

Classes

struct  _SYSID_UUID_ENTRY
 

Macros

#define SYSID_TYPE_UUID   "_UUID_"
 
#define SYSID_UUID_DATA_SIZE   16
 

Typedefs

typedef struct _SYSID_UUID_ENTRY SYSID_UUID_ENTRY
 
typedef struct _SYSID_UUID_ENTRYPSYSID_UUID_ENTRY
 

Functions

VOID WinLdrLoadGUID (OUT PGUID SystemGuid)
 
BOOLEAN WinLdrPortInitialize (IN ULONG BaudRate, IN ULONG PortNumber, IN PUCHAR PortAddress, IN BOOLEAN TerminalConnected, OUT PULONG PortId)
 
VOID WinLdrPortPutByte (IN ULONG PortId, IN UCHAR Byte)
 
BOOLEAN WinLdrPortGetByte (IN ULONG PortId, OUT PUCHAR Byte)
 
BOOLEAN WinLdrPortPollOnly (IN ULONG PortId)
 
VOID WinLdrEnableFifo (IN ULONG PortId, IN BOOLEAN Enable)
 
VOID WinLdrInitializeHeadlessPort (VOID)
 
VOID WinLdrSetupEms (IN PCHAR BootOptions)
 

Variables

HEADLESS_LOADER_BLOCK LoaderRedirectionInformation
 
BOOLEAN WinLdrTerminalConnected
 
ULONG WinLdrTerminalDeviceId
 
ULONG WinLdrTerminalDelay
 
CPPORT Port [4]
 

Macro Definition Documentation

◆ SYSID_TYPE_UUID

#define SYSID_TYPE_UUID   "_UUID_"

Definition at line 15 of file headless.c.

◆ SYSID_UUID_DATA_SIZE

#define SYSID_UUID_DATA_SIZE   16

Definition at line 16 of file headless.c.

Typedef Documentation

◆ PSYSID_UUID_ENTRY

◆ SYSID_UUID_ENTRY

Function Documentation

◆ WinLdrEnableFifo()

VOID WinLdrEnableFifo ( IN ULONG  PortId,
IN BOOLEAN  Enable 
)

Definition at line 198 of file headless.c.

200 {
201  CpEnableFifo(Port[PortId].Address, Enable);
202 }
CPPORT Port[4]
Definition: headless.c:34
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:140
static WCHAR Address[46]
Definition: ping.c:68
VOID NTAPI CpEnableFifo(IN PUCHAR Address, IN BOOLEAN Enable)
Definition: cport.c:54

Referenced by WinLdrInitializeHeadlessPort().

◆ WinLdrInitializeHeadlessPort()

VOID WinLdrInitializeHeadlessPort ( VOID  )

Definition at line 205 of file headless.c.

206 {
207  ULONG PortNumber, BaudRate;
208  PUCHAR PortAddress;
209  PCHAR AnsiReset = "\x1B[m";
210  ULONG i;
211 
215 
216 #if defined(SARCH_PC98)
217  /* Pick a port address */
218  if (PortNumber)
219  {
220  if (!PortAddress)
221  {
222  if (PortNumber == 2)
224  else
226  }
227  }
228  else
229  {
230  /* No number, so no EMS */
232  return;
233  }
234 #else
235  /* Pick a port address */
236  if (PortNumber)
237  {
238  if (!PortAddress)
239  {
240  switch (PortNumber)
241  {
242  case 2:
244  break;
245 
246  case 3:
248  break;
249 
250  case 4:
252  break;
253 
254  default:
256  break;
257  }
258  }
259  }
260  else
261  {
262  /* No number, so no EMS */
264  return;
265  }
266 #endif
267 
268  /* Call arch code to initialize the port */
271  BaudRate,
272  PortNumber,
273  PortAddress,
276 
278  {
279  /* Port seems usable, set it up and get the BIOS GUID */
281 
283 
284  /* Calculate delay in us based on the baud, assume 9600 if none given */
285  if (!BaudRate)
286  {
287  BaudRate = 9600;
289  }
290 
291  WinLdrTerminalDelay = (10 * 1000 * 1000) / (BaudRate / 10) / 6;
292 
293  /* Sent an ANSI reset sequence to get the terminal up and running */
294  for (i = 0; i < strlen(AnsiReset); i++)
295  {
298  }
299  }
300 }
signed char * PCHAR
Definition: retypes.h:7
VOID StallExecutionProcessor(ULONG Microseconds)
Definition: pchw.c:60
ULONG WinLdrTerminalDeviceId
Definition: headless.c:31
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
#define TRUE
Definition: types.h:120
unsigned char * PUCHAR
Definition: retypes.h:3
HEADLESS_LOADER_BLOCK LoaderRedirectionInformation
Definition: headless.c:29
ULONG WinLdrTerminalDelay
Definition: headless.c:32
VOID WinLdrPortPutByte(IN ULONG PortId, IN UCHAR Byte)
Definition: headless.c:176
PUCHAR PortAddress
Definition: arc.h:312
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define FALSE
Definition: types.h:117
ULONG PortNumber
Definition: storport.c:18
BOOLEAN WinLdrPortInitialize(IN ULONG BaudRate, IN ULONG PortNumber, IN PUCHAR PortAddress, IN BOOLEAN TerminalConnected, OUT PULONG PortId)
Definition: headless.c:64
BOOLEAN WinLdrTerminalConnected
Definition: headless.c:30
VOID WinLdrEnableFifo(IN ULONG PortId, IN BOOLEAN Enable)
Definition: headless.c:198
VOID WinLdrLoadGUID(OUT PGUID SystemGuid)
Definition: headless.c:45
unsigned int ULONG
Definition: retypes.h:1

Referenced by WinLdrSetupEms().

◆ WinLdrLoadGUID()

VOID WinLdrLoadGUID ( OUT PGUID  SystemGuid)

Definition at line 45 of file headless.c.

46 {
47  PSYSID_UUID_ENTRY CurrentAddress;
48 
49  CurrentAddress = (PSYSID_UUID_ENTRY)0xE0000;
50  while (CurrentAddress < (PSYSID_UUID_ENTRY)0x100000)
51  {
52  if (RtlCompareMemory(&CurrentAddress->Type, SYSID_TYPE_UUID, 6) == 6)
53  {
54  RtlCopyMemory(SystemGuid, &CurrentAddress->UUID, SYSID_UUID_DATA_SIZE);
55  return;
56  }
57  CurrentAddress = (PSYSID_UUID_ENTRY)((ULONG_PTR)CurrentAddress + 1);
58  }
59 
61 }
UCHAR Type[6]
Definition: headless.c:20
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
#define SYSID_TYPE_UUID
Definition: headless.c:15
UCHAR UUID[SYSID_UUID_DATA_SIZE]
Definition: headless.c:23
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define SYSID_UUID_DATA_SIZE
Definition: headless.c:16
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
struct _SYSID_UUID_ENTRY * PSYSID_UUID_ENTRY
Definition: headless.c:18
#define RtlCompareMemory(s1, s2, l)
Definition: env_spec_w32.h:465

Referenced by WinLdrInitializeHeadlessPort().

◆ WinLdrPortGetByte()

BOOLEAN WinLdrPortGetByte ( IN ULONG  PortId,
OUT PUCHAR  Byte 
)

Definition at line 183 of file headless.c.

185 {
186  return CpGetByte(&Port[PortId], Byte, TRUE, FALSE) == CP_GET_SUCCESS;
187 }
CPPORT Port[4]
Definition: headless.c:34
#define TRUE
Definition: types.h:120
USHORT NTAPI CpGetByte(IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll)
Definition: cport.c:256
#define FALSE
Definition: types.h:117
#define CP_GET_SUCCESS
Definition: cportlib.h:18
unsigned char Byte
Definition: zlib.h:37

◆ WinLdrPortInitialize()

BOOLEAN WinLdrPortInitialize ( IN ULONG  BaudRate,
IN ULONG  PortNumber,
IN PUCHAR  PortAddress,
IN BOOLEAN  TerminalConnected,
OUT PULONG  PortId 
)

Definition at line 64 of file headless.c.

69 {
70 #if defined(SARCH_PC98)
71  /* Set default baud rate */
72  if (BaudRate == 0) BaudRate = 9600;
73 
74  /* Check if port or address given */
75  if (PortNumber)
76  {
77  /* Pick correct address for port */
78  if (!PortAddress)
79  {
80  if (PortNumber == 1)
81  {
82  PortAddress = (PUCHAR)0x30;
83  }
84  else
85  {
86  PortAddress = (PUCHAR)0x238;
87  PortNumber = 2;
88  }
89  }
90  }
91  else
92  {
93  /* Pick correct port for address */
94  PortAddress = (PUCHAR)0x30;
95  if (CpDoesPortExist(PortAddress))
96  {
97  PortNumber = 1;
98  }
99  else
100  {
101  PortAddress = (PUCHAR)0x238;
102  if (!CpDoesPortExist(PortAddress))
103  return FALSE;
104 
105  PortNumber = 2;
106  }
107  }
108 #else
109  /* Set default baud rate */
110  if (BaudRate == 0) BaudRate = 19200;
111 
112  /* Check if port or address given */
113  if (PortNumber)
114  {
115  /* Pick correct address for port */
116  if (!PortAddress)
117  {
118  switch (PortNumber)
119  {
120  case 1:
121  PortAddress = (PUCHAR)0x3F8;
122  break;
123 
124  case 2:
125  PortAddress = (PUCHAR)0x2F8;
126  break;
127 
128  case 3:
129  PortAddress = (PUCHAR)0x3E8;
130  break;
131 
132  default:
133  PortNumber = 4;
134  PortAddress = (PUCHAR)0x2E8;
135  }
136  }
137  }
138  else
139  {
140  /* Pick correct port for address */
141  PortAddress = (PUCHAR)0x2F8;
142  if (CpDoesPortExist(PortAddress))
143  {
144  PortNumber = 2;
145  }
146  else
147  {
148  PortAddress = (PUCHAR)0x3F8;
149  if (!CpDoesPortExist(PortAddress)) return FALSE;
150  PortNumber = 1;
151  }
152  }
153 #endif
154 
155  /* Not yet supported */
157 
158  /* Check if port exists */
159  if ((CpDoesPortExist(PortAddress)) || (CpDoesPortExist(PortAddress)))
160  {
161  /* Initialize port for first time, or re-initialize if specified */
162  if (((TerminalConnected) && (Port[PortNumber - 1].Address)) ||
163  !(Port[PortNumber - 1].Address))
164  {
165  /* Initialize the port, return it */
166  CpInitialize(&Port[PortNumber - 1], PortAddress, BaudRate);
167  *PortId = PortNumber - 1;
168  return TRUE;
169  }
170  }
171 
172  return FALSE;
173 }
CPPORT Port[4]
Definition: headless.c:34
#define TRUE
Definition: types.h:120
unsigned char * PUCHAR
Definition: retypes.h:3
HEADLESS_LOADER_BLOCK LoaderRedirectionInformation
Definition: headless.c:29
BOOLEAN NTAPI CpDoesPortExist(IN PUCHAR Address)
Definition: cport.c:227
#define FALSE
Definition: types.h:117
ULONG PortNumber
Definition: storport.c:18
static WCHAR Address[46]
Definition: ping.c:68
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
NTSTATUS NTAPI CpInitialize(IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate)
Definition: cport.c:88
UCHAR IsMMIODevice
Definition: arc.h:320

Referenced by WinLdrInitializeHeadlessPort().

◆ WinLdrPortPollOnly()

BOOLEAN WinLdrPortPollOnly ( IN ULONG  PortId)

Definition at line 190 of file headless.c.

191 {
192  UCHAR Dummy;
193 
194  return CpGetByte(&Port[PortId], &Dummy, FALSE, TRUE) == CP_GET_SUCCESS;
195 }
CPPORT Port[4]
Definition: headless.c:34
#define TRUE
Definition: types.h:120
USHORT NTAPI CpGetByte(IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll)
Definition: cport.c:256
#define FALSE
Definition: types.h:117
unsigned char UCHAR
Definition: xmlstorage.h:181
#define CP_GET_SUCCESS
Definition: cportlib.h:18

◆ WinLdrPortPutByte()

VOID WinLdrPortPutByte ( IN ULONG  PortId,
IN UCHAR  Byte 
)

Definition at line 176 of file headless.c.

178 {
179  CpPutByte(&Port[PortId], Byte);
180 }
CPPORT Port[4]
Definition: headless.c:34
VOID NTAPI CpPutByte(IN PCPPORT Port, IN UCHAR Byte)
Definition: cport.c:306
unsigned char Byte
Definition: zlib.h:37

Referenced by WinLdrInitializeHeadlessPort().

◆ WinLdrSetupEms()

VOID WinLdrSetupEms ( IN PCHAR  BootOptions)

Definition at line 303 of file headless.c.

304 {
305  PCHAR Settings, RedirectPort;
306 
307  /* Start fresh */
310 
311  /* Use a direction port if one was given, or use ACPI to detect one instead */
312  Settings = strstr(BootOptions, "/redirect=");
313  if (Settings)
314  {
315  RedirectPort = strstr(Settings, "com");
316  if (RedirectPort)
317  {
318  RedirectPort += sizeof("com") - 1;
320  LoaderRedirectionInformation.TerminalType = 1; // HeadlessSerialPort
321  }
322  else
323  {
324  RedirectPort = strstr(Settings, "usebiossettings");
325  if (RedirectPort)
326  {
327  UiDrawStatusText("ACPI SRT Table Not Supported...");
328  return;
329  }
330  else
331  {
334  {
336  }
337  }
338  }
339  }
340 
341  /* Use a direction baudrate if one was given */
342  Settings = strstr(BootOptions, "/redirectbaudrate=");
343  if (Settings)
344  {
345  if (strstr(Settings, "115200"))
346  {
348  }
349  else if (strstr(Settings, "57600"))
350  {
352  }
353  else if (strstr(Settings, "19200"))
354  {
356  }
357  else
358  {
360  }
361  }
362 
363  /* Enable headless support if parameters were found */
365  {
367  {
369  }
370 
372  }
373 }
signed char * PCHAR
Definition: retypes.h:7
UINT32 strtoul(const char *String, char **Terminator, UINT32 Base)
Definition: utclib.c:696
char * strstr(char *String1, char *String2)
Definition: utclib.c:653
unsigned char * PUCHAR
Definition: retypes.h:3
HEADLESS_LOADER_BLOCK LoaderRedirectionInformation
Definition: headless.c:29
VOID WinLdrInitializeHeadlessPort(VOID)
Definition: headless.c:205
PUCHAR PortAddress
Definition: arc.h:312
UCHAR TerminalType
Definition: arc.h:321
#define PCI_INVALID_VENDORID
Definition: iotypes.h:3252
SETTINGS Settings
Definition: charmap.c:26
USHORT PciDeviceId
Definition: arc.h:313
VOID UiDrawStatusText(PCSTR StatusText)
Definition: ui.c:249
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262

Referenced by LoadAndBootWindowsCommon().

Variable Documentation

◆ LoaderRedirectionInformation

HEADLESS_LOADER_BLOCK LoaderRedirectionInformation

◆ Port

CPPORT Port[4]
Initial value:
=
{
{NULL, 0, TRUE},
{NULL, 0, TRUE},
{NULL, 0, TRUE},
{NULL, 0, TRUE}
}
#define TRUE
Definition: types.h:120
smooth NULL
Definition: ftsmooth.c:416

Definition at line 34 of file headless.c.

Referenced by __inbyte(), __inbytestring(), __indword(), __indwordstring(), __inword(), __inwordstring(), __outbyte(), __outbytestring(), __outdword(), __outdwordstring(), __outword(), __outwordstring(), _inp(), _inpd(), _inpw(), _outp(), _outpd(), _outpw(), AddItem(), AddrBuildAddress(), AddrFindShared(), AddrGetAddress(), AddrSearchFirst(), AllocatePort(), CloneAddrInfo(), CmosReadData(), CmosWriteAddress(), CmosWriteData(), CpGetByte(), CpInitialize(), CpPutByte(), CpReadLsr(), CpSetBaud(), DbgkForwardException(), DbgkpSendApiMessageLpc(), DeallocatePort(), DECLARE_INTERFACE_(), CConfig::Default(), DetectSerialMouse(), DmaPageReadPort(), DmaPageWritePort(), DmaReadPort(), DmaWritePort(), DnsAddr_BuildFromIp4(), DnsAddr_BuildFromIp6(), DumpInfo(), EHCI_PollController(), EHCI_RH_ChirpRootPort(), EHCI_RH_ClearFeaturePortConnectChange(), EHCI_RH_ClearFeaturePortEnable(), EHCI_RH_ClearFeaturePortEnableChange(), EHCI_RH_ClearFeaturePortOvercurrentChange(), EHCI_RH_ClearFeaturePortPower(), EHCI_RH_ClearFeaturePortResetChange(), EHCI_RH_ClearFeaturePortSuspend(), EHCI_RH_ClearFeaturePortSuspendChange(), EHCI_RH_FinishReset(), EHCI_RH_GetPortStatus(), EHCI_RH_PortResetComplete(), EHCI_RH_PortResumeComplete(), EHCI_RH_SetFeaturePortEnable(), EHCI_RH_SetFeaturePortPower(), EHCI_RH_SetFeaturePortReset(), EHCI_RH_SetFeaturePortSuspend(), EHCI_StartController(), EmulatorReadIo(), EmulatorWriteIo(), FAST486_OPCODE_HANDLER(), Fast486IoReadCallback(), Fast486IoWriteCallback(), GetDiskBySCSI(), CConfig::GetPort(), GetPortName(), GetSerialMousePnpId(), GetTopologyMiniport(), HalpReportResourceUsage(), i8042PacketWrite(), i8042SynchWritePort(), InitializeSerialPort(), InstallSubdevice(), IopCompleteRequest(), IOReadB(), IOReadD(), IOReadStrB(), IOReadStrD(), IOReadStrW(), IOReadW(), IOWriteB(), IOWriteD(), IOWriteStrB(), IOWriteStrD(), IOWriteStrW(), IOWriteW(), KdInitSystem(), LlbHwGetUartBase(), LookupAddressForName(), LpcpClosePort(), LpcpCopyRequestData(), LpcpCreatePort(), LpcpDeletePort(), LpcpDestroyPortQueue(), LpcpFindDataInfoMessage(), LpcpFreeDataInfoMessage(), LpcpFreePortClientSecurity(), LpcpInitializePortQueue(), LpcpSaveDataInfoMessage(), LpcpSetPortToThread(), LpcpValidateClientPort(), LpcRequestPort(), LpcRequestWaitReplyPort(), NdisImmediateReadPortUchar(), NdisImmediateReadPortUlong(), NdisImmediateReadPortUshort(), NdisImmediateWritePortUchar(), NdisImmediateWritePortUlong(), NdisImmediateWritePortUshort(), NewAddrInfo(), NewPortDMus(), NewPortWaveCyclic(), NewPortWavePci(), NewPortWaveRT(), NtCompleteConnectPort(), NtImpersonateClientOfPort(), NtReplyPort(), NtReplyWaitReceivePortEx(), NtRequestPort(), NtRequestWaitReplyPort(), NtSecureConnectPort(), OHCI_RH_ClearFeaturePortConnectChange(), OHCI_RH_ClearFeaturePortEnable(), OHCI_RH_ClearFeaturePortEnableChange(), OHCI_RH_ClearFeaturePortOvercurrentChange(), OHCI_RH_ClearFeaturePortPower(), OHCI_RH_ClearFeaturePortResetChange(), OHCI_RH_ClearFeaturePortSuspend(), OHCI_RH_ClearFeaturePortSuspendChange(), OHCI_RH_GetPortStatus(), OHCI_RH_SetFeaturePortEnable(), OHCI_RH_SetFeaturePortPower(), OHCI_RH_SetFeaturePortReset(), OHCI_RH_SetFeaturePortSuspend(), PicReadCommand(), PicReadData(), PicWriteCommand(), PicWriteData(), PinPropertyHandler(), PitReadPort(), PitWritePort(), PortInB(), PortInsB(), PortInsW(), PortInW(), PortOutB(), PortOutsB(), PortOutsW(), PortOutW(), PpiReadPort(), PS2PortQueueRead(), PS2QueuePush(), PS2ReadControl(), PS2ReadData(), PS2SendCommand(), PS2WriteControl(), QueryDNS(), READ_PORT_BUFFER_UCHAR(), READ_PORT_BUFFER_ULONG(), READ_PORT_BUFFER_USHORT(), READ_PORT_UCHAR(), READ_PORT_ULONG(), READ_PORT_USHORT(), RegisterIoPort(), RtlIpv4AddressToStringExA(), RtlIpv4AddressToStringExW(), RtlIpv4StringToAddressExA(), RtlIpv4StringToAddressExW(), RtlIpv6AddressToStringExA(), RtlIpv6AddressToStringExW(), RtlIpv6StringToAddressExA(), RtlIpv6StringToAddressExW(), ScsiPortReadPortBufferUchar(), ScsiPortReadPortBufferUlong(), ScsiPortReadPortBufferUshort(), ScsiPortReadPortUchar(), ScsiPortReadPortUlong(), ScsiPortReadPortUshort(), ScsiPortWritePortBufferUchar(), ScsiPortWritePortBufferUlong(), ScsiPortWritePortBufferUshort(), ScsiPortWritePortUchar(), ScsiPortWritePortUlong(), ScsiPortWritePortUshort(), CConfig::SetPort(), SetUpListener(), START_TEST(), StorPortReadPortBufferUchar(), StorPortReadPortBufferUlong(), StorPortReadPortBufferUshort(), StorPortReadPortUchar(), StorPortReadPortUlong(), StorPortReadPortUshort(), StorPortWritePortBufferUchar(), StorPortWritePortBufferUlong(), StorPortWritePortBufferUshort(), StorPortWritePortUchar(), StorPortWritePortUlong(), StorPortWritePortUshort(), TCPFreePort(), TdiOpenTransport(), TdiReceiveDatagram(), TdiSendDatagram(), TestObjectTypes(), TryConnectPort(), TryCreatePort(), UDPFreePort(), UhciPollController(), UhciRHClearFeaturePortConnectChange(), UhciRHClearFeaturePortEnable(), UhciRHClearFeaturePortEnableChange(), UhciRHClearFeaturePortOvercurrentChange(), UhciRHClearFeaturePortPower(), UhciRHClearFeaturePortResetChange(), UhciRHClearFeaturePortSuspend(), UhciRHClearFeaturePortSuspendChange(), UhciRHGetPortStatus(), UhciRHPortEnable(), UhciRHPortResetComplete(), UhciRHSetFeaturePortEnable(), UhciRHSetFeaturePortPower(), UhciRHSetFeaturePortReset(), UhciRHSetFeaturePortResetWorker(), UhciRHSetFeaturePortSuspend(), UhciStartController(), UnregisterIoPort(), USBD_CreateDeviceEx(), USBH_ChangeIndication(), USBH_ChangeIndicationAckChange(), USBH_ChangeIndicationAckChangeComplete(), USBH_ChangeIndicationQueryChange(), USBH_ChangeIndicationWorker(), USBH_CheckDeviceIDUnique(), USBH_CheckHubIdle(), USBH_CheckIdleAbort(), USBH_CreateDevice(), USBH_FdoCleanup(), USBH_FdoIdleNotificationCallback(), USBH_FdoPower(), USBH_FdoQueryBusRelations(), USBH_FdoSurpriseRemoveDevice(), USBH_FlushPortPwrList(), USBH_HubQueuePortIdleIrps(), USBH_HubQueuePortWakeIrps(), USBH_PdoRemoveDevice(), USBH_ProcessPortStateChange(), USBH_ResetDevice(), USBH_ResetPortWorker(), USBH_StartHubFdoDevice(), USBH_SyncClearPortStatus(), USBH_SyncDisablePort(), USBH_SyncGetPortStatus(), USBH_SyncPowerOnPort(), USBH_SyncPowerOnPorts(), USBH_SyncResetPort(), USBPORT_CreateDevice(), USBPORT_RH_SetFeatureUSB2PortPower(), USBPORT_RootHubClassCommand(), USBPORT_RootHubPowerAndChirpAllCcPorts(), USBPORT_RootHubSCE(), ValidatePort(), VgaInterpretCmdStream(), VgaReadPort(), VgaWritePort(), WaitForReady(), WinLdrEnableFifo(), WinLdrPortGetByte(), WinLdrPortInitialize(), WinLdrPortPollOnly(), WinLdrPortPutByte(), WRITE_GDC_CSRFORM(), WRITE_GDC_CSRW(), WRITE_GDC_PITCH(), WRITE_GDC_PRAM(), WRITE_GDC_SYNC(), WRITE_GDC_ZOOM(), WRITE_PORT_BUFFER_UCHAR(), WRITE_PORT_BUFFER_ULONG(), WRITE_PORT_BUFFER_USHORT(), WRITE_PORT_UCHAR(), WRITE_PORT_ULONG(), WRITE_PORT_USHORT(), WSAAsyncGetServByPort(), x86IoRead(), and x86IoWrite().

◆ WinLdrTerminalConnected

BOOLEAN WinLdrTerminalConnected

Definition at line 30 of file headless.c.

Referenced by WinLdrInitializeHeadlessPort(), and WinLdrInitializePhase1().

◆ WinLdrTerminalDelay

ULONG WinLdrTerminalDelay

Definition at line 32 of file headless.c.

Referenced by WinLdrInitializeHeadlessPort().

◆ WinLdrTerminalDeviceId

ULONG WinLdrTerminalDeviceId

Definition at line 31 of file headless.c.

Referenced by WinLdrInitializeHeadlessPort().