[NTOS]: Moaaar s/tabs/spaces/
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 14 Oct 2013 20:38:02 +0000 (20:38 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 14 Oct 2013 20:38:02 +0000 (20:38 +0000)
svn path=/trunk/; revision=60672

reactos/ntoskrnl/include/internal/hdl.h
reactos/ntoskrnl/include/internal/inbv.h

index 2bd0b2f..d6bd562 100644 (file)
 //
 // Define this if you want debugging support
 //
-#define _HDL_DEBUG_                                     0x00
+#define _HDL_DEBUG_     0x00
 
 //
 // These define the Debug Masks Supported
 //
-#define HDL_XXX_DEBUG                                  0x01
+#define HDL_XXX_DEBUG   0x01
 
 //
 // Debug/Tracing support
 //
 typedef enum _HEADLESS_LOG_MESSAGE
 {
-       HeadlessLogDriverLoad = 1,
-       HeadlessLogDriverSuccess,
-       HeadlessLogDriverFailed,
-       HeadlessLogEventFailed,
-       HeadlessLogObjectFailed,
-       HeadlessLogDirectoryFailed,
-       HeadlessLogPnpFailed,
-       HeadlessLogPnpFailed2,
-       HeadlessLogBootDriversFailed,
-       HeadlessLogNtdllFailed,
-       HeadlessLogSystemDriversFailed,
-       HeadlessLogReassignSystemRootFailed,
-       HeadlessLogProtectSystemRootFailed,
-       HeadlessLogConvertSystemRootFailed,
-       HeadlessLogConvertDeviceNameFailed,
-       HeadlessLogGroupOrderListFailed,
-       HeadlessLogGroupTableFailed
-       //
-       // There are more, but not applicable to ReactOS, I believe
-       //
+    HeadlessLogDriverLoad = 1,
+    HeadlessLogDriverSuccess,
+    HeadlessLogDriverFailed,
+    HeadlessLogEventFailed,
+    HeadlessLogObjectFailed,
+    HeadlessLogDirectoryFailed,
+    HeadlessLogPnpFailed,
+    HeadlessLogPnpFailed2,
+    HeadlessLogBootDriversFailed,
+    HeadlessLogNtdllFailed,
+    HeadlessLogSystemDriversFailed,
+    HeadlessLogReassignSystemRootFailed,
+    HeadlessLogProtectSystemRootFailed,
+    HeadlessLogConvertSystemRootFailed,
+    HeadlessLogConvertDeviceNameFailed,
+    HeadlessLogGroupOrderListFailed,
+    HeadlessLogGroupTableFailed
+    //
+    // There are more, but not applicable to ReactOS, I believe
+    //
 } HEADLESS_LOG_MESSAGE;
 
 //
@@ -65,8 +65,8 @@ typedef enum _HEADLESS_LOG_MESSAGE
 //
 typedef struct _HEADLESS_LOG_ENTRY
 {
-       SYSTEM_TIMEOFDAY_INFORMATION TimeOfEntry;
-       PWCHAR String;
+    SYSTEM_TIMEOFDAY_INFORMATION TimeOfEntry;
+    PWCHAR String;
 } HEADLESS_LOG_ENTRY, *PHEADLESS_LOG_ENTRY;
 
 //
@@ -83,42 +83,42 @@ typedef struct _HEADLESS_CMD_SET_BLUE_SCREEN_DATA
 //
 typedef struct _HEADLESS_GLOBALS
 {
-       KSPIN_LOCK SpinLock;
-       HANDLE PageLockHandle;
-       PHEADLESS_LOG_ENTRY LogEntries;
-       PUCHAR TmpBuffer;
-       PUCHAR InputBuffer;
+    KSPIN_LOCK SpinLock;
+    HANDLE PageLockHandle;
+    PHEADLESS_LOG_ENTRY LogEntries;
+    PUCHAR TmpBuffer;
+    PUCHAR InputBuffer;
     PHEADLESS_CMD_SET_BLUE_SCREEN_DATA BlueScreenData;
-       union
-       {
-               struct
-               {
-                       ULONG TerminalEnabled:1;
-                       ULONG InBugCheck:1;
-                       ULONG NewLogEntryAdded:1;
-                       ULONG UsedBiosSettings:1;
-                       ULONG InputProcessing:1;
-                       ULONG InputLineDone:1;
-                       ULONG ProcessingCmd:1;
-                       ULONG TerminalParity:1;
-                       ULONG TerminalStopBits:1;
-                       ULONG TerminalPortNumber:3;
-                       ULONG IsNonLegacyDevice:1;
-               };
-               ULONG AllFlags;
-       };
-       ULONG TerminalBaudRate;
-       ULONG TerminalPort;
-       PUCHAR TerminalPortAddress;
-       LARGE_INTEGER DelayTime;
-       ULONG MicroSecondsDelayTime;
-       UCHAR TerminalType;
-       SIZE_T InputBufferIndex;
-       USHORT LogEntryLast;
-       USHORT LogEntryStart;
-       GUID SystemGUID;
-       BOOLEAN IsMMIODevice;
-       BOOLEAN IsLastCharCR;
+    union
+    {
+        struct
+        {
+            ULONG TerminalEnabled:1;
+            ULONG InBugCheck:1;
+            ULONG NewLogEntryAdded:1;
+            ULONG UsedBiosSettings:1;
+            ULONG InputProcessing:1;
+            ULONG InputLineDone:1;
+            ULONG ProcessingCmd:1;
+            ULONG TerminalParity:1;
+            ULONG TerminalStopBits:1;
+            ULONG TerminalPortNumber:3;
+            ULONG IsNonLegacyDevice:1;
+        };
+        ULONG AllFlags;
+    };
+    ULONG TerminalBaudRate;
+    ULONG TerminalPort;
+    PUCHAR TerminalPortAddress;
+    LARGE_INTEGER DelayTime;
+    ULONG MicroSecondsDelayTime;
+    UCHAR TerminalType;
+    SIZE_T InputBufferIndex;
+    USHORT LogEntryLast;
+    USHORT LogEntryStart;
+    GUID SystemGUID;
+    BOOLEAN IsMMIODevice;
+    BOOLEAN IsLastCharCR;
 } HEADLESS_GLOBALS, *PHEADLESS_GLOBALS;
 
 //
@@ -126,43 +126,43 @@ typedef struct _HEADLESS_GLOBALS
 //
 typedef enum _HEADLESS_CMD
 {
-       HeadlessCmdEnableTerminal = 1,
-       HeadlessCmdCheckForReboot,
-       HeadlessCmdPutString,
-       HeadlessCmdClearDisplay,
-       HeadlessCmdClearToEndOfDisplay,
-       HeadlessCmdClearToEndOfLine,
-       HeadlessCmdDisplayAttributesOff,
-       HeadlessCmdDisplayInverseVideo,
-       HeadlessCmdSetColor,
-       HeadlessCmdPositionCursor,
-       HeadlessCmdTerminalPoll,
-       HeadlessCmdGetByte,
-       HeadlessCmdGetLine,
-       HeadlessCmdStartBugCheck,
-       HeadlessCmdDoBugCheckProcessing,
-       HeadlessCmdQueryInformation,
-       HeadlessCmdAddLogEntry,
-       HeadlessCmdDisplayLog,
-       HeadlessCmdSetBlueScreenData,
-       HeadlessCmdSendBlueScreenData,
-       HeadlessCmdQueryGUID,
-       HeadlessCmdPutData
+    HeadlessCmdEnableTerminal = 1,
+    HeadlessCmdCheckForReboot,
+    HeadlessCmdPutString,
+    HeadlessCmdClearDisplay,
+    HeadlessCmdClearToEndOfDisplay,
+    HeadlessCmdClearToEndOfLine,
+    HeadlessCmdDisplayAttributesOff,
+    HeadlessCmdDisplayInverseVideo,
+    HeadlessCmdSetColor,
+    HeadlessCmdPositionCursor,
+    HeadlessCmdTerminalPoll,
+    HeadlessCmdGetByte,
+    HeadlessCmdGetLine,
+    HeadlessCmdStartBugCheck,
+    HeadlessCmdDoBugCheckProcessing,
+    HeadlessCmdQueryInformation,
+    HeadlessCmdAddLogEntry,
+    HeadlessCmdDisplayLog,
+    HeadlessCmdSetBlueScreenData,
+    HeadlessCmdSendBlueScreenData,
+    HeadlessCmdQueryGUID,
+    HeadlessCmdPutData
 } HEADLESS_CMD, *PHEADLESS_CMD;
 
 typedef enum _HEADLESS_TERM_PORT_TYPE
 {
-       HeadlessUndefinedPortType = 0,
-       HeadlessSerialPort
+    HeadlessUndefinedPortType = 0,
+    HeadlessSerialPort
 } HEADLESS_TERM_PORT_TYPE, *PHEADLESS_TERM_PORT_TYPE;
 
 typedef enum _HEADLESS_TERM_SERIAL_PORT
 {
-       SerialPortUndefined = 0,
-       ComPort1,
-       ComPort2,
-       ComPort3,
-       ComPort4
+    SerialPortUndefined = 0,
+    ComPort1,
+    ComPort2,
+    ComPort3,
+    ComPort4
 } HEADLESS_TERM_SERIAL_PORT, *PHEADLESS_TERM_SERIAL_PORT;
 
 typedef struct _HEADLESS_RSP_QUERY_INFO
@@ -189,7 +189,7 @@ typedef struct _HEADLESS_CMD_ENABLE_TERMINAL
 
 typedef struct _HEADLESS_CMD_PUT_STRING
 {
-       UCHAR String[1];
+    UCHAR String[1];
 } HEADLESS_CMD_PUT_STRING, *PHEADLESS_CMD_PUT_STRING;
 
 typedef struct _HEADLESS_RSP_GET_BYTE
@@ -200,11 +200,11 @@ typedef struct _HEADLESS_RSP_GET_BYTE
 NTSTATUS
 NTAPI
 HeadlessDispatch(
-       IN HEADLESS_CMD Command,
-       IN PVOID InputBuffer,
-       IN SIZE_T InputBufferSize,
-       OUT PVOID OutputBuffer,
-       OUT PSIZE_T OutputBufferSize
+    IN HEADLESS_CMD Command,
+    IN PVOID InputBuffer,
+    IN SIZE_T InputBufferSize,
+    OUT PVOID OutputBuffer,
+    OUT PSIZE_T OutputBufferSize
 );
 
 //
index 867c39d..1407610 100644 (file)
@@ -76,35 +76,35 @@ NTAPI
 InbvIndicateProgress(
     VOID
 );
-           
+
 VOID
 NTAPI
 InbvPortEnableFifo(
-       IN ULONG PortId,
-       IN BOOLEAN Enable
+    IN ULONG PortId,
+    IN BOOLEAN Enable
 );
 
 VOID
 NTAPI
 InbvPortPutByte(
-       IN ULONG PortId,
-       IN BOOLEAN Output
+    IN ULONG PortId,
+    IN BOOLEAN Output
 );
 
 VOID
 NTAPI
 InbvPortTerminate(
-       IN ULONG PortId
+    IN ULONG PortId
 );
 
 BOOLEAN
 NTAPI
 InbvPortInitialize(
-       IN ULONG BaudRate,
-       IN ULONG PortNumber,
-       IN PUCHAR PortAddress,
-       OUT PULONG PortId,
-       IN BOOLEAN IsMMIODevice
+    IN ULONG BaudRate,
+    IN ULONG PortNumber,
+    IN PUCHAR PortAddress,
+    OUT PULONG PortId,
+    IN BOOLEAN IsMMIODevice
 );
 
 BOOLEAN