[ros-diffs] [royce] 17365: variable to enable per-BCB debugging
royce at svn.reactos.com
royce at svn.reactos.com
Sat Aug 13 15:12:07 CEST 2005
variable to enable per-BCB debugging
Modified: trunk/reactos/ntoskrnl/include/internal/cc.h
_____
Modified: trunk/reactos/ntoskrnl/include/internal/cc.h
--- trunk/reactos/ntoskrnl/include/internal/cc.h 2005-08-13
12:46:37 UTC (rev 17364)
+++ trunk/reactos/ntoskrnl/include/internal/cc.h 2005-08-13
13:11:59 UTC (rev 17365)
@@ -13,6 +13,9 @@
LARGE_INTEGER FileSize;
KSPIN_LOCK BcbLock;
ULONG RefCount;
+#if defined(DBG) || defined(KDBG)
+ BOOLEAN Trace; /* enable extra trace output for this BCB and
it's cache segments */
+#endif
} BCB, *PBCB;
typedef struct _CACHE_SEGMENT
@@ -91,7 +94,7 @@
NTSTATUS
CcRosFreeCacheSegment(
- PBCB,
+ PBCB,
PCACHE_SEGMENT
);
@@ -105,14 +108,14 @@
NTSTATUS
CcRosUnmapCacheSegment(
- PBCB Bcb,
- ULONG FileOffset,
+ PBCB Bcb,
+ ULONG FileOffset,
BOOLEAN NowDirty
);
PCACHE_SEGMENT
CcRosLookupCacheSegment(
- PBCB Bcb,
+ PBCB Bcb,
ULONG FileOffset
);
@@ -129,13 +132,13 @@
NTSTATUS
CcRosMarkDirtyCacheSegment(
- PBCB Bcb,
+ PBCB Bcb,
ULONG FileOffset
);
NTSTATUS
CcRosFlushDirtyPages(
- ULONG Target,
+ ULONG Target,
PULONG Count
);
@@ -157,7 +160,7 @@
BOOLEAN Mapped
);
-NTSTATUS
+NTSTATUS
STDCALL
CcRosRequestCacheSegment(
BCB* Bcb,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050813/f2d051bd/attachment.html
More information about the Ros-diffs
mailing list