#ifndef __NTOSKRNL_INCLUDE_INTERNAL_ARM_KE_H
#define __NTOSKRNL_INCLUDE_INTERNAL_ARM_KE_H
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
-
//
//Lockdown TLB entries
//
#ifndef __NTOSKRNL_INCLUDE_INTERNAL_ARM_MM_H
#define __NTOSKRNL_INCLUDE_INTERNAL_ARM_MM_H
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
//
// Number of bits corresponding to the area that a PDE entry represents (1MB)
//
// Number of bits corresponding to the area that a coarse page table entry represents (4KB)
//
#define PTE_SHIFT 12
-#define PAGE_SIZE (1 << PTE_SHIFT)
+//#define PAGE_SIZE (1 << PTE_SHIFT) // FIXME: This conflicts with ndk/arm/mmtypes.h which does #define PAGE_SIZE 0x1000 -- use PTE_SIZE here instead?
//
// Number of bits corresponding to the area that a coarse page table occupies (1KB)
#ifndef __NTOSKRNL_INCLUDE_INTERNAL_I386_KE_H
#define __NTOSKRNL_INCLUDE_INTERNAL_I386_KE_H
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
#define FRAME_EDITED 0xFFF8
#ifndef __ASM__
#include "intrin_i.h"
+#include "v86m.h"
#define KeArchFnInit() Ke386FnInit()
#define KeArchHaltProcessor() Ke386HaltProcessor()
VOID
KeCreateApplicationProcessorIdleThread(ULONG Id);
-typedef
-VOID
-(NTAPI*PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine,
- PVOID StartContext);
-
VOID
NTAPI
Ke386InitThreadWithContext(PKTHREAD Thread,
#ifndef __NTOSKRNL_INCLUDE_INTERNAL_I386_MM_H
#define __NTOSKRNL_INCLUDE_INTERNAL_I386_MM_H
-#ifdef _M_IX86
-
struct _EPROCESS;
PULONG MmGetPageDirectory(VOID);
/* Easy accessing PFN in PTE */
#define PFN_FROM_PTE(v) ((v)->u.Hard.PageFrameNumber)
-#endif
-
#endif /* __NTOSKRNL_INCLUDE_INTERNAL_I386_MM_H */
#define __KBD_H
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
#define InterlockedAnd _InterlockedAnd
#include "ke.h"
-#include "i386/mm.h"
-#include "i386/v86m.h"
#include "ob.h"
#include "mm.h"
#include "ex.h"