16#define SYSID_TYPE_UUID "_UUID_"
17#define SYSID_UUID_DATA_SIZE 16
71#if defined(SARCH_PC98)
73 if (BaudRate == 0) BaudRate = 9600;
83 PortAddress = (
PUCHAR)0x30;
87 PortAddress = (
PUCHAR)0x238;
95 PortAddress = (
PUCHAR)0x30;
102 PortAddress = (
PUCHAR)0x238;
111 if (BaudRate == 0) BaudRate = 19200;
122 PortAddress = (
PUCHAR)0x3F8;
126 PortAddress = (
PUCHAR)0x2F8;
130 PortAddress = (
PUCHAR)0x3E8;
135 PortAddress = (
PUCHAR)0x2E8;
142 PortAddress = (
PUCHAR)0x2F8;
149 PortAddress = (
PUCHAR)0x3F8;
210 PCSTR AnsiReset =
"\x1B[m";
217#if defined(SARCH_PC98)
321 else if (
_strnicmp(Option,
"usebiossettings", 15) == 0)
343 if (
strncmp(Option,
"115200", 6) == 0)
347 else if (
strncmp(Option,
"57600", 5) == 0)
351 else if (
strncmp(Option,
"19200", 5) == 0)
UINT32 strtoul(const char *String, char **Terminator, UINT32 Base)
ACPI_SIZE strlen(const char *String)
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
VOID UiDrawStatusText(PCSTR StatusText)
VOID NTAPI CpPutByte(IN PCPPORT Port, IN UCHAR Byte)
NTSTATUS NTAPI CpInitialize(IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate)
VOID NTAPI CpEnableFifo(IN PUCHAR Address, IN BOOLEAN Enable)
USHORT NTAPI CpGetByte(IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll)
BOOLEAN NTAPI CpDoesPortExist(IN PUCHAR Address)
#define _strnicmp(_String1, _String2, _MaxCount)
#define RtlCompareMemory(s1, s2, l)
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
BOOLEAN WinLdrPortInitialize(IN ULONG BaudRate, IN ULONG PortNumber, IN PUCHAR PortAddress, IN BOOLEAN TerminalConnected, OUT PULONG PortId)
VOID WinLdrLoadGUID(OUT PGUID SystemGuid)
#define SYSID_UUID_DATA_SIZE
BOOLEAN WinLdrPortGetByte(IN ULONG PortId, OUT PUCHAR Byte)
VOID WinLdrSetupEms(IN PCSTR BootOptions)
struct _SYSID_UUID_ENTRY SYSID_UUID_ENTRY
VOID WinLdrInitializeHeadlessPort(VOID)
BOOLEAN WinLdrPortPollOnly(IN ULONG PortId)
ULONG WinLdrTerminalDeviceId
struct _SYSID_UUID_ENTRY * PSYSID_UUID_ENTRY
HEADLESS_LOADER_BLOCK LoaderRedirectionInformation
VOID WinLdrEnableFifo(IN ULONG PortId, IN BOOLEAN Enable)
ULONG WinLdrTerminalDelay
VOID WinLdrPortPutByte(IN ULONG PortId, IN UCHAR Byte)
BOOLEAN WinLdrTerminalConnected
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
PCSTR NtLdrGetOption(IN PCSTR Options, IN PCSTR OptionName)
VOID StallExecutionProcessor(ULONG Microseconds)
UCHAR UUID[SYSID_UUID_DATA_SIZE]
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
#define PCI_INVALID_VENDORID