mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
- Remove duplicate SINGLE_GROUP_LEGACY_API definition. [PSDK] - Add missing GROUP_AFFINITY structure. [NTDDK] - Remove ExFreePool definition. [NDK] - Remove duplicate PROCESSOR_CACHE_TYPE and CACHE_DESCRIPTOR definitions (they now exist in wdm.h). [XDK] - Move several definitions to their appropriate places. - Add PROCESSOR_CALLBACK_FUNCTION, INVALID_PROCESSOR_INDEX, XSTATE_SAVE, LOOKASIDE_MINIMUM_BLOCK_SIZE and several missing Ke*, KBUGCHECK_*, KB_ADD_PAGES_FLAG_*, EXCEPTION_*, KE_PROCESSOR_CHANGE_*, Ex*, FirstEntrySList, and EX_*, RESOURCE_* definitions. - Update ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList, OWNER_ENTRY and ERESOURCE. - Group some related definitions. [WDM] - Update wdm.h to reflect XDK changes. svn path=/branches/header-work/; revision=46287
101 lines
2.7 KiB
C
101 lines
2.7 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Kernel
|
|
* FILE: ntoskrnl/include/ntoskrnl.h
|
|
* PURPOSE: Main Kernel Header
|
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
/* ARM Bringup Hack */
|
|
#ifdef _M_ARM
|
|
#define DbgPrint DbgPrintEarly
|
|
#endif
|
|
|
|
/* Version Data */
|
|
#undef __MSVCRT__
|
|
#include <psdk/ntverp.h>
|
|
|
|
/* DDK/IFS/NDK Headers */
|
|
#define _REALLY_GET_CALLERS_CALLER
|
|
#include <excpt.h>
|
|
#include <ntdef.h>
|
|
#include <ntifs.h>
|
|
#include <wdmguid.h>
|
|
#include <arc/arc.h>
|
|
#undef NTHALAPI
|
|
#define NTHALAPI __declspec(dllimport)
|
|
#include <ntndk.h>
|
|
#undef TEXT
|
|
#define TEXT(s) L##s
|
|
#include <regstr.h>
|
|
|
|
/* FIXME: Temporary until Winldr is used */
|
|
#include <rosldr.h>
|
|
|
|
/* C Headers */
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <malloc.h>
|
|
#include <wchar.h>
|
|
|
|
/* SEH support with PSEH */
|
|
#include <pseh/pseh2.h>
|
|
|
|
/* ReactOS Headers */
|
|
#include <reactos/buildno.h>
|
|
#include <reactos/bugcodes.h>
|
|
|
|
/* SetupLDR Support */
|
|
#include <arc/setupblk.h>
|
|
|
|
/* KD Support */
|
|
#define NOEXTAPI
|
|
#include <windbgkd.h>
|
|
#include <wdbgexts.h>
|
|
#include <kddll.h>
|
|
#ifndef _WINKD_
|
|
#include <reactos/rossym.h>
|
|
#endif
|
|
|
|
/* PNP GUIDs */
|
|
#include <umpnpmgr/sysguid.h>
|
|
|
|
/* Internal Headers */
|
|
#include "internal/ntoskrnl.h"
|
|
#include "config.h"
|
|
|
|
#include <reactos/probe.h>
|
|
#include "internal/probe.h"
|
|
#include "resource.h"
|
|
|
|
//
|
|
// Define the internal versions of external and public global data
|
|
//
|
|
#define IoFileObjectType _IoFileObjectType
|
|
#define PsThreadType _PsThreadType
|
|
#define PsProcessType _PsProcessType
|
|
#define ExEventObjectType _ExEventObjectType
|
|
#define ExSemaphoreObjectType _ExSemaphoreObjectType
|
|
#define KdDebuggerEnabled _KdDebuggerEnabled
|
|
#define KdDebuggerNotPresent _KdDebuggerNotPresent
|
|
#define NlsOemLeadByteInfo _NlsOemLeadByteInfo
|
|
extern PUSHORT _NlsOemLeadByteInfo;
|
|
#define FsRtlLegalAnsiCharacterArray _FsRtlLegalAnsiCharacterArray
|
|
#undef LEGAL_ANSI_CHARACTER_ARRAY
|
|
#undef NLS_MB_CODE_PAGE_TAG
|
|
#undef NLS_OEM_LEAD_BYTE_INFO
|
|
#define LEGAL_ANSI_CHARACTER_ARRAY FsRtlLegalAnsiCharacterArray
|
|
#define NLS_MB_CODE_PAGE_TAG NlsMbOemCodePageTag
|
|
#define NLS_OEM_LEAD_BYTE_INFO _NlsOemLeadByteInfo
|
|
#undef KD_DEBUGGER_ENABLED
|
|
#undef KD_DEBUGGER_NOT_PRESENT
|
|
#define KD_DEBUGGER_ENABLED KdDebuggerEnabled
|
|
#define KD_DEBUGGER_NOT_PRESENT KdDebuggerNotPresent
|
|
#define HalDispatchTable _HalDispatchTable
|
|
#undef HALDISPATCH
|
|
#define HALDISPATCH (&HalDispatchTable)
|
|
#define ExRaiseStatus RtlRaiseStatus
|