ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ntoskrnl.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS Kernel
00004  * FILE:            ntoskrnl/include/ntoskrnl.h
00005  * PURPOSE:         Main Kernel Header
00006  * PROGRAMMER:      Alex Ionescu (alex@relsoft.net)
00007  */
00008 
00009 /* INCLUDES ******************************************************************/
00010 
00011 /* ARM Bringup Hack */
00012 #ifdef _M_ARM
00013 #define DbgPrint DbgPrintEarly
00014 #endif
00015 
00016 /* WDK hacks */
00017 #ifdef _M_AMD64
00018 #define IoAllocateAdapterChannel _IoAllocateAdapterChannel
00019 #define KeGetCurrentThread _KeGetCurrentThread
00020 #define RtlFillMemoryUlong _RtlFillMemoryUlong
00021 #endif
00022 
00023 /* Version Data */
00024 #undef __MSVCRT__
00025 #include <psdk/ntverp.h>
00026 
00027 /* DDK/IFS/NDK Headers */
00028 #define _REALLY_GET_CALLERS_CALLER
00029 #include <excpt.h>
00030 #include <ntdef.h>
00031 #include <ntifs.h>
00032 #include <wdmguid.h>
00033 #include <arc/arc.h>
00034 #include <mountmgr.h>
00035 #undef NTHALAPI
00036 #define NTHALAPI __declspec(dllimport)
00037 #include <ndk/asm.h>
00038 #include <ndk/cctypes.h>
00039 #include <ndk/cmfuncs.h>
00040 #include <ndk/dbgkfuncs.h>
00041 #include <ndk/exfuncs.h>
00042 #include <ndk/halfuncs.h>
00043 #include <ndk/inbvfuncs.h>
00044 #include <ndk/iofuncs.h>
00045 #include <ndk/kdfuncs.h>
00046 #include <ndk/kefuncs.h>
00047 #include <ndk/ldrfuncs.h>
00048 #include <ndk/lpcfuncs.h>
00049 #include <ndk/mmfuncs.h>
00050 #include <ndk/obfuncs.h>
00051 #include <ndk/pofuncs.h>
00052 #include <ndk/psfuncs.h>
00053 #include <ndk/rtlfuncs.h>
00054 #include <ndk/sefuncs.h>
00055 #include <ndk/vftypes.h>
00056 #undef TEXT
00057 #define TEXT(s) L##s
00058 #include <regstr.h>
00059 #include <ntstrsafe.h>
00060 #include <ntpoapi.h>
00061 
00062 /* C Headers */
00063 #include <stdlib.h>
00064 #include <stdio.h>
00065 #include <ctype.h>
00066 #include <malloc.h>
00067 #include <wchar.h>
00068 
00069 /* SEH support with PSEH */
00070 #include <pseh/pseh2.h>
00071 
00072 /* ReactOS Headers */
00073 #include <reactos/bugcodes.h>
00074 
00075 /* SetupLDR Support */
00076 #include <arc/setupblk.h>
00077 
00078 /* KD Support */
00079 #define NOEXTAPI
00080 #include <windbgkd.h>
00081 #include <wdbgexts.h>
00082 #include <kddll.h>
00083 #ifndef _WINKD_
00084 #include <reactos/rossym.h>
00085 #endif
00086 
00087 /* PNP GUIDs */
00088 #include <umpnpmgr/sysguid.h>
00089 
00090 //
00091 // Define the internal versions of external and public global data
00092 //
00093 #define IoFileObjectType                _IoFileObjectType
00094 #define PsThreadType                    _PsThreadType
00095 #define PsProcessType                   _PsProcessType
00096 #define ExEventObjectType               _ExEventObjectType
00097 #define ExSemaphoreObjectType           _ExSemaphoreObjectType
00098 #define KdDebuggerEnabled               _KdDebuggerEnabled
00099 #define KdDebuggerNotPresent            _KdDebuggerNotPresent
00100 #define NlsOemLeadByteInfo              _NlsOemLeadByteInfo
00101 extern PUSHORT _NlsOemLeadByteInfo;
00102 #define KeNumberProcessors              _KeNumberProcessors
00103 extern UCHAR _KeNumberProcessors;
00104 #define FsRtlLegalAnsiCharacterArray    _FsRtlLegalAnsiCharacterArray
00105 #undef LEGAL_ANSI_CHARACTER_ARRAY
00106 #undef NLS_MB_CODE_PAGE_TAG
00107 #undef NLS_OEM_LEAD_BYTE_INFO
00108 #define LEGAL_ANSI_CHARACTER_ARRAY      FsRtlLegalAnsiCharacterArray
00109 #define NLS_MB_CODE_PAGE_TAG            NlsMbOemCodePageTag
00110 #define NLS_OEM_LEAD_BYTE_INFO          _NlsOemLeadByteInfo
00111 #undef KD_DEBUGGER_ENABLED
00112 #undef KD_DEBUGGER_NOT_PRESENT
00113 #define KD_DEBUGGER_ENABLED             KdDebuggerEnabled
00114 #define KD_DEBUGGER_NOT_PRESENT         KdDebuggerNotPresent
00115 #define HalDispatchTable                _HalDispatchTable
00116 #undef HALDISPATCH
00117 #define HALDISPATCH                     (&HalDispatchTable)
00118 #define ExRaiseStatus RtlRaiseStatus
00119 
00120 /* Internal Headers */
00121 #include "internal/ntoskrnl.h"
00122 #include "config.h"
00123 
00124 #include <reactos/probe.h>
00125 #include "internal/probe.h"
00126 #include "resource.h"
00127 

Generated on Sat May 26 2012 04:18:01 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.