Author: tkreuzer
Date: Wed Aug 11 01:22:06 2010
New Revision: 48517
URL: http://svn.reactos.org/svn/reactos?rev=48517&view=rev
Log:
[NTOSKRNL]
Stop using the new paged pool code, before ExpLoadInitialProcess is called. For so far unknown reasons, it causes evil things to happen. Fixes "Assertion NewSize < pool->UserSize failed"
See issue #5551 for more details.
Modified:
trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/init.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=485…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] Wed Aug 11 01:22:06 2010
@@ -1851,6 +1851,9 @@
/* Update progress bar */
InbvUpdateProgressBar(90);
+ /* Enough fun for now */
+ AllowPagedPool = FALSE;
+
/* Launch initial process */
ProcessInfo = &InitBuffer->ProcessInfo;
ExpLoadInitialProcess(InitBuffer, &ProcessParameters, &Environment);
@@ -1860,9 +1863,6 @@
/* Allow strings to be displayed */
InbvEnableDisplayString(TRUE);
-
- /* Enough fun for now */
- AllowPagedPool = FALSE;
/* Wait 5 seconds for it to initialize */
Timeout.QuadPart = Int32x32To64(5, -10000000);
Author: fireball
Date: Tue Aug 10 20:08:31 2010
New Revision: 48513
URL: http://svn.reactos.org/svn/reactos?rev=48513&view=rev
Log:
[FASTFAT]
Pierre Schweitzer
- Fix volume opening on FAT volume. Commented out a directory check as it doesn't match realized tests, in spite of what's in WDK.
Modified:
trunk/reactos/drivers/filesystems/fastfat/create.c
Modified: trunk/reactos/drivers/filesystems/fastfat/create.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/create.c [iso-8859-1] Tue Aug 10 20:08:31 2010
@@ -466,7 +466,7 @@
/* This a open operation for the volume itself */
if (FileObject->FileName.Length == 0 &&
- FileObject->RelatedFileObject == NULL)
+ (FileObject->RelatedFileObject == NULL || FileObject->RelatedFileObject->FsContext2 != NULL))
{
if (RequestedDisposition == FILE_CREATE ||
RequestedDisposition == FILE_OVERWRITE_IF ||
@@ -474,10 +474,13 @@
{
return(STATUS_ACCESS_DENIED);
}
+#if 0
+ /* In spite of what is shown in WDK, it seems that Windows FAT driver doesn't perform that test */
if (RequestedOptions & FILE_DIRECTORY_FILE)
{
return(STATUS_NOT_A_DIRECTORY);
}
+#endif
pFcb = DeviceExt->VolumeFcb;
pCcb = ExAllocateFromNPagedLookasideList(&VfatGlobalData->CcbLookasideList);
if (pCcb == NULL)
Author: cgutman
Date: Tue Aug 10 15:59:33 2010
New Revision: 48512
URL: http://svn.reactos.org/svn/reactos?rev=48512&view=rev
Log:
[MSWSOCK]
- Fix completion port initialization
Modified:
branches/aicom-network-branch/dll/win32/mswsock/msafd/select.c
Modified: branches/aicom-network-branch/dll/win32/mswsock/msafd/select.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/dll/win32/…
==============================================================================
--- branches/aicom-network-branch/dll/win32/mswsock/msafd/select.c [iso-8859-1] (original)
+++ branches/aicom-network-branch/dll/win32/mswsock/msafd/select.c [iso-8859-1] Tue Aug 10 15:59:33 2010
@@ -75,7 +75,7 @@
}
/* Check if the port exists, and if not, create it */
- if (SockAsyncQueuePort) SockCreateAsyncQueuePort();
+ if (!SockAsyncQueuePort) SockCreateAsyncQueuePort();
/*
* Now Set up the Completion Port Information
Author: akhaldi
Date: Tue Aug 10 11:27:27 2010
New Revision: 48510
URL: http://svn.reactos.org/svn/reactos?rev=48510&view=rev
Log:
[PSDK]
- Add some missing headers' headers.
Modified:
trunk/reactos/include/psdk/d3dnthal.h
trunk/reactos/include/psdk/ddrawint.h
trunk/reactos/include/psdk/dmksctrl.h
trunk/reactos/include/psdk/ntdd1394.h
trunk/reactos/include/psdk/ntddbeep.h
trunk/reactos/include/psdk/ntddft.h
trunk/reactos/include/psdk/ntddtdi.h
trunk/reactos/include/psdk/unknown.h
Modified: trunk/reactos/include/psdk/d3dnthal.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3dnthal.h?re…
==============================================================================
--- trunk/reactos/include/psdk/d3dnthal.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/d3dnthal.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,5 +1,21 @@
-/*
+/*
+ * d3dnthal.h
+ *
* Direct3D NT driver interface
+ *
+ * Contributors:
+ * Created by Ge van Geldorp
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
*/
#ifndef __DDK_D3DNTHAL_H
Modified: trunk/reactos/include/psdk/ddrawint.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ddrawint.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ddrawint.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ddrawint.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,5 +1,21 @@
/*
+ * ddrawint.h
+ *
* DirectDraw NT driver interface
+ *
+ * Contributors:
+ * Created by Ge van Geldorp
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
*/
#ifndef __DD_INCLUDED__
Modified: trunk/reactos/include/psdk/dmksctrl.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/dmksctrl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/dmksctrl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/dmksctrl.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,21 @@
+/*
+ * dmksctrl.h
+ *
+ * Contributors:
+ * Created by Johannes Anderwald
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
+
#ifndef _IKsControl_
#define _IKsControl_
@@ -38,6 +56,3 @@
};
#endif
-
-
-
Modified: trunk/reactos/include/psdk/ntdd1394.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntdd1394.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntdd1394.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntdd1394.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntdd1394.h
+ *
+ * Contributors:
+ * Created by Magnus Olsen
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDD1394_H_
#define _NTDD1394_H_
Modified: trunk/reactos/include/psdk/ntddbeep.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddbeep.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntddbeep.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddbeep.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntddbeep.h
+ *
+ * Contributors:
+ * Created by Casper S. Hornstrup <chorns(a)users.sourceforge.net>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDDBEEP_
#define _NTDDBEEP_
Modified: trunk/reactos/include/psdk/ntddft.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddft.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/ntddft.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddft.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntddft.h
+ *
+ * Contributors:
+ * Created by Alex Ionescu
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDDFT_
#define _NTDDFT_
Modified: trunk/reactos/include/psdk/ntddtdi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddtdi.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/ntddtdi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddtdi.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntddtdi.h
+ *
+ * Contributors:
+ * Created by Casper S. Hornstrup <chorns(a)users.sourceforge.net>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDDTDI_
#define _NTDDTDI_
Modified: trunk/reactos/include/psdk/unknown.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/unknown.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/unknown.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/unknown.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,21 @@
+/*
+ * unknown.h
+ *
+ * Contributors:
+ * Created by Magnus Olsen
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
+
#ifndef __unknwn_h__
#define __unknwn_h__