A couple of header fixes to get all the FreeLDR-loaded boot drivers to compile and link.

FreeLDR now stops at ArmPrepareForReactOS, when we get to enable the MMU, Caches and other such fun stuff.
Bring-up now really starts!

svn path=/trunk/; revision=32233
This commit is contained in:
ReactOS Portable Systems Group
2008-02-09 00:59:05 +00:00
parent d4a0287d86
commit 23539081bb
3 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -2285,7 +2285,7 @@ NdisDestroyLookaheadBufferFromSharedMemory(
#endif
#if defined(_M_IX86) || defined(_M_AMD64)
#if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_ARM)
/*
* VOID
-11
View File
@@ -230,16 +230,5 @@ KeGetCurrentPrcb(VOID)
return PCR->Prcb;
}
//
// Macro to get current CPU
//
FORCEINLINE
ULONG
DDKAPI
KeGetCurrentProcessorNumber(VOID)
{
return PCR->Number;
}
#endif
#endif
+5
View File
@@ -22,6 +22,11 @@
#define PCR ((volatile KPCR * const)USPCR)
#define USERPCR ((volatile KPCR * const)KIPCR)
//
// Just read it from the PCR
//
#define KeGetCurrentProcessorNumber() ((ULONG)(PCR->Number))
//
// Stub
//