X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fcache%2Fsection%2Fsptab.c;h=d3b04fd3fa9207bfd752ed3edb537eb45bdb2f01;hp=66ac8f277b2afc40ea77f91bc752f5f955a951f2;hb=1a64a18b5eef08602513e8463e6022dc8f6e8019;hpb=ed547ad4a53934b928d64257f36bead0e8964068 diff --git a/reactos/ntoskrnl/cache/section/sptab.c b/reactos/ntoskrnl/cache/section/sptab.c index 66ac8f277b2..d3b04fd3fa9 100644 --- a/reactos/ntoskrnl/cache/section/sptab.c +++ b/reactos/ntoskrnl/cache/section/sptab.c @@ -64,6 +64,7 @@ paging machinery. extern KSPIN_LOCK MiSectionPageTableLock; +_Function_class_(RTL_GENERIC_ALLOCATE_ROUTINE) static PVOID NTAPI @@ -75,6 +76,7 @@ MiSectionPageTableAllocate(PRTL_GENERIC_TABLE Table, CLONG Bytes) return Result; } +_Function_class_(RTL_GENERIC_FREE_ROUTINE) static VOID NTAPI @@ -84,6 +86,7 @@ MiSectionPageTableFree(PRTL_GENERIC_TABLE Table, PVOID Data) ExFreePoolWithTag(Data, 'MmPt'); } +_Function_class_(RTL_GENERIC_COMPARE_ROUTINE) static RTL_GENERIC_COMPARE_RESULTS NTAPI @@ -341,7 +344,7 @@ MmGetSectionAssociation(PFN_NUMBER Page, { Segment = PageTable->Segment; Offset->QuadPart = PageTable->FileOffset.QuadPart + - (RawOffset << PAGE_SHIFT); + ((ULONG64)RawOffset << PAGE_SHIFT); } return Segment;