projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[HEADERS]
[reactos.git]
/
reactos
/
drivers
/
base
/
kdcom
/
i386
/
kdbg.c
diff --git
a/reactos/drivers/base/kdcom/i386/kdbg.c
b/reactos/drivers/base/kdcom/i386/kdbg.c
index
b50692f
..
c8fad2f
100644
(file)
--- a/
reactos/drivers/base/kdcom/i386/kdbg.c
+++ b/
reactos/drivers/base/kdcom/i386/kdbg.c
@@
-11,6
+11,7
@@
#define NOEXTAPI
#include <ntddk.h>
#define NOEXTAPI
#include <ntddk.h>
+#include <ntifs.h>
#define NDEBUG
#include <halfuncs.h>
#include <stdio.h>
#define NDEBUG
#include <halfuncs.h>
#include <stdio.h>
@@
-24,7
+25,7
@@
typedef struct _KD_PORT_INFORMATION
{
ULONG ComPort;
ULONG BaudRate;
{
ULONG ComPort;
ULONG BaudRate;
- ULONG
_PTR
BaseAddress;
+ ULONG BaseAddress;
} KD_PORT_INFORMATION, *PKD_PORT_INFORMATION;
BOOLEAN
} KD_PORT_INFORMATION, *PKD_PORT_INFORMATION;
BOOLEAN
@@
-62,8
+63,6
@@
const ULONG BaseArray[2] = {0, 0x800003f8};
const ULONG BaseArray[3] = {0, 0x80006000, 0x80007000};
#elif defined(_M_ARM)
const ULONG BaseArray[2] = {0, 0xF1012000};
const ULONG BaseArray[3] = {0, 0x80006000, 0x80007000};
#elif defined(_M_ARM)
const ULONG BaseArray[2] = {0, 0xF1012000};
-#elif defined(_M_AMD64)
-const ULONG BaseArray[5] = {0, 0x3F8, 0x2F8, 0x3E8, 0x2E8};
#else
#error Unknown architecture
#endif
#else
#error Unknown architecture
#endif
@@
-128,7
+127,7
@@
static BOOLEAN PortInitialized = FALSE;
static BOOLEAN
KdpDoesComPortExist(
static BOOLEAN
KdpDoesComPortExist(
- IN ULONG
_PTR
BaseAddress)
+ IN ULONG BaseAddress)
{
BOOLEAN found;
UCHAR mcr;
{
BOOLEAN found;
UCHAR mcr;
@@
-188,14
+187,6
@@
KdpDoesComPortExist(
/* FUNCTIONS ****************************************************************/
/* FUNCTIONS ****************************************************************/
-NTSTATUS
-DriverEntry(
- IN PDRIVER_OBJECT DriverObject,
- IN PUNICODE_STRING RegistryPath)
-{
- return STATUS_SUCCESS;
-}
-
/* HAL.KdPortInitialize */
BOOLEAN
NTAPI
/* HAL.KdPortInitialize */
BOOLEAN
NTAPI
@@
-241,7
+232,7
@@
KdPortInitialize(
return FALSE;
/* set global info */
return FALSE;
/* set global info */
-
*
KdComPortInUse = (PUCHAR)DefaultPort.BaseAddress;
+ KdComPortInUse = (PUCHAR)DefaultPort.BaseAddress;
return TRUE;
}
return TRUE;
}
@@
-255,7
+246,7
@@
KdPortInitializeEx(
IN ULONG Unknown1,
IN ULONG Unknown2)
{
IN ULONG Unknown1,
IN ULONG Unknown2)
{
- ULONG
_PTR
ComPortBase;
+ ULONG ComPortBase;
CHAR buffer[80];
ULONG divisor;
UCHAR lcr;
CHAR buffer[80];
ULONG divisor;
UCHAR lcr;
@@
-484,7
+475,6
@@
NTAPI
KdDebuggerInitialize0(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{
KdDebuggerInitialize0(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{
- UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
return STATUS_NOT_IMPLEMENTED;
}
@@
-496,7
+486,6
@@
NTAPI
KdDebuggerInitialize1(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{
KdDebuggerInitialize1(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{
- UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
return STATUS_NOT_IMPLEMENTED;
}