Author: fireball
Date: Tue Sep 23 07:41:02 2008
New Revision: 36427
URL: http://svn.reactos.org/svn/reactos?rev=36427&view=rev
Log:
- In success cases of NtAllocateVirtualMemory, return the real (page rounded!) base address and region size, not the possibly unaligned pointer and length which were passed to the function. These cases were hit when a region of memory was previously reserved, then a commit request came with unaligned base address and length, which match that previously reserved region after aligning.
Modified:
trunk/reactos/ntoskrnl/mm/anonmem.c
Modified: trunk/reactos/ntoskrnl/mm/anonmem.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/anonmem.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Tue Sep 23 07:41:02 2008
@@ -727,6 +727,15 @@
MmUnlockAddressSpace(AddressSpace);
ObDereferenceObject(Process);
DPRINT("NtAllocateVirtualMemory() = %x\n",Status);
+
+ /* Give the caller rounded BaseAddress and area length */
+ if (NT_SUCCESS(Status))
+ {
+ *UBaseAddress = BaseAddress;
+ *URegionSize = RegionSize;
+ DPRINT("*UBaseAddress %x *URegionSize %x\n", BaseAddress, RegionSize);
+ }
+
return(Status);
}
else if (MemoryAreaLength >= RegionSize)
@@ -749,6 +758,15 @@
MmUnlockAddressSpace(AddressSpace);
ObDereferenceObject(Process);
DPRINT("NtAllocateVirtualMemory() = %x\n",Status);
+
+ /* Give the caller rounded BaseAddress and area length */
+ if (NT_SUCCESS(Status))
+ {
+ *UBaseAddress = BaseAddress;
+ *URegionSize = RegionSize;
+ DPRINT("*UBaseAddress %x *URegionSize %x\n", BaseAddress, RegionSize);
+ }
+
return(Status);
}
else
Author: fireball
Date: Tue Sep 23 05:47:10 2008
New Revision: 36425
URL: http://svn.reactos.org/svn/reactos?rev=36425&view=rev
Log:
[FORMATTING]
- Apply standard header.
Modified:
trunk/reactos/base/system/smss/client.c
trunk/reactos/base/system/smss/debug.c
trunk/reactos/base/system/smss/init.c
trunk/reactos/base/system/smss/initdosdev.c
trunk/reactos/base/system/smss/initenv.c
trunk/reactos/base/system/smss/initheap.c
trunk/reactos/base/system/smss/initmv.c
trunk/reactos/base/system/smss/initobdir.c
trunk/reactos/base/system/smss/initpage.c
trunk/reactos/base/system/smss/initreg.c
trunk/reactos/base/system/smss/initrun.c
trunk/reactos/base/system/smss/initss.c
trunk/reactos/base/system/smss/initwkdll.c
trunk/reactos/base/system/smss/print.c
trunk/reactos/base/system/smss/smapi.c
trunk/reactos/base/system/smss/smapicomp.c
trunk/reactos/base/system/smss/smapiexec.c
trunk/reactos/base/system/smss/smapiquery.c
trunk/reactos/base/system/smss/smss.c
Modified: trunk/reactos/base/system/smss/client.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/client.c?…
==============================================================================
--- trunk/reactos/base/system/smss/client.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/client.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * client.c - Session Manager client Management
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
- */
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/client.c
+ * PURPOSE: Client management.
+ * PROGRAMMERS: ReactOS Development Team
+ */
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#include <sm/helper.h>
Modified: trunk/reactos/base/system/smss/debug.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/debug.c?r…
==============================================================================
--- trunk/reactos/base/system/smss/debug.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/debug.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * debug.c - Session Manager debug messages switch and router
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/debug.c
+ * PURPOSE: Debug messages switch and router.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/init.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/init.c?re…
==============================================================================
--- trunk/reactos/base/system/smss/init.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/init.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * init.c - Session Manager initialization
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/init.c
+ * PURPOSE: Initialization.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initdosdev.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initdosde…
==============================================================================
--- trunk/reactos/base/system/smss/initdosdev.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initdosdev.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,29 +1,12 @@
-/* $Id$
- *
- * initdosdev.c - Define symbolic links to kernel devices (MS-DOS names).
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initdosdev.c
+ * PURPOSE: Define symbolic links to kernel devices (MS-DOS names).
+ * PROGRAMMERS: ReactOS Development Team
*/
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initenv.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initenv.c…
==============================================================================
--- trunk/reactos/base/system/smss/initenv.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initenv.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
/*
- * initenv.c - Environment initialization
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initenv.c
+ * PURPOSE: Environment initialization.
+ * PROGRAMMERS: ReactOS Development Team
*/
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initheap.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initheap.…
==============================================================================
--- trunk/reactos/base/system/smss/initheap.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initheap.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,29 +1,12 @@
-/* $Id$
- *
- * initenv.c - Create the SM private heap
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initheap.c
+ * PURPOSE: Create the SM private heap.
+ * PROGRAMMERS: ReactOS Development Team
*/
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initmv.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initmv.c?…
==============================================================================
--- trunk/reactos/base/system/smss/initmv.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initmv.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,14 +1,10 @@
-/* $Id$
- *
- * PROJECT: ReactOS Operating System
- * LICENSE: GPL - See COPYING in the top level directory
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
* FILE: base/system/smss/initmv.c
* PURPOSE: Process the file rename list.
- * PROGRAMMERS: Dmitry Philippov (shedon(a)mail.ru)
- * UPDATE HISTORY:
- * Created 13/08/2006
+ * PROGRAMMERS: ReactOS Development Team
*/
-
/* INCLUDES ******************************************************************/
#include "smss.h"
Modified: trunk/reactos/base/system/smss/initobdir.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initobdir…
==============================================================================
--- trunk/reactos/base/system/smss/initobdir.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initobdir.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * initobdir.c - Session Manager object directories
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initobdir.c
+ * PURPOSE: Object directories.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initpage.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initpage.…
==============================================================================
--- trunk/reactos/base/system/smss/initpage.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initpage.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,27 +1,12 @@
/*
- * initpage.c -
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initpage.c
+ * PURPOSE: Paging file support.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initreg.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initreg.c…
==============================================================================
--- trunk/reactos/base/system/smss/initreg.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initreg.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,29 +1,12 @@
-/* $Id$
- *
- * initenv.c - Hive loading
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initreg.c
+ * PURPOSE: Hive loading.
+ * PROGRAMMERS: ReactOS Development Team
*/
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initrun.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initrun.c…
==============================================================================
--- trunk/reactos/base/system/smss/initrun.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initrun.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,29 +1,12 @@
-/* $Id$
- *
- * initrun.c - Run all programs in the boot execution list
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initrun.c
+ * PURPOSE: Run all programs in the boot execution list.
+ * PROGRAMMERS: ReactOS Development Team
*/
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initss.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initss.c?…
==============================================================================
--- trunk/reactos/base/system/smss/initss.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initss.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * initss.c - Load the subsystems
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initss.c
+ * PURPOSE: Load the subsystems.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/initwkdll.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initwkdll…
==============================================================================
--- trunk/reactos/base/system/smss/initwkdll.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initwkdll.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,29 +1,12 @@
-/* $Id$
- *
- * initwkdll.c - Load the well known DLLs
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/initwkdll.c
+ * PURPOSE: Load the well known DLLs.
+ * PROGRAMMERS: ReactOS Development Team
*/
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/print.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/print.c?r…
==============================================================================
--- trunk/reactos/base/system/smss/print.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/print.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * print.c - Print on the blue screen
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/print.c
+ * PURPOSE: Print on the blue screen.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/smapi.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smapi.c?r…
==============================================================================
--- trunk/reactos/base/system/smss/smapi.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smapi.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,10 +1,12 @@
-/* $Id$
- *
- * smapi.c - \SmApiPort LPC port message management
- *
- * Reactos Session Manager
- *
- */
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/print.c
+ * PURPOSE: \SmApiPort LPC port message management.
+ * PROGRAMMERS: ReactOS Development Team
+ */
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/smapicomp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smapicomp…
==============================================================================
--- trunk/reactos/base/system/smss/smapicomp.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smapicomp.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * smapicomp.c - SM_API_COMPLETE_SESSION
- *
- * Reactos Session Manager
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/smapicomp.c
+ * PURPOSE: SM_API_COMPLETE_SESSION.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/smapiexec.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smapiexec…
==============================================================================
--- trunk/reactos/base/system/smss/smapiexec.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smapiexec.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * smapiexec.c - SM_API_EXECUTE_PROGRAM
- *
- * Reactos Session Manager
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/smapiexec.c
+ * PURPOSE: SM_API_EXECUTE_PROGRAM.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/smapiquery.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smapiquer…
==============================================================================
--- trunk/reactos/base/system/smss/smapiquery.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smapiquery.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * smapiquery.c - SM_API_QUERY_INFORMATION
- *
- * Reactos Session Manager
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/smapiquery.c
+ * PURPOSE: SM_API_QUERY_INFORMATION.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#define NDEBUG
Modified: trunk/reactos/base/system/smss/smss.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smss.c?re…
==============================================================================
--- trunk/reactos/base/system/smss/smss.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smss.c [iso-8859-1] Tue Sep 23 05:47:10 2008
@@ -1,28 +1,12 @@
-/* $Id$
- *
- * smss.c - Session Manager
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.LIB. If not, write
- * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
- * MA 02139, USA.
- *
- * --------------------------------------------------------------------
+/*
+ * PROJECT: ReactOS Session Manager
+ * LICENSE: GPL v2 or later - See COPYING in the top level directory
+ * FILE: base/system/smss/smss.c
+ * PURPOSE: Initialization routine.
+ * PROGRAMMERS: ReactOS Development Team
*/
+
+/* INCLUDES ******************************************************************/
#include "smss.h"
#include <reactos/buildno.h>