mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +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];
|
MAPPING_PAIR Pair[1];
|
||||||
} GET_RETRIEVAL_DESCRIPTOR, *PGET_RETRIEVAL_DESCRIPTOR;
|
} 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 {
|
typedef struct _MOVEFILE_DESCRIPTOR {
|
||||||
HANDLE FileHandle;
|
HANDLE FileHandle;
|
||||||
ULONG Reserved;
|
ULONG Reserved;
|
||||||
|
|
|
@ -81,6 +81,19 @@ typedef struct _PRIVATE_CACHE_MAP
|
||||||
LIST_ENTRY PrivateLinks;
|
LIST_ENTRY PrivateLinks;
|
||||||
} PRIVATE_CACHE_MAP, *PPRIVATE_CACHE_MAP;
|
} 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_
|
#ifdef _NTIFS_INCLUDED_
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -103,12 +116,12 @@ typedef struct _SHARED_CACHE_MAP
|
||||||
PVOID NeedToZero;
|
PVOID NeedToZero;
|
||||||
ULONG ActivePage;
|
ULONG ActivePage;
|
||||||
ULONG NeedToZeroPage;
|
ULONG NeedToZeroPage;
|
||||||
ULONG ActiveVacbSpinLock;
|
KSPIN_LOCK ActiveVacbSpinLock;
|
||||||
ULONG VacbActiveCount;
|
ULONG VacbActiveCount;
|
||||||
ULONG DirtyPages;
|
ULONG DirtyPages;
|
||||||
LIST_ENTRY SharedCacheMapLinks;
|
LIST_ENTRY SharedCacheMapLinks;
|
||||||
ULONG Flags;
|
ULONG Flags;
|
||||||
ULONG Status;
|
LONG Status;
|
||||||
PMBCB Mbcb;
|
PMBCB Mbcb;
|
||||||
PVOID Section;
|
PVOID Section;
|
||||||
PKEVENT CreateEvent;
|
PKEVENT CreateEvent;
|
||||||
|
@ -119,12 +132,12 @@ typedef struct _SHARED_CACHE_MAP
|
||||||
PVOID LazyWriteContext;
|
PVOID LazyWriteContext;
|
||||||
LIST_ENTRY PrivateList;
|
LIST_ENTRY PrivateList;
|
||||||
PVOID LogHandle;
|
PVOID LogHandle;
|
||||||
PVOID FlushToLsnRoutine;
|
PFLUSH_TO_LSN FlushToLsnRoutine;
|
||||||
ULONG DirtyPageThreshold;
|
ULONG DirtyPageThreshold;
|
||||||
ULONG LazyWritePassCount;
|
ULONG LazyWritePassCount;
|
||||||
PCACHE_UNINITIALIZE_EVENT UninitializeEvent;
|
PCACHE_UNINITIALIZE_EVENT UninitializeEvent;
|
||||||
PVACB NeedToZeroVacb;
|
PVACB NeedToZeroVacb;
|
||||||
ULONG BcbSpinLock;
|
KSPIN_LOCK BcbSpinLock;
|
||||||
PVOID Reserved;
|
PVOID Reserved;
|
||||||
KEVENT Event;
|
KEVENT Event;
|
||||||
EX_PUSH_LOCK VacbPushLock;
|
EX_PUSH_LOCK VacbPushLock;
|
||||||
|
|
|
@ -1535,19 +1535,6 @@ typedef struct _GET_RETRIEVAL_DESCRIPTOR {
|
||||||
MAPPING_PAIR Pair[1];
|
MAPPING_PAIR Pair[1];
|
||||||
} GET_RETRIEVAL_DESCRIPTOR, *PGET_RETRIEVAL_DESCRIPTOR;
|
} 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 {
|
typedef struct _MOVEFILE_DESCRIPTOR {
|
||||||
HANDLE FileHandle;
|
HANDLE FileHandle;
|
||||||
ULONG Reserved;
|
ULONG Reserved;
|
||||||
|
|
Loading…
Reference in a new issue