Standardize comment headers. Patch by Trevor McCort
Modified: trunk/reactos/ntoskrnl/cc/cacheman.c
Modified: trunk/reactos/ntoskrnl/cc/copy.c
Modified: trunk/reactos/ntoskrnl/cc/fs.c
Modified: trunk/reactos/ntoskrnl/cc/mdl.c
Modified: trunk/reactos/ntoskrnl/cc/pin.c
Modified: trunk/reactos/ntoskrnl/cc/view.c
Modified: trunk/reactos/ntoskrnl/cm/import.c
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c
Modified: trunk/reactos/ntoskrnl/cm/regfile.c
Modified: trunk/reactos/ntoskrnl/cm/registry.c
Modified: trunk/reactos/ntoskrnl/cm/regobj.c
Modified: trunk/reactos/ntoskrnl/dbg/dbgctrl.c
Modified: trunk/reactos/ntoskrnl/dbg/errinfo.c
Modified: trunk/reactos/ntoskrnl/dbg/i386/i386-dis.c
Modified: trunk/reactos/ntoskrnl/dbg/kdb.c
Modified: trunk/reactos/ntoskrnl/dbg/kdb_keyboard.c
Modified: trunk/reactos/ntoskrnl/dbg/kdb_serial.c
Modified: trunk/reactos/ntoskrnl/dbg/kdb_stabs.c
Modified: trunk/reactos/ntoskrnl/dbg/kdb_symbols.c
Modified: trunk/reactos/ntoskrnl/dbg/print.c
Modified: trunk/reactos/ntoskrnl/dbg/profile.c
Modified: trunk/reactos/ntoskrnl/dbg/rdebug.c
Modified: trunk/reactos/ntoskrnl/dbg/user.c
Modified: trunk/reactos/ntoskrnl/ex/btree.c
Modified: trunk/reactos/ntoskrnl/ex/callback.c
Modified: trunk/reactos/ntoskrnl/ex/event.c
Modified: trunk/reactos/ntoskrnl/ex/evtpair.c
Modified: trunk/reactos/ntoskrnl/ex/fmutex.c
Modified: trunk/reactos/ntoskrnl/ex/hashtab.c
Modified: trunk/reactos/ntoskrnl/ex/i386/interlck.c
Modified: trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/interlck.c
Modified: trunk/reactos/ntoskrnl/ex/list.c
Modified: trunk/reactos/ntoskrnl/ex/lookas.c
Modified: trunk/reactos/ntoskrnl/ex/mutant.c
Modified: trunk/reactos/ntoskrnl/ex/napi.c
Modified: trunk/reactos/ntoskrnl/ex/power.c
Modified: trunk/reactos/ntoskrnl/ex/profile.c
Modified: trunk/reactos/ntoskrnl/ex/resource.c
Modified: trunk/reactos/ntoskrnl/ex/rundown.c
Modified: trunk/reactos/ntoskrnl/ex/sem.c
Modified: trunk/reactos/ntoskrnl/ex/stree.c
Modified: trunk/reactos/ntoskrnl/ex/synch.c
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/ntoskrnl/ex/time.c
Modified: trunk/reactos/ntoskrnl/ex/timer.c
Modified: trunk/reactos/ntoskrnl/ex/util.c
Modified: trunk/reactos/ntoskrnl/ex/uuid.c
Modified: trunk/reactos/ntoskrnl/ex/win32k.c
Modified: trunk/reactos/ntoskrnl/ex/work.c
Modified: trunk/reactos/ntoskrnl/ex/zone.c
Modified: trunk/reactos/ntoskrnl/fs/dbcsname.c
Modified: trunk/reactos/ntoskrnl/fs/filelock.c
Modified: trunk/reactos/ntoskrnl/fs/mcb.c
Modified: trunk/reactos/ntoskrnl/fs/mdl.c
Modified: trunk/reactos/ntoskrnl/fs/name.c
Modified: trunk/reactos/ntoskrnl/fs/notify.c
Modified: trunk/reactos/ntoskrnl/fs/oplock.c
Modified: trunk/reactos/ntoskrnl/fs/pool.c
Modified: trunk/reactos/ntoskrnl/fs/tunnel.c
Modified: trunk/reactos/ntoskrnl/fs/unc.c
Modified: trunk/reactos/ntoskrnl/fs/util.c
Modified: trunk/reactos/ntoskrnl/inbv/inbv.c
Modified: trunk/reactos/ntoskrnl/io/adapter.c
Modified: trunk/reactos/ntoskrnl/io/arcname.c
Modified: trunk/reactos/ntoskrnl/io/bootlog.c
Modified: trunk/reactos/ntoskrnl/io/buildirp.c
Modified: trunk/reactos/ntoskrnl/io/cancel.c
Modified: trunk/reactos/ntoskrnl/io/cleanup.c
Modified: trunk/reactos/ntoskrnl/io/cntrller.c
Modified: trunk/reactos/ntoskrnl/io/create.c
Modified: trunk/reactos/ntoskrnl/io/device.c
Modified: trunk/reactos/ntoskrnl/io/deviface.c
Modified: trunk/reactos/ntoskrnl/io/dir.c
Modified: trunk/reactos/ntoskrnl/io/driver.c
Modified: trunk/reactos/ntoskrnl/io/efi.c
Modified: trunk/reactos/ntoskrnl/io/errlog.c
Modified: trunk/reactos/ntoskrnl/io/error.c
Modified: trunk/reactos/ntoskrnl/io/event.c
Modified: trunk/reactos/ntoskrnl/io/file.c
Modified: trunk/reactos/ntoskrnl/io/flush.c
Modified: trunk/reactos/ntoskrnl/io/fs.c
Modified: trunk/reactos/ntoskrnl/io/iocomp.c
Modified: trunk/reactos/ntoskrnl/io/ioctrl.c
Modified: trunk/reactos/ntoskrnl/io/iomgr.c
Modified: trunk/reactos/ntoskrnl/io/iowork.c
Modified: trunk/reactos/ntoskrnl/io/irp.c
Modified: trunk/reactos/ntoskrnl/io/irq.c
Modified: trunk/reactos/ntoskrnl/io/lock.c
Modified: trunk/reactos/ntoskrnl/io/mailslot.c
Modified: trunk/reactos/ntoskrnl/io/mdl.c
Modified: trunk/reactos/ntoskrnl/io/npipe.c
Modified: trunk/reactos/ntoskrnl/io/page.c
Modified: trunk/reactos/ntoskrnl/io/parttab.c
Modified: trunk/reactos/ntoskrnl/io/plugplay.c
Modified: trunk/reactos/ntoskrnl/io/pnpdma.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpnotify.c
Modified: trunk/reactos/ntoskrnl/io/pnpreport.c
Modified: trunk/reactos/ntoskrnl/io/pnproot.c
[truncated at 100 lines; 161 more skipped]
_____
Modified: trunk/reactos/ntoskrnl/cc/cacheman.c
--- trunk/reactos/ntoskrnl/cc/cacheman.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/cc/cacheman.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,29 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2000 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/cacheman.c
* PURPOSE: Cache manager
- * PROGRAMMER: David Welch (welch(a)cwcom.net)
- * PORTABILITY: Checked
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: David Welch (welch(a)cwcom.net)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/cc/copy.c
--- trunk/reactos/ntoskrnl/cc/copy.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cc/copy.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -4,9 +4,8 @@
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/copy.c
* PURPOSE: Implements cache managers copy interface
- * PROGRAMMER: Hartmut Birr
- * UPDATE HISTORY:
- * Created 05.10.2001
+ *
+ * PROGRAMMERS: Hartmut Birr
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/cc/fs.c
--- trunk/reactos/ntoskrnl/cc/fs.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cc/fs.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,10 +1,11 @@
-/* COPYRIGHT: See COPYING in the top level directory
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/fs.c
* PURPOSE: Implements cache managers functions useful for File
Systems
- * PROGRAMMER: Alex Ionescu
- * UPDATE HISTORY:
- * Created 20/06/04
+ *
+ * PROGRAMMERS: Alex Ionescu
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/cc/mdl.c
--- trunk/reactos/ntoskrnl/cc/mdl.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cc/mdl.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,10 +1,11 @@
-/* COPYRIGHT: See COPYING in the top level directory
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/fs.c
* PURPOSE: Implements MDL Cache Manager Functions
- * PROGRAMMER: Alex Ionescu
- * UPDATE HISTORY:
- * Created 20/06/04
+ *
+ * PROGRAMMERS: Alex Ionescu
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/cc/pin.c
--- trunk/reactos/ntoskrnl/cc/pin.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cc/pin.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -4,9 +4,8 @@
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/pin.c
* PURPOSE: Implements cache managers pinning interface
- * PROGRAMMER: Hartmut Birr
- * UPDATE HISTORY:
- * Created 05.10.2001
+ *
+ * PROGRAMMERS: Hartmut Birr
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/cc/view.c
--- trunk/reactos/ntoskrnl/cc/view.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cc/view.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,30 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/view.c
* PURPOSE: Cache manager
- * PROGRAMMER: David Welch (welch(a)mcmail.com)
- * PORTABILITY: Checked
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: David Welch (welch(a)mcmail.com)
*/
/* NOTES
**********************************************************************
_____
Modified: trunk/reactos/ntoskrnl/cm/import.c
--- trunk/reactos/ntoskrnl/cm/import.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cm/import.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -4,6 +4,7 @@
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cm/import.c
* PURPOSE: Registry-Hive import functions
+ *
* PROGRAMMERS: Eric Kohl
*/
_____
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c
--- trunk/reactos/ntoskrnl/cm/ntfunc.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cm/ntfunc.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,10 +1,12 @@
-/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/cm/ntfunc.c
- * PURPOSE: Ntxxx function for registry access
- * UPDATE HISTORY:
-*/
+/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/cm/ntfunc.c
+ * PURPOSE: Ntxxx function for registry access
+ *
+ * PROGRAMMERS: No programmer listed.
+ */
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/cm/regfile.c
--- trunk/reactos/ntoskrnl/cm/regfile.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cm/regfile.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,10 +1,12 @@
-/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/cm/regfile.c
- * PURPOSE: Registry file manipulation routines
- * UPDATE HISTORY:
-*/
+/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/cm/regfile.c
+ * PURPOSE: Registry file manipulation routines
+ *
+ * PROGRAMMERS: No programmer listed.
+ */
#include <ntoskrnl.h>
#define NDEBUG
_____
Modified: trunk/reactos/ntoskrnl/cm/registry.c
--- trunk/reactos/ntoskrnl/cm/registry.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/cm/registry.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -4,11 +4,10 @@
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cm/registry.c
* PURPOSE: Registry functions
+ *
* PROGRAMMERS: Rex Jolliff
* Matt Pyne
* Jean Michault
- * UPDATE HISTORY:
- * Created 22/05/98
*/
#include <ntoskrnl.h>
_____
Modified: trunk/reactos/ntoskrnl/cm/regobj.c
--- trunk/reactos/ntoskrnl/cm/regobj.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/cm/regobj.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,9 +1,11 @@
-/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/cm/regobj.c
- * PURPOSE: Registry object manipulation routines.
- * UPDATE HISTORY:
+/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/cm/regobj.c
+ * PURPOSE: Registry object manipulation routines.
+ *
+ * PROGRAMMERS: No programmer listed.
*/
#include <ntoskrnl.h>
_____
Modified: trunk/reactos/ntoskrnl/dbg/dbgctrl.c
--- trunk/reactos/ntoskrnl/dbg/dbgctrl.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/dbgctrl.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,26 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/dbgctrl.c
* PURPOSE: System debug control
- * PORTABILITY: Checked
+ *
+ * PROGRAMMERS: No programmer listed.
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/errinfo.c
--- trunk/reactos/ntoskrnl/dbg/errinfo.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/errinfo.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,28 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/errinfo.c
* PURPOSE: Print information descriptions of error messages
- * PORTABILITY: Checked
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: No programmer listed.
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/i386/i386-dis.c
--- trunk/reactos/ntoskrnl/dbg/i386/i386-dis.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/i386/i386-dis.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,3 +1,13 @@
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/dbg/i386/i386-dis.c
+ * PURPOSE: No purpose listed.
+ *
+ * PROGRAMMERS: No programmer listed.
+ */
+
#include <stdarg.h>
/* ReactOS compatibility stuff. */
_____
Modified: trunk/reactos/ntoskrnl/dbg/kdb.c
--- trunk/reactos/ntoskrnl/dbg/kdb.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/dbg/kdb.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,29 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2001-2004 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/kdb.c
* PURPOSE: Kernel debugger
- * PROGRAMMER: David Welch (welch(a)mcmail.com)
- * UPDATE HISTORY:
- * Created 01/03/01
+ *
+ * PROGRAMMERS: David Welch (welch(a)mcmail.com)
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/kdb_keyboard.c
--- trunk/reactos/ntoskrnl/dbg/kdb_keyboard.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/kdb_keyboard.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,28 +1,13 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/dbg/kdb_keyboard.c
+ * PURPOSE: Keyboard driver
+ *
+ * PROGRAMMERS: Victor Kirhenshtein (sauros(a)iname.com)
+ * Jason Filby (jasonfilby(a)yahoo.com)
*/
-/*
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/dbg/kdb_keyboard.c
- * PURPOSE: Keyboard driver
- * PROGRAMMER: Victor Kirhenshtein (sauros(a)iname.com)
- * Jason Filby (jasonfilby(a)yahoo.com)
- */
/* INCLUDES
****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/kdb_serial.c
--- trunk/reactos/ntoskrnl/dbg/kdb_serial.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/kdb_serial.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,31 +1,14 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/dbg/kdb_serial.c
+ * PURPOSE: Serial driver
+ *
+ * PROGRAMMERS: Victor Kirhenshtein (sauros(a)iname.com)
+ * Jason Filby (jasonfilby(a)yahoo.com)
+ * arty
*/
-/*
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/dbg/kdb_serial.c
- * PURPOSE: Serial driver
- * PROGRAMMER: Original:
- * Victor Kirhenshtein (sauros(a)iname.com)
- * Jason Filby (jasonfilby(a)yahoo.com)
- * Modified:
- * arty
- */
/* INCLUDES
****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/kdb_stabs.c
--- trunk/reactos/ntoskrnl/dbg/kdb_stabs.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/kdb_stabs.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,29 +1,12 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2004 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/dbg/kdb_stabs.c
+ * PURPOSE: Stabs functions...
+ *
+ * PROGRAMMERS: Gregor Anich (blight(a)blight.eu.org)
*/
-/*
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/dbg/kdb_stabs.c
- * PURPOSE: Stabs functions...
- * PROGRAMMER: Gregor Anich (blight(a)blight.eu.org)
- * REVISION HISTORY:
- * 2004/06/27: Created
- */
#include <ddk/ntddk.h>
#include <roscfg.h>
_____
Modified: trunk/reactos/ntoskrnl/dbg/kdb_symbols.c
--- trunk/reactos/ntoskrnl/dbg/kdb_symbols.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/kdb_symbols.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,22 +1,4 @@
/*
- * ReactOS kernel
- * Copyright (C) 1998-2004 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
* Parts of this file based on work Copyright (c) 1990, 1993
* The Regents of the University of California. All rights
reserved.
*
@@ -44,13 +26,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF
* SUCH DAMAGE.
*/
-/*
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/dbg/kdb_symbols.c
- * PURPOSE: Getting symbol information...
- * PROGRAMMER: David Welch (welch(a)cwcom.net), ...
- * REVISION HISTORY:
- * ??/??/??: Created
+
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/dbg/kdb_symbols.c
+ * PURPOSE: Getting symbol information...
+ *
+ * PROGRAMMERS: David Welch (welch(a)cwcom.net)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/print.c
--- trunk/reactos/ntoskrnl/dbg/print.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/dbg/print.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,31 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/print.c
- * PURPOSE: Debug output
- * PROGRAMMER: Eric Kohl (ekohl(a)abo.rhein-zeitung.de)
- * PORTABILITY: Unchecked
- * UPDATE HISTORY:
- * 14/10/99: Created
+ * PURPOSE: Debug output
+ *
+ * PROGRAMMERS: Eric Kohl (ekohl(a)abo.rhein-zeitung.de)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/profile.c
--- trunk/reactos/ntoskrnl/dbg/profile.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/dbg/profile.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,28 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998-2003 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/profile.c
* PURPOSE: Kernel profiling
- * PROGRAMMER: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
- * UPDATE HISTORY:
- * Created 12/01/2003
+ *
+ * PROGRAMMERS: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/rdebug.c
--- trunk/reactos/ntoskrnl/dbg/rdebug.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/dbg/rdebug.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,30 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/rdebug.c
* PURPOSE: Runtime debugging support
- * PROGRAMMER: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
- * UPDATE HISTORY:
- * 01-05-2001 CSH Created
+ *
+ * PROGRAMMERS: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/dbg/user.c
--- trunk/reactos/ntoskrnl/dbg/user.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/dbg/user.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,27 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/dbg/user.c
* PURPOSE: User mode debugging
- * PROGRAMMER: David Welch (welch(a)cwcom.net)
- * PORTABILITY: Unchecked
+ *
+ * PROGRAMMERS: David Welch (welch(a)cwcom.net)
*/
/* INCLUDES
******************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/ex/btree.c
--- trunk/reactos/ntoskrnl/ex/btree.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/ex/btree.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,28 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998-2002 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
- * FILE: btree.c
+ * FILE: ntoskrnl/ex/btree.c
* PURPOSE: Binary tree support
- * PROGRAMMER: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
- * UPDATE HISTORY:
- * 15-03-2002 CSH Created
+ *
+ * PROGRAMMERS: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
*/
#include <ntoskrnl.h>
_____
Modified: trunk/reactos/ntoskrnl/ex/callback.c
--- trunk/reactos/ntoskrnl/ex/callback.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/ex/callback.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,34 +1,17 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ex/callback.c
* PURPOSE: Executive callbacks
- * PROGRAMMER: David Welch (welch(a)mcmail.com)
+ *
+ * PROGRAMMERS: David Welch (welch(a)mcmail.com)
* Alex Ionescu (alex(a)relsoft.net)
- * PORTABILITY: Checked.
- * UPDATE HISTORY:
- * Added all functions 30/05/04
- * Created 22/05/98
- * NOTE:
- * These funtions are not implemented in NT4, but
+ */
+
+
+/*
+ * NOTE: These funtions are not implemented in NT4, but
* they are implemented in Win2k.
*/
_____
Modified: trunk/reactos/ntoskrnl/ex/event.c
--- trunk/reactos/ntoskrnl/ex/event.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/ex/event.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,28 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/nt/event.c
* PURPOSE: Named event support
- * PROGRAMMER: Philip Susi and David Welch
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: Philip Susi and David Welch
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/ex/evtpair.c
--- trunk/reactos/ntoskrnl/ex/evtpair.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/ex/evtpair.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -4,13 +4,9 @@
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ex/evtpair.c
* PURPOSE: Support for event pairs
- * PROGRAMMER: David Welch (welch(a)mcmail.com)
- * UPDATE HISTORY:
- * Created 22/05/98
- * Updated 09/08/2003 by Skywing
(skywing(a)valhallalegends.com)
- * to correctly maintain ownership of the dispatcher
lock
- * between KeSetEvent and KeWaitForSingleObject
calls.
- * Additionally, implemented the thread-eventpair
routines.
+ *
+ * PROGRAMMERS: David Welch (welch(a)mcmail.com)
+ * Skywing (skywing(a)valhallalegends.com)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/ex/fmutex.c
--- trunk/reactos/ntoskrnl/ex/fmutex.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/ex/fmutex.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,30 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ex/fmutex.c
* PURPOSE: Implements fast mutexes
- * PROGRAMMER: David Welch (welch(a)cwcom.net)
- * PORTABILITY: Checked.
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: David Welch (welch(a)cwcom.net)
*/
/* INCLUDES
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/ex/hashtab.c
--- trunk/reactos/ntoskrnl/ex/hashtab.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/ex/hashtab.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,32 +1,19 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998-2002 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
- * FILE: hashtab.c
+ * FILE: ntoskrnl/ex/hashtab.c
* PURPOSE: Hash table support
- * PROGRAMMER: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
+ *
+ * PROGRAMMERS: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
+ */
+
+/*
* NOTES: The hash function is from:
* Bob Jenkins <bob_jenkins(a)burtleburtle.net>
* http://burtleburtle.net/bob/hash/doobs.html
- * UPDATE HISTORY:
- * 15-03-2002 CSH Created
*/
+
#include <ntoskrnl.h>
#define NDEBUG
_____
Modified: trunk/reactos/ntoskrnl/ex/i386/interlck.c
--- trunk/reactos/ntoskrnl/ex/i386/interlck.c 2005-01-26 13:54:53 UTC
(rev 13310)
+++ trunk/reactos/ntoskrnl/ex/i386/interlck.c 2005-01-26 13:58:37 UTC
(rev 13311)
@@ -1,8 +1,13 @@
/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/ex/i386/interlck.c
+ * PURPOSE: No purpose listed.
*
- * reactos/ntoskrnl/ex/i386/interlck.c
- *
+ * PROGRAMMERS: No programmer listed.
*/
+
#include <ntoskrnl.h>
#ifdef LOCK
_____
Modified: trunk/reactos/ntoskrnl/ex/init.c
--- trunk/reactos/ntoskrnl/ex/init.c 2005-01-26 13:54:53 UTC (rev
13310)
+++ trunk/reactos/ntoskrnl/ex/init.c 2005-01-26 13:58:37 UTC (rev
13311)
@@ -1,29 +1,11 @@
-/*
- * ReactOS kernel
- * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
- *
- * This program 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 program 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 program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+/* $Id:$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
- * FILE: kernel/ex/init.c
- * PURPOSE: executive initalization
- * PROGRAMMER: Eric Kohl (ekohl(a)abo.rhein-zeitung.de)
- * PORTABILITY: Checked.
- * UPDATE HISTORY:
- * Created 11/09/99
+ * FILE: ntoskrnl/ex/init.c
+ * PURPOSE: Executive initalization
+ *
+ * PROGRAMMERS: Eric Kohl (ekohl(a)abo.rhein-zeitung.de)
*/
#include <ntoskrnl.h>
_____
Modified: trunk/reactos/ntoskrnl/ex/interlck.c
[truncated at 1000 lines; 5911 more skipped]
fixed NtQueryDirectoryObject() to properly handle buffers that are not
large enough
Modified: trunk/reactos/ntoskrnl/ob/dirobj.c
_____
Modified: trunk/reactos/ntoskrnl/ob/dirobj.c
--- trunk/reactos/ntoskrnl/ob/dirobj.c 2005-01-26 13:52:53 UTC (rev
13308)
+++ trunk/reactos/ntoskrnl/ob/dirobj.c 2005-01-26 13:54:07 UTC (rev
13309)
@@ -231,6 +231,8 @@
ULONG RequiredSize = 0;
ULONG nDirectories = 0;
POBJECT_DIRECTORY_INFORMATION DirInfo =
(POBJECT_DIRECTORY_INFORMATION)TemporaryBuffer;
+
+ Status = STATUS_NO_MORE_ENTRIES;
KeAcquireSpinLock(&Directory->Lock, &OldLevel);
@@ -269,6 +271,8 @@
nDirectories++;
RequiredSize += EntrySize;
+
+ Status = STATUS_SUCCESS;
if(ReturnSingleEntry)
{
@@ -287,11 +291,13 @@
RequiredSize += EntrySize;
Status = STATUS_BUFFER_TOO_SMALL;
}
- else
- {
- /* just copy the entries that fit into the buffer */
- Status = STATUS_NO_MORE_ENTRIES;
- }
+
+ /* we couldn't query this entry, so leave the index that
will be stored
+ in Context to this entry so the caller can query it the
next time
+ he queries (hopefully with a buffer that is large enough
then...) */
+ NextEntry--;
+
+ /* just copy the entries that fit into the buffer */
break;
}
}
@@ -301,16 +307,18 @@
SkipEntries--;
}
}
+
+ if(!ReturnSingleEntry && ListEntry != &Directory->head)
+ {
+ /* there are more entries to enumerate but the buffer is
already full.
+ only tell this to the user if he queries multiple entries */
+ Status = STATUS_MORE_ENTRIES;
+ }
if(NT_SUCCESS(Status))
{
- if(SkipEntries > 0 || nDirectories == 0)
+ if(nDirectories > 0)
{
- /* we skipped more entries than the directory contains,
nothing more to do */
- Status = STATUS_NO_MORE_ENTRIES;
- }
- else
- {
_SEH_TRY
{
POBJECT_DIRECTORY_INFORMATION DestDirInfo =
(POBJECT_DIRECTORY_INFORMATION)Buffer;