Author: tfaber
Date: Tue Nov 26 13:45:33 2013
New Revision: 61098
URL:
http://svn.reactos.org/svn/reactos?rev=61098&view=rev
Log:
[NTOS]
- FORCEINLINE belongs before the return type (-Wold-style-declaration)
Modified:
trunk/reactos/lib/rtl/avlsupp.c
trunk/reactos/ntoskrnl/fsrtl/notify.c
trunk/reactos/ntoskrnl/include/internal/i386/ke.h
trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h
trunk/reactos/ntoskrnl/include/internal/ke_x.h
trunk/reactos/ntoskrnl/include/internal/se.h
trunk/reactos/ntoskrnl/io/iomgr/volume.c
trunk/reactos/ntoskrnl/ke/i386/irqobj.c
trunk/reactos/ntoskrnl/ke/i386/traphdlr.c
trunk/reactos/ntoskrnl/ke/time.c
trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
trunk/reactos/ntoskrnl/mm/ARM3/miavl.h
trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
trunk/reactos/ntoskrnl/mm/ARM3/pool.c
trunk/reactos/ntoskrnl/mm/ARM3/syspte.c
trunk/reactos/ntoskrnl/mm/i386/page.c
Modified: trunk/reactos/lib/rtl/avlsupp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/avlsupp.c?rev=6109…
==============================================================================
--- trunk/reactos/lib/rtl/avlsupp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/avlsupp.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -27,8 +27,8 @@
/* FUNCTIONS ******************************************************************/
+FORCEINLINE
TABLE_SEARCH_RESULT
-FORCEINLINE
RtlpFindAvlTableNodeOrParent(IN PRTL_AVL_TABLE Table,
IN PVOID Buffer,
OUT PRTL_BALANCED_LINKS *NodeOrParent)
@@ -94,8 +94,8 @@
}
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlPromoteAvlTreeNode(IN PRTL_BALANCED_LINKS Node)
{
PRTL_BALANCED_LINKS ParentNode, SuperParentNode;
@@ -122,8 +122,8 @@
RtlSetParent(Node, SuperParentNode);
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
RtlpRebalanceAvlTreeNode(IN PRTL_BALANCED_LINKS Node)
{
PRTL_BALANCED_LINKS ChildNode, SubChildNode;
@@ -203,8 +203,8 @@
return TRUE;
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlpInsertAvlTreeNode(IN PRTL_AVL_TABLE Table,
IN PRTL_BALANCED_LINKS NewNode,
IN OUT PVOID NodeOrParent,
@@ -290,8 +290,8 @@
}
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlpDeleteAvlTreeNode(IN PRTL_AVL_TABLE Table,
IN PRTL_BALANCED_LINKS Node)
{
Modified: trunk/reactos/ntoskrnl/fsrtl/notify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/notify.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -83,8 +83,8 @@
return NULL;
}
-VOID
FORCEINLINE
+VOID
FsRtlNotifyAcquireFastMutex(IN PREAL_NOTIFY_SYNC RealNotifySync)
{
ULONG_PTR CurrentThread = (ULONG_PTR)KeGetCurrentThread();
@@ -233,8 +233,8 @@
}
}
-VOID
FORCEINLINE
+VOID
FsRtlNotifyReleaseFastMutex(IN PREAL_NOTIFY_SYNC RealNotifySync)
{
RealNotifySync->OwnerCount--;
Modified: trunk/reactos/ntoskrnl/include/internal/i386/ke.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/ke.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/ke.h [iso-8859-1] Tue Nov 26 13:45:33
2013
@@ -553,8 +553,8 @@
//
// Returns a thread's FPU save area
//
+FORCEINLINE
PFX_SAVE_AREA
-FORCEINLINE
KiGetThreadNpxArea(IN PKTHREAD Thread)
{
return (PFX_SAVE_AREA)((ULONG_PTR)Thread->InitialStack - sizeof(FX_SAVE_AREA));
@@ -614,9 +614,9 @@
//
// Exception with no arguments
//
-VOID
FORCEINLINE
DECLSPEC_NORETURN
+VOID
KiDispatchException0Args(IN NTSTATUS Code,
IN ULONG_PTR Address,
IN PKTRAP_FRAME TrapFrame)
@@ -628,9 +628,9 @@
//
// Exception with one argument
//
-VOID
FORCEINLINE
DECLSPEC_NORETURN
+VOID
KiDispatchException1Args(IN NTSTATUS Code,
IN ULONG_PTR Address,
IN ULONG P1,
@@ -643,9 +643,9 @@
//
// Exception with two arguments
//
-VOID
FORCEINLINE
DECLSPEC_NORETURN
+VOID
KiDispatchException2Args(IN NTSTATUS Code,
IN ULONG_PTR Address,
IN ULONG P1,
@@ -676,8 +676,8 @@
*
*/
#ifdef __GNUC__
+FORCEINLINE
NTSTATUS
-FORCEINLINE
KiSystemCallTrampoline(IN PVOID Handler,
IN PVOID Arguments,
IN ULONG StackBytes)
@@ -702,8 +702,8 @@
return Result;
}
#elif defined(_MSC_VER)
+FORCEINLINE
NTSTATUS
-FORCEINLINE
KiSystemCallTrampoline(IN PVOID Handler,
IN PVOID Arguments,
IN ULONG StackBytes)
@@ -729,8 +729,8 @@
//
// Checks for pending APCs
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiCheckForApcDelivery(IN PKTRAP_FRAME TrapFrame)
{
PKTHREAD Thread;
@@ -767,8 +767,8 @@
// Converts a base thread to a GUI thread
//
#ifdef __GNUC__
+FORCEINLINE
NTSTATUS
-FORCEINLINE
KiConvertToGuiThread(VOID)
{
NTSTATUS Result;
@@ -814,8 +814,8 @@
//
// Switches from boot loader to initial kernel stack
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiSwitchToBootStack(IN ULONG_PTR InitialStack)
{
/* We have to switch to a new stack before continuing kernel initialization */
@@ -849,9 +849,9 @@
//
// Emits the iret instruction for C code
//
+FORCEINLINE
DECLSPEC_NORETURN
VOID
-FORCEINLINE
KiIret(VOID)
{
#if defined(__GNUC__)
@@ -874,8 +874,8 @@
// Normally this is done by the HAL, but on x86 as an optimization, the kernel
// initiates the end by calling back into the HAL and exiting the trap here.
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiEndInterrupt(IN KIRQL Irql,
IN PKTRAP_FRAME TrapFrame)
{
@@ -890,8 +890,8 @@
//
// PERF Code
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
Ki386PerfEnd(VOID)
{
extern ULONGLONG BootCyclesEnd, BootCycles;
Modified: trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h [iso-8859-1] Tue Nov 26 13:45:33
2013
@@ -19,8 +19,8 @@
//
// Helper Code
//
+FORCEINLINE
BOOLEAN
-FORCEINLINE
KiUserTrap(IN PKTRAP_FRAME TrapFrame)
{
/* Anything else but Ring 0 is Ring 3 */
@@ -30,8 +30,8 @@
//
// Debug Macros
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiDumpTrapFrame(IN PKTRAP_FRAME TrapFrame)
{
/* Dump the whole thing */
@@ -100,8 +100,8 @@
extern BOOLEAN StopChecking;
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiExitTrapDebugChecks(IN PKTRAP_FRAME TrapFrame,
IN BOOLEAN SkipPreviousMode)
{
@@ -180,8 +180,8 @@
StopChecking = FALSE;
}
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiExitSystemCallDebugChecks(IN ULONG SystemCall,
IN PKTRAP_FRAME TrapFrame)
{
@@ -248,8 +248,8 @@
//
// Save user mode debug registers and restore kernel values
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiHandleDebugRegistersOnTrapEntry(
IN PKTRAP_FRAME TrapFrame)
{
@@ -275,8 +275,8 @@
__writedr(7, Prcb->ProcessorState.SpecialRegisters.KernelDr7);
}
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiHandleDebugRegistersOnTrapExit(
PKTRAP_FRAME TrapFrame)
{
@@ -295,9 +295,9 @@
//
// Virtual 8086 Mode Optimized Trap Exit
//
-VOID
FORCEINLINE
DECLSPEC_NORETURN
+VOID
KiExitV86Trap(IN PKTRAP_FRAME TrapFrame)
{
PKTHREAD Thread;
@@ -342,8 +342,8 @@
//
// Virtual 8086 Mode Optimized Trap Entry
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiEnterV86Trap(IN PKTRAP_FRAME TrapFrame)
{
/* Save exception list */
@@ -361,8 +361,8 @@
//
// Interrupt Trap Entry
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiEnterInterruptTrap(IN PKTRAP_FRAME TrapFrame)
{
/* Save exception list and terminate it */
@@ -391,8 +391,8 @@
//
// Generic Trap Entry
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
KiEnterTrap(IN PKTRAP_FRAME TrapFrame)
{
/* Save exception list */
Modified: trunk/reactos/ntoskrnl/include/internal/ke_x.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ke_x.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ke_x.h [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -852,8 +852,8 @@
return STATUS_WAIT_0;
}
+FORCEINLINE
ULONG
-FORCEINLINE
KiComputeTimerTableIndex(IN ULONGLONG DueTime)
{
return (DueTime / KeMaximumIncrement) & (TIMER_TABLE_SIZE - 1);
Modified: trunk/reactos/ntoskrnl/include/internal/se.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/se.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/se.h [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -24,8 +24,8 @@
ULONG SidStart;
} KNOWN_COMPOUND_ACE, *PKNOWN_COMPOUND_ACE;
+FORCEINLINE
PSID
-FORCEINLINE
SepGetGroupFromDescriptor(PVOID _Descriptor)
{
PISECURITY_DESCRIPTOR Descriptor = (PISECURITY_DESCRIPTOR)_Descriptor;
@@ -43,8 +43,8 @@
}
}
+FORCEINLINE
PSID
-FORCEINLINE
SepGetOwnerFromDescriptor(PVOID _Descriptor)
{
PISECURITY_DESCRIPTOR Descriptor = (PISECURITY_DESCRIPTOR)_Descriptor;
@@ -62,8 +62,8 @@
}
}
+FORCEINLINE
PACL
-FORCEINLINE
SepGetDaclFromDescriptor(PVOID _Descriptor)
{
PISECURITY_DESCRIPTOR Descriptor = (PISECURITY_DESCRIPTOR)_Descriptor;
@@ -83,8 +83,8 @@
}
}
+FORCEINLINE
PACL
-FORCEINLINE
SepGetSaclFromDescriptor(PVOID _Descriptor)
{
PISECURITY_DESCRIPTOR Descriptor = (PISECURITY_DESCRIPTOR)_Descriptor;
Modified: trunk/reactos/ntoskrnl/io/iomgr/volume.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/volume.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/volume.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/volume.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -277,8 +277,8 @@
/*
* @implemented
*/
+FORCEINLINE
VOID
-FORCEINLINE
IopNotifyFileSystemChange(IN PDEVICE_OBJECT DeviceObject,
IN BOOLEAN DriverActive)
{
Modified: trunk/reactos/ntoskrnl/ke/i386/irqobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/irqobj.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/irqobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/irqobj.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -129,9 +129,9 @@
KeRegisterInterruptHandler(Interrupt->Vector, Handler);
}
-VOID
FORCEINLINE
DECLSPEC_NORETURN
+VOID
KiExitInterrupt(IN PKTRAP_FRAME TrapFrame,
IN KIRQL OldIrql,
IN BOOLEAN Spurious)
Modified: trunk/reactos/ntoskrnl/ke/i386/traphdlr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/traphdlr.…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/traphdlr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/traphdlr.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -57,8 +57,8 @@
/* TRAP EXIT CODE *************************************************************/
+FORCEINLINE
BOOLEAN
-FORCEINLINE
KiVdmTrap(IN PKTRAP_FRAME TrapFrame)
{
/* Either the V8086 flag is on, or this is user-mode with a VDM */
@@ -66,16 +66,16 @@
((KiUserTrap(TrapFrame)) &&
(PsGetCurrentProcess()->VdmObjects)));
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
KiV86Trap(IN PKTRAP_FRAME TrapFrame)
{
/* Check if the V8086 flag is on */
return ((TrapFrame->EFlags & EFLAGS_V86_MASK) != 0);
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
KiIsFrameEdited(IN PKTRAP_FRAME TrapFrame)
{
/* An edited frame changes esp. It is marked by clearing the bits
@@ -83,8 +83,8 @@
return ((TrapFrame->SegCs & FRAME_EDITED) == 0);
}
-VOID
FORCEINLINE
+VOID
KiCommonExit(IN PKTRAP_FRAME TrapFrame, BOOLEAN SkipPreviousMode)
{
/* Disable interrupts until we return */
@@ -1521,9 +1521,9 @@
return Result;
}
-DECLSPEC_NORETURN
-VOID
FORCEINLINE
+DECLSPEC_NORETURN
+VOID
KiSystemCall(IN PKTRAP_FRAME TrapFrame,
IN PVOID Arguments)
{
Modified: trunk/reactos/ntoskrnl/ke/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/time.c?rev=610…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/time.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/time.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -20,8 +20,8 @@
/* FUNCTIONS ******************************************************************/
-VOID
FORCEINLINE
+VOID
KiWriteSystemTime(volatile KSYSTEM_TIME *SystemTime, ULARGE_INTEGER NewTime)
{
#ifdef _WIN64
@@ -35,8 +35,8 @@
#endif
}
-VOID
FORCEINLINE
+VOID
KiCheckForTimerExpiration(
PKPRCB Prcb,
PKTRAP_FRAME TrapFrame,
Modified: trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/miarm.h?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -731,8 +731,8 @@
extern LARGE_INTEGER MmCriticalSectionTimeout;
extern LIST_ENTRY MmWorkingSetExpansionHead;
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsMemoryTypeFree(TYPE_OF_MEMORY MemoryType)
{
return ((MemoryType == LoaderFree) ||
@@ -741,8 +741,8 @@
(MemoryType == LoaderOsloaderStack));
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsMemoryTypeInvisible(TYPE_OF_MEMORY MemoryType)
{
return ((MemoryType == LoaderFirmwarePermanent) ||
@@ -752,44 +752,44 @@
}
#ifdef _M_AMD64
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsUserPxe(PVOID Address)
{
return ((ULONG_PTR)Address >> 7) == 0x1FFFFEDF6FB7DA0ULL;
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsUserPpe(PVOID Address)
{
return ((ULONG_PTR)Address >> 16) == 0xFFFFF6FB7DA0ULL;
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsUserPde(PVOID Address)
{
return ((ULONG_PTR)Address >> 25) == 0x7FFFFB7DA0ULL;
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsUserPte(PVOID Address)
{
return ((ULONG_PTR)Address >> 34) == 0x3FFFFDA0ULL;
}
#else
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsUserPde(PVOID Address)
{
return ((Address >= (PVOID)MiAddressToPde(NULL)) &&
(Address <= (PVOID)MiHighestUserPde));
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsUserPte(PVOID Address)
{
return (Address <= (PVOID)MiHighestUserPte);
@@ -799,8 +799,8 @@
//
// Figures out the hardware bits for a PTE
//
+FORCEINLINE
ULONG_PTR
-FORCEINLINE
MiDetermineUserGlobalPteMask(IN PVOID PointerPte)
{
MMPTE TempPte;
@@ -991,8 +991,8 @@
//
// Writes a valid PTE
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
MI_WRITE_VALID_PTE(IN PMMPTE PointerPte,
IN MMPTE TempPte)
{
@@ -1005,8 +1005,8 @@
//
// Writes an invalid PTE
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
MI_WRITE_INVALID_PTE(IN PMMPTE PointerPte,
IN MMPTE InvalidPte)
{
@@ -1018,8 +1018,8 @@
//
// Writes a valid PDE
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
MI_WRITE_VALID_PDE(IN PMMPDE PointerPde,
IN MMPDE TempPde)
{
@@ -1032,8 +1032,8 @@
//
// Writes an invalid PDE
//
-VOID
-FORCEINLINE
+FORCEINLINE
+VOID
MI_WRITE_INVALID_PDE(IN PMMPDE PointerPde,
IN MMPDE InvalidPde)
{
@@ -1082,8 +1082,8 @@
//
// New ARM3<->RosMM PAGE Architecture
//
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiIsRosSectionObject(IN PVOID Section)
{
PROS_SECTION_OBJECT RosSection = Section;
@@ -2294,8 +2294,8 @@
// then we'd like to have our own code to grab a free page and zero it out, by
// using MiRemoveAnyPage. This macro implements this.
//
+FORCEINLINE
PFN_NUMBER
-FORCEINLINE
MiRemoveZeroPageSafe(IN ULONG Color)
{
if (MmFreePagesByColor[ZeroedPageList][Color].Flink != LIST_HEAD) return
MiRemoveZeroPage(Color);
Modified: trunk/reactos/ntoskrnl/mm/ARM3/miavl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/miavl.h?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/miavl.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/miavl.h [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -28,8 +28,8 @@
#define PRTL_BALANCED_LINKS PMMADDRESS_NODE
#define MI_ASSERT(x) ASSERT(x)
+FORCEINLINE
VOID
-FORCEINLINE
RtlpCopyAvlNodeData(IN PRTL_BALANCED_LINKS Node1,
IN PRTL_BALANCED_LINKS Node2)
{
@@ -38,8 +38,8 @@
Node1->RightChild = Node2->RightChild;
}
+FORCEINLINE
RTL_GENERIC_COMPARE_RESULTS
-FORCEINLINE
RtlpAvlCompareRoutine(IN PRTL_AVL_TABLE Table,
IN PVOID Buffer,
IN PVOID UserData)
@@ -60,73 +60,73 @@
}
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlSetParent(IN PRTL_BALANCED_LINKS Node,
IN PRTL_BALANCED_LINKS Parent)
{
Node->u1.Parent = (PRTL_BALANCED_LINKS)((ULONG_PTR)Parent | (Node->u1.Balance
& 0x3));
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlSetBalance(IN PRTL_BALANCED_LINKS Node,
IN SCHAR Balance)
{
Node->u1.Balance = Balance;
}
+FORCEINLINE
SCHAR
-FORCEINLINE
RtlBalance(IN PRTL_BALANCED_LINKS Node)
{
return (SCHAR)Node->u1.Balance;
}
+FORCEINLINE
PRTL_BALANCED_LINKS
-FORCEINLINE
RtlParentAvl(IN PRTL_BALANCED_LINKS Node)
{
return (PRTL_BALANCED_LINKS)((ULONG_PTR)Node->u1.Parent & ~3);
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
RtlIsRootAvl(IN PRTL_BALANCED_LINKS Node)
{
return (RtlParentAvl(Node) == Node);
}
+FORCEINLINE
PRTL_BALANCED_LINKS
-FORCEINLINE
RtlRightChildAvl(IN PRTL_BALANCED_LINKS Node)
{
return Node->RightChild;
}
+FORCEINLINE
PRTL_BALANCED_LINKS
-FORCEINLINE
RtlLeftChildAvl(IN PRTL_BALANCED_LINKS Node)
{
return Node->LeftChild;
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
RtlIsLeftChildAvl(IN PRTL_BALANCED_LINKS Node)
{
return (RtlLeftChildAvl(RtlParentAvl(Node)) == Node);
}
+FORCEINLINE
BOOLEAN
-FORCEINLINE
RtlIsRightChildAvl(IN PRTL_BALANCED_LINKS Node)
{
return (RtlRightChildAvl(RtlParentAvl(Node)) == Node);
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlInsertAsLeftChildAvl(IN PRTL_BALANCED_LINKS Parent,
IN PRTL_BALANCED_LINKS Node)
{
@@ -134,8 +134,8 @@
RtlSetParent(Node, Parent);
}
+FORCEINLINE
VOID
-FORCEINLINE
RtlInsertAsRightChildAvl(IN PRTL_BALANCED_LINKS Parent,
IN PRTL_BALANCED_LINKS Node)
{
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pagfault.…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -311,8 +311,8 @@
}
#if (_MI_PAGING_LEVELS == 2)
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiSynchronizeSystemPde(PMMPDE PointerPde)
{
MMPDE SystemPde;
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pool.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -98,8 +98,8 @@
return UnprotectedPages ? TRUE : FALSE;
}
+FORCEINLINE
VOID
-FORCEINLINE
MiProtectedPoolUnProtectLinks(IN PLIST_ENTRY Links,
OUT PVOID* PoolFlink,
OUT PVOID* PoolBlink)
@@ -133,8 +133,8 @@
}
}
+FORCEINLINE
VOID
-FORCEINLINE
MiProtectedPoolProtectLinks(IN PVOID PoolFlink,
IN PVOID PoolBlink)
{
Modified: trunk/reactos/ntoskrnl/mm/ARM3/syspte.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/syspte.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/syspte.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/syspte.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -56,8 +56,8 @@
// being released, which is then inserted in front of the recorded cluster.
//
+FORCEINLINE
ULONG
-FORCEINLINE
MI_GET_CLUSTER_SIZE(IN PMMPTE Pte)
{
//
Modified: trunk/reactos/ntoskrnl/mm/i386/page.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/i386/page.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] Tue Nov 26 13:45:33 2013
@@ -199,8 +199,8 @@
}
/* Taken from ARM3/pagfault.c */
+FORCEINLINE
BOOLEAN
-FORCEINLINE
MiSynchronizeSystemPde(PMMPDE PointerPde)
{
MMPDE SystemPde;