Author: fireball
Date: Wed Mar 31 16:10:24 2010
New Revision: 46618
URL:
http://svn.reactos.org/svn/reactos?rev=46618&view=rev
Log:
[NTOSKRNL/CONFIG]
- Stub support for global quota enable.
- Stub support for notifications.
- Add a source file for a future HiveList implementation.
Added:
trunk/reactos/ntoskrnl/config/cmhvlist.c (with props)
trunk/reactos/ntoskrnl/config/cmnotify.c (with props)
trunk/reactos/ntoskrnl/config/cmquota.c (with props)
Modified:
trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild
Added: trunk/reactos/ntoskrnl/config/cmhvlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmhvlist.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmhvlist.c (added)
+++ trunk/reactos/ntoskrnl/config/cmhvlist.c [iso-8859-1] Wed Mar 31 16:10:24 2010
@@ -1,0 +1,17 @@
+/*
+ * PROJECT: ReactOS Kernel
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: ntoskrnl/config/cmwraprs.c
+ * PURPOSE: Configuration Manager - Wrappers for Hive Operations
+ * PROGRAMMERS: Alex Ionescu (alex.ionescu(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include "ntoskrnl.h"
+#define NDEBUG
+#include "debug.h"
+
+/* FUNCTIONS *****************************************************************/
+
+/* EOF */
Propchange: trunk/reactos/ntoskrnl/config/cmhvlist.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/ntoskrnl/config/cmnotify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmnotify.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmnotify.c (added)
+++ trunk/reactos/ntoskrnl/config/cmnotify.c [iso-8859-1] Wed Mar 31 16:10:24 2010
@@ -1,0 +1,36 @@
+/*
+ * PROJECT: ReactOS Kernel
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: ntoskrnl/config/cmwraprs.c
+ * PURPOSE: Configuration Manager - Wrappers for Hive Operations
+ * PROGRAMMERS: Alex Ionescu (alex.ionescu(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include "ntoskrnl.h"
+#define NDEBUG
+#include "debug.h"
+
+/* FUNCTIONS *****************************************************************/
+
+VOID
+NTAPI
+CmpReportNotify(IN PCM_KEY_CONTROL_BLOCK Kcb,
+ IN PHHIVE Hive,
+ IN HCELL_INDEX Cell,
+ IN ULONG Filter)
+{
+ /* FIXME: TODO */
+ return;
+}
+
+VOID
+NTAPI
+CmpFlushNotify(IN PCM_KEY_BODY KeyBody,
+ IN BOOLEAN LockHeld)
+{
+ /* FIXME: TODO */
+ return;
+}
+
Propchange: trunk/reactos/ntoskrnl/config/cmnotify.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/ntoskrnl/config/cmquota.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmquota.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmquota.c (added)
+++ trunk/reactos/ntoskrnl/config/cmquota.c [iso-8859-1] Wed Mar 31 16:10:24 2010
@@ -1,0 +1,26 @@
+/*
+ * PROJECT: ReactOS Kernel
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: ntoskrnl/config/cmwraprs.c
+ * PURPOSE: Configuration Manager - Wrappers for Hive Operations
+ * PROGRAMMERS: Alex Ionescu (alex.ionescu(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include "ntoskrnl.h"
+#define NDEBUG
+#include "debug.h"
+
+BOOLEAN CmpGlobalQuota;
+BOOLEAN CmpGlobalQuotaAllowed;
+
+/* FUNCTIONS *****************************************************************/
+
+VOID
+NTAPI
+CmpSetGlobalQuotaAllowed(VOID)
+{
+ /* Set flag ON if quota enabled */
+ CmpGlobalQuotaAllowed = CmpGlobalQuota;
+}
Propchange: trunk/reactos/ntoskrnl/config/cmquota.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl-generic.…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] Wed Mar 31 16:10:24 2010
@@ -144,13 +144,16 @@
<file>cmdelay.c</file>
<file>cmindex.c</file>
<file>cminit.c</file>
+ <file>cmhvlist.c</file>
<file>cmhook.c</file>
<file>cmkcbncb.c</file>
<file>cmkeydel.c</file>
<file>cmlazy.c</file>
<file>cmmapvw.c</file>
<file>cmname.c</file>
+ <file>cmnotify.c</file>
<file>cmparse.c</file>
+ <file>cmquota.c</file>
<file>cmse.c</file>
<file>cmsecach.c</file>
<file>cmsysini.c</file>