Patch by Anton Yarotsky:

[NTOSKRNL]: Export HeadlessDispatch.
[NTOSKRNL]: Add more missing definitions to internal Headless header. Alex: Move to NDK?
[NTOSKRNL]: Headless header uses SYSTEM_TIMEOFDAY_INFORMATION, which is only in NDK. So hdl.h needs NDK.

svn path=/trunk/; revision=52319
This commit is contained in:
Sir Richard 2011-06-17 17:19:56 +00:00
parent 4db7b49655
commit 72d1c15806
3 changed files with 35 additions and 2 deletions

View File

@ -7,6 +7,7 @@
*/
#define _HDL_
#include <cportlib/cportlib.h>
#include <ndk/extypes.h>
//
// Define this if you want debugging support
@ -150,6 +151,38 @@ typedef enum _HEADLESS_CMD
HeadlessCmdPutData
} HEADLESS_CMD, *PHEADLESS_CMD;
typedef enum _HEADLESS_TERM_PORT_TYPE
{
HeadlessUndefinedPortType = 0,
HeadlessSerialPort
} HEADLESS_TERM_PORT_TYPE, *PHEADLESS_TERM_PORT_TYPE;
typedef enum _HEADLESS_TERM_SERIAL_PORT
{
SerialPortUndefined = 0,
ComPort1,
ComPort2,
ComPort3,
ComPort4
} HEADLESS_TERM_SERIAL_PORT, *PHEADLESS_TERM_SERIAL_PORT;
typedef struct _HEADLESS_RSP_QUERY_INFO
{
HEADLESS_TERM_PORT_TYPE PortType;
union
{
struct
{
BOOLEAN TerminalAttached;
BOOLEAN UsedBiosSettings;
HEADLESS_TERM_SERIAL_PORT TerminalPort;
PUCHAR TerminalPortBaseAddress;
ULONG TerminalBaudRate;
UCHAR TerminalType;
} Serial;
};
} HEADLESS_RSP_QUERY_INFO, *PHEADLESS_RSP_QUERY_INFO;
typedef struct _HEADLESS_CMD_PUT_STRING
{
UCHAR String[1];

View File

@ -325,7 +325,7 @@
@ extern HalDispatchTable _HalDispatchTable
@ FASTCALL HalExamineMBR(ptr long long ptr)
@ extern HalPrivateDispatchTable
;HeadlessDispatch
@ stdcall HeadlessDispatch(long ptr long ptr ptr)
@ stdcall InbvAcquireDisplayOwnership()
@ stdcall InbvCheckDisplayOwnership()
@ stdcall InbvDisplayString(str)

View File

@ -305,7 +305,7 @@
@ extern HalDispatchTable _HalDispatchTable
@ fastcall HalExamineMBR(ptr long long ptr)
@ extern HalPrivateDispatchTable
;HeadlessDispatch
@ stdcall HeadlessDispatch(long ptr long ptr ptr)
@ stdcall InbvAcquireDisplayOwnership()
@ stdcall InbvCheckDisplayOwnership()
@ stdcall InbvDisplayString(str)