Author: akhaldi
Date: Thu Aug 25 17:07:31 2011
New Revision: 53444
URL:
http://svn.reactos.org/svn/reactos?rev=53444&view=rev
Log:
[NEWCC]
* Fix rbuild build.
Modified:
branches/arty-newcc/ntoskrnl/cache/cachesub.c
branches/arty-newcc/ntoskrnl/cache/fssup.c
branches/arty-newcc/ntoskrnl/cache/section/fault.c
branches/arty-newcc/ntoskrnl/cache/section/sptab.c
Modified: branches/arty-newcc/ntoskrnl/cache/cachesub.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/cache/cache…
==============================================================================
--- branches/arty-newcc/ntoskrnl/cache/cachesub.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/cache/cachesub.c [iso-8859-1] Thu Aug 25 17:07:31 2011
@@ -143,7 +143,7 @@
PNOCC_BCB Bcb = NULL;
LARGE_INTEGER LowerBound, UpperBound;
PLIST_ENTRY ListEntry;
- IO_STATUS_BLOCK IOSB = {0};
+ IO_STATUS_BLOCK IOSB = {{0}};
DPRINT("CcFlushCache (while file) (%s:%d)\n", File, Line);
Modified: branches/arty-newcc/ntoskrnl/cache/fssup.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/cache/fssup…
==============================================================================
--- branches/arty-newcc/ntoskrnl/cache/fssup.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/cache/fssup.c [iso-8859-1] Thu Aug 25 17:07:31 2011
@@ -337,7 +337,14 @@
{
ToWrite = MIN(UpperBound.QuadPart - LowerBound.QuadPart, (PAGE_SIZE -
LowerBound.QuadPart) & (PAGE_SIZE - 1));
DPRINT("Zero last half %08x%08x %x\n", Target.u.HighPart, Target.u.LowPart,
ToWrite);
- Status = MiSimpleRead(FileObject, &Target, ZeroBuf, PAGE_SIZE, TRUE, &IOSB);
+ Status = MiSimpleRead(FileObject,
+ &Target,
+ ZeroBuf,
+ PAGE_SIZE,
+#ifdef __ROS_CMAKE__
+ TRUE,
+#endif
+ &IOSB);
if (!NT_SUCCESS(Status))
{
ExFreePool(ZeroBuf);
@@ -373,7 +380,14 @@
{
ToWrite = UpperBound.QuadPart - Target.QuadPart;
DPRINT("Zero first half %08x%08x %x\n", Target.u.HighPart, Target.u.LowPart,
ToWrite);
- Status = MiSimpleRead(FileObject, &Target, ZeroBuf, PAGE_SIZE, TRUE, &IOSB);
+ Status = MiSimpleRead(FileObject,
+ &Target,
+ ZeroBuf,
+ PAGE_SIZE,
+#ifdef __ROS_CMAKE__
+ TRUE,
+#endif
+ &IOSB);
if (!NT_SUCCESS(Status))
{
ExFreePool(ZeroBuf);
Modified: branches/arty-newcc/ntoskrnl/cache/section/fault.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/cache/secti…
==============================================================================
--- branches/arty-newcc/ntoskrnl/cache/section/fault.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/cache/section/fault.c [iso-8859-1] Thu Aug 25 17:07:31
2011
@@ -394,7 +394,7 @@
NTSTATUS Status;
BOOLEAN Locked = FromMdl;
MM_REQUIRED_RESOURCES Resources = { 0 };
- WORK_QUEUE_WITH_CONTEXT Context = { 0 };
+ WORK_QUEUE_WITH_CONTEXT Context;
DPRINT("MmAccessFault(Mode %d, Address %x)\n", Mode, Address);
@@ -587,7 +587,7 @@
BOOLEAN Locked = FromMdl;
PMEMORY_AREA MemoryArea;
MM_REQUIRED_RESOURCES Resources = { 0 };
- WORK_QUEUE_WITH_CONTEXT Context = { 0 };
+ WORK_QUEUE_WITH_CONTEXT Context;
NTSTATUS Status = STATUS_SUCCESS;
if (!FromMdl)
Modified: branches/arty-newcc/ntoskrnl/cache/section/sptab.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/cache/secti…
==============================================================================
--- branches/arty-newcc/ntoskrnl/cache/section/sptab.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/cache/section/sptab.c [iso-8859-1] Thu Aug 25 17:07:31
2011
@@ -105,7 +105,7 @@
PLARGE_INTEGER FileOffset)
{
LARGE_INTEGER SearchFileOffset;
- CACHE_SECTION_PAGE_TABLE SectionZeroPageTable = {0};
+ CACHE_SECTION_PAGE_TABLE SectionZeroPageTable;
PCACHE_SECTION_PAGE_TABLE PageTableSlice =
MiSectionPageTableGet(Table, FileOffset);
if (!PageTableSlice)