Make this header shared internally.
Added:
branches/alex_devel_branch/reactos/ntoskrnl/include/internal/kdb.h
_____
Added:
branches/alex_devel_branch/reactos/ntoskrnl/include/internal/kdb.h
--- branches/alex_devel_branch/reactos/ntoskrnl/include/internal/kdb.h
2005-03-02 21:54:28 UTC (rev 13798)
+++ branches/alex_devel_branch/reactos/ntoskrnl/include/internal/kdb.h
2005-03-02 21:54:58 UTC (rev 13799)
@@ -0,0 +1,73 @@
+#define NTOS_MODE_KERNEL
+#include <ntos.h>
+
+typedef struct _KDB_MODULE_INFO
+{
+ WCHAR Name[256];
+ ULONG_PTR Base;
+ ULONG Size;
+ PROSSYM_INFO RosSymInfo;
+} KDB_MODULE_INFO, *PKDB_MODULE_INFO;
+
+/* from kdb_symbols.c */
+
+BOOLEAN
+KdbpSymFindModuleByAddress(IN PVOID Address,
+ OUT PKDB_MODULE_INFO pInfo);
+
+BOOLEAN
+KdbpSymFindModuleByName(IN LPCWSTR Name,
+ OUT PKDB_MODULE_INFO pInfo);
+
+BOOLEAN
+KdbpSymFindModuleByIndex(IN INT Index,
+ OUT PKDB_MODULE_INFO pInfo);
+
+BOOLEAN
+KdbSymPrintAddress(IN PVOID Address);
+
+NTSTATUS
+KdbSymGetAddressInformation(IN PROSSYM_INFO RosSymInfo,
+ IN ULONG_PTR RelativeAddress,
+ OUT PULONG LineNumber OPTIONAL,
+ OUT PCH FileName OPTIONAL,
+ OUT PCH FunctionName OPTIONAL);
+
+/* other functions */
+#define KdbpSafeReadMemory(dst, src, size) MmSafeCopyFromUser(dst, src,
size)
+#define KdbpSafeWriteMemory(dst, src, size) MmSafeCopyToUser(dst, src,
size)
+CHAR
+KdbTryGetCharKeyboard(PULONG ScanCode);
+ULONG
+KdbTryGetCharSerial(VOID);
+VOID
+KdbEnter(VOID);
+VOID
+DbgRDebugInit(VOID);
+VOID
+DbgShowFiles(VOID);
+VOID
+DbgEnableFile(PCH Filename);
+VOID
+DbgDisableFile(PCH Filename);
+VOID
+KdbInitProfiling();
+VOID
+KdbInitProfiling2();
+VOID
+KdbDisableProfiling();
+VOID
+KdbEnableProfiling();
+VOID
+KdbProfileInterrupt(ULONG_PTR Eip);
+
+VOID
+KdbModuleLoaded(IN PUNICODE_STRING Name);
+
+
+struct KDB_BPINFO {
+ DWORD Addr;
+ DWORD Type;
+ DWORD Size;
+ DWORD Enabled;
+};