svn path=/trunk/; revision=19451
* KJK::Hyperion <noog@libero.it>
*/
* KJK::Hyperion <noog@libero.it>
*/
-#include <ndk/i386/segment.h>
#include <ndk/asm.h>
#define CONTEXT_FULL 0x10007
#include <ndk/asm.h>
#define CONTEXT_FULL 0x10007
/* INCLUDES ******************************************************************/\r
\r
#include <ndk/asm.h>\r
/* INCLUDES ******************************************************************/\r
\r
#include <ndk/asm.h>\r
-#include <ndk/i386/segment.h>\r
.intel_syntax noprefix\r
\r
#define EXCEPTION_NONCONTINUABLE 1\r
.intel_syntax noprefix\r
\r
#define EXCEPTION_NONCONTINUABLE 1\r
/* INCLUDES ******************************************************************/
#include <ndk/asm.h>
/* INCLUDES ******************************************************************/
#include <ndk/asm.h>
-#include <ndk/i386/segment.h>
.intel_syntax noprefix
#define EXCEPTION_UNWINDING 2
.intel_syntax noprefix
#define EXCEPTION_UNWINDING 2
-#include <ndk/i386/segment.h>
#include <roscfg.h>
#include <internal/i386/ke.h>
#include <ndk/asm.h>
#include <roscfg.h>
#include <internal/i386/ke.h>
#include <ndk/asm.h>
-#include <ndk/i386/segment.h>
.intel_syntax noprefix
#define Running 2
.intel_syntax noprefix
#define Running 2
#include <roscfg.h>
#include <ndk/asm.h>
#include <roscfg.h>
#include <ndk/asm.h>
-#include <ndk/i386/segment.h>
#define AP_MAGIC (0x12481020)
#define AP_MAGIC (0x12481020)
#include <roscfg.h>
#include <internal/i386/ke.h>
#include <ndk/asm.h>
#include <roscfg.h>
#include <internal/i386/ke.h>
#include <ndk/asm.h>
-#include <ndk/i386/segment.h>
#define UserMode (1)
#define STATUS_INVALID_SYSTEM_SERVICE 0xC000001C
#define UserMode (1)
#define STATUS_INVALID_SYSTEM_SERVICE 0xC000001C
#include <roscfg.h>
#include <ndk/asm.h>
#include <internal/i386/ke.h>
#include <roscfg.h>
#include <ndk/asm.h>
#include <internal/i386/ke.h>
-#include <ndk/i386/segment.h>
#define KernelMode 0
#define UserMode 1
#define KernelMode 0
#define UserMode 1
WriteFileHeader(Files[NtosKernelStubs],
"System Call Stubs for Native API",
argv[NtosKernelStubs + 1]);
WriteFileHeader(Files[NtosKernelStubs],
"System Call Stubs for Native API",
argv[NtosKernelStubs + 1]);
- fputs("#include <ndk/i386/segment.h>\n\n", Files[NtosKernelStubs]);
-
+ fputs("#include <ndk/asm.h>\n\n", Files[NtosKernelStubs]);
+
WriteFileHeader(Files[Win32kGdiStubs],
"System Call Stubs for Native API",
argv[Win32kGdiStubs + 1]);
WriteFileHeader(Files[Win32kGdiStubs],
"System Call Stubs for Native API",
argv[Win32kGdiStubs + 1]);
WriteFileHeader(Files[Win32kUserStubs],
"System Call Stubs for Native API",
argv[Win32kUserStubs + 1]);
WriteFileHeader(Files[Win32kUserStubs],
"System Call Stubs for Native API",
argv[Win32kUserStubs + 1]);
/* Create the System Stubs */
CreateStubs(Files[NativeSystemDb],
/* Create the System Stubs */
CreateStubs(Files[NativeSystemDb],