mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:45:46 +00:00
- mangledDDK had no idea what a const char is, now it does.
- mangledDDK had wrong prototypes of DbgPrint/Ex. - PSEH too. - Fixed ntoskrnl headers to build with Windows 2003 header definitions. Make handle.c force usage of Windows 2000 header definitions, because the handle code is Win2K. - mangledDDK had wrong KeNumberProcessors definition. svn path=/trunk/; revision=23486
This commit is contained in:
parent
9d109579e3
commit
4a84399353
3 changed files with 13 additions and 4 deletions
|
@ -396,7 +396,15 @@ extern POBJECT_TYPE NTSYSAPI LpcPortObjectType;
|
|||
extern POBJECT_TYPE NTSYSAPI MmSectionObjectType;
|
||||
extern POBJECT_TYPE NTSYSAPI SeTokenObjectType;
|
||||
|
||||
extern NTOSAPI CCHAR KeNumberProcessors;
|
||||
#if (NTDDI_VERSION >= NTDDI_LONGHORN)
|
||||
extern volatile CCHAR NTSYSAPI KeNumberProcessors;
|
||||
#else
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
extern CCHAR NTSYSAPI KeNumberProcessors;
|
||||
#else
|
||||
extern PCCHAR KeNumberProcessors;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define PROCESSOR_FEATURE_MAX 64
|
||||
#define MAX_WOW64_SHARED_ENTRIES 16
|
||||
|
@ -10442,7 +10450,7 @@ DbgBreakPointWithStatus(
|
|||
ULONG
|
||||
__cdecl
|
||||
DbgPrint(
|
||||
IN PCH Format,
|
||||
IN PCCH Format,
|
||||
IN ...);
|
||||
|
||||
ULONG
|
||||
|
@ -10450,7 +10458,7 @@ __cdecl
|
|||
DbgPrintEx(
|
||||
IN ULONG ComponentId,
|
||||
IN ULONG Level,
|
||||
IN PCH Format,
|
||||
IN PCCH Format,
|
||||
IN ...);
|
||||
|
||||
NTOSAPI
|
||||
|
|
|
@ -63,6 +63,7 @@ typedef CONST STRING* PCOEM_STRING;
|
|||
typedef STRING CANSI_STRING;
|
||||
typedef PSTRING PCANSI_STRING;
|
||||
typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
|
||||
typedef CONST CHAR *LPCCH, *PCCH;
|
||||
typedef enum _SECTION_INHERIT {
|
||||
ViewShare = 1,
|
||||
ViewUnmap = 2
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
# define _SEHSetJmp setjmp
|
||||
# define _SEHJmpBuf_t jmp_buf
|
||||
#endif
|
||||
unsigned long DbgPrint(char * Format,...);
|
||||
unsigned long DbgPrint(const char * Format,...);
|
||||
typedef struct __SEHFrame
|
||||
{
|
||||
_SEHPortableFrame_t SEH_Header;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue