mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[DDK][NDK]
- Fix some members of SHARED_CACHE_MAP - Move MBCB to NDK where it belongs svn path=/trunk/; revision=61708
This commit is contained in:
parent
57883c7aef
commit
0f74d012d4
3 changed files with 17 additions and 30 deletions
|
@ -11416,19 +11416,6 @@ typedef struct _GET_RETRIEVAL_DESCRIPTOR {
|
|||
MAPPING_PAIR Pair[1];
|
||||
} GET_RETRIEVAL_DESCRIPTOR, *PGET_RETRIEVAL_DESCRIPTOR;
|
||||
|
||||
typedef struct _MBCB {
|
||||
CSHORT NodeTypeCode;
|
||||
CSHORT NodeIsInZone;
|
||||
ULONG PagesToWrite;
|
||||
ULONG DirtyPages;
|
||||
ULONG Reserved;
|
||||
LIST_ENTRY BitmapRanges;
|
||||
LONGLONG ResumeWritePage;
|
||||
BITMAP_RANGE BitmapRange1;
|
||||
BITMAP_RANGE BitmapRange2;
|
||||
BITMAP_RANGE BitmapRange3;
|
||||
} MBCB, *PMBCB;
|
||||
|
||||
typedef struct _MOVEFILE_DESCRIPTOR {
|
||||
HANDLE FileHandle;
|
||||
ULONG Reserved;
|
||||
|
|
|
@ -81,6 +81,19 @@ typedef struct _PRIVATE_CACHE_MAP
|
|||
LIST_ENTRY PrivateLinks;
|
||||
} PRIVATE_CACHE_MAP, *PPRIVATE_CACHE_MAP;
|
||||
|
||||
typedef struct _MBCB {
|
||||
CSHORT NodeTypeCode;
|
||||
CSHORT NodeIsInZone;
|
||||
ULONG PagesToWrite;
|
||||
ULONG DirtyPages;
|
||||
ULONG Reserved;
|
||||
LIST_ENTRY BitmapRanges;
|
||||
LONGLONG ResumeWritePage;
|
||||
BITMAP_RANGE BitmapRange1;
|
||||
BITMAP_RANGE BitmapRange2;
|
||||
BITMAP_RANGE BitmapRange3;
|
||||
} MBCB, *PMBCB;
|
||||
|
||||
#ifdef _NTIFS_INCLUDED_
|
||||
|
||||
//
|
||||
|
@ -103,12 +116,12 @@ typedef struct _SHARED_CACHE_MAP
|
|||
PVOID NeedToZero;
|
||||
ULONG ActivePage;
|
||||
ULONG NeedToZeroPage;
|
||||
ULONG ActiveVacbSpinLock;
|
||||
KSPIN_LOCK ActiveVacbSpinLock;
|
||||
ULONG VacbActiveCount;
|
||||
ULONG DirtyPages;
|
||||
LIST_ENTRY SharedCacheMapLinks;
|
||||
ULONG Flags;
|
||||
ULONG Status;
|
||||
LONG Status;
|
||||
PMBCB Mbcb;
|
||||
PVOID Section;
|
||||
PKEVENT CreateEvent;
|
||||
|
@ -119,12 +132,12 @@ typedef struct _SHARED_CACHE_MAP
|
|||
PVOID LazyWriteContext;
|
||||
LIST_ENTRY PrivateList;
|
||||
PVOID LogHandle;
|
||||
PVOID FlushToLsnRoutine;
|
||||
PFLUSH_TO_LSN FlushToLsnRoutine;
|
||||
ULONG DirtyPageThreshold;
|
||||
ULONG LazyWritePassCount;
|
||||
PCACHE_UNINITIALIZE_EVENT UninitializeEvent;
|
||||
PVACB NeedToZeroVacb;
|
||||
ULONG BcbSpinLock;
|
||||
KSPIN_LOCK BcbSpinLock;
|
||||
PVOID Reserved;
|
||||
KEVENT Event;
|
||||
EX_PUSH_LOCK VacbPushLock;
|
||||
|
|
|
@ -1535,19 +1535,6 @@ typedef struct _GET_RETRIEVAL_DESCRIPTOR {
|
|||
MAPPING_PAIR Pair[1];
|
||||
} GET_RETRIEVAL_DESCRIPTOR, *PGET_RETRIEVAL_DESCRIPTOR;
|
||||
|
||||
typedef struct _MBCB {
|
||||
CSHORT NodeTypeCode;
|
||||
CSHORT NodeIsInZone;
|
||||
ULONG PagesToWrite;
|
||||
ULONG DirtyPages;
|
||||
ULONG Reserved;
|
||||
LIST_ENTRY BitmapRanges;
|
||||
LONGLONG ResumeWritePage;
|
||||
BITMAP_RANGE BitmapRange1;
|
||||
BITMAP_RANGE BitmapRange2;
|
||||
BITMAP_RANGE BitmapRange3;
|
||||
} MBCB, *PMBCB;
|
||||
|
||||
typedef struct _MOVEFILE_DESCRIPTOR {
|
||||
HANDLE FileHandle;
|
||||
ULONG Reserved;
|
||||
|
|
Loading…
Reference in a new issue