Author: sir_richard
Date: Tue Feb 9 03:12:27 2010
New Revision: 45514
URL:
http://svn.reactos.org/svn/reactos?rev=45514&view=rev
Log:
[NTOS]: All calls to DbgPrint will go to DbgPrintEarly for now.
[NTOS]: More header fixes to match new definitions.
Modified:
trunk/reactos/ntoskrnl/include/internal/arm/ke.h
trunk/reactos/ntoskrnl/include/internal/arm/mm.h
trunk/reactos/ntoskrnl/include/precomp.h
Modified: trunk/reactos/ntoskrnl/include/internal/arm/ke.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/arm/ke.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/arm/ke.h [iso-8859-1] Tue Feb 9 03:12:27
2010
@@ -54,7 +54,7 @@
// All architectures but x86 have it in the PRCB's KeContextSwitches
//
#define KeGetContextSwitches(Prcb) \
- Prcb->KeContextSwitches
+ CONTAINING_RECORD(Prcb, KIPCR, PrcbData)->ContextSwitches
//
// Returns the Interrupt State from a Trap Frame.
@@ -108,13 +108,6 @@
#include "mm.h"
VOID
-KeFillFixedEntryTb(
- IN ARM_PTE Pte,
- IN PVOID Virtual,
- IN ULONG Index
-);
-
-VOID
KeFlushTb(
VOID
);
Modified: trunk/reactos/ntoskrnl/include/internal/arm/mm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/arm/mm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/arm/mm.h [iso-8859-1] Tue Feb 9 03:12:27
2010
@@ -27,6 +27,7 @@
#define PDE_BASE 0xC0400000
#define HYPER_SPACE 0xC0404000
+#if 0
typedef struct _HARDWARE_PDE_ARMV6
{
ULONG Valid:1; // Only for small pages
@@ -77,6 +78,7 @@
C_ASSERT(sizeof(HARDWARE_PDE_ARMV6) == sizeof(ULONG));
C_ASSERT(sizeof(HARDWARE_LARGE_PTE_ARMV6) == sizeof(ULONG));
C_ASSERT(sizeof(HARDWARE_PTE_ARMV6) == sizeof(ULONG));
+#endif
/* For FreeLDR */
typedef struct _PAGE_TABLE_ARM
Modified: trunk/reactos/ntoskrnl/include/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/precomp.h…
==============================================================================
--- trunk/reactos/ntoskrnl/include/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/precomp.h [iso-8859-1] Tue Feb 9 03:12:27 2010
@@ -7,6 +7,11 @@
*/
/* INCLUDES ******************************************************************/
+
+/* ARM Bringup Hack */
+#ifdef _M_ARM
+#define DbgPrint DbgPrintEarly
+#endif
/* Version Data */
#undef __MSVCRT__