[ros-diffs] [hpoussin] 15419: Remove some debug messages at boot

hpoussin at svn.reactos.com hpoussin at svn.reactos.com
Fri May 20 03:08:40 CEST 2005


Remove some debug messages at boot
Modified: trunk/reactos/ntoskrnl/io/iomgr.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
  _____  

Modified: trunk/reactos/ntoskrnl/io/iomgr.c
--- trunk/reactos/ntoskrnl/io/iomgr.c	2005-05-20 00:47:16 UTC (rev
15418)
+++ trunk/reactos/ntoskrnl/io/iomgr.c	2005-05-20 01:08:37 UTC (rev
15419)
@@ -113,7 +113,7 @@

     {
         /* Get the PRCB for this CPU */
         Prcb = ((PKPCR)(KPCR_BASE + i * PAGE_SIZE))->Prcb;
-        DPRINT1("Setting up lookaside for CPU: %x, PRCB: %p\n", i,
Prcb);
+        DPRINT("Setting up lookaside for CPU: %x, PRCB: %p\n", i,
Prcb);
         
         /* Set the Large IRP List */
         Prcb->PPLookasideList[LookasideLargeIrpList].L =
&IoLargeIrpLookaside.L;
@@ -182,7 +182,7 @@
         Prcb->PPLookasideList[LookasideCompletionList].P =
&CurrentList->L;
     }
     
-    DPRINT1("Done allocation\n");
+    DPRINT("Done allocation\n");
 }
 
 VOID
@@ -411,10 +411,10 @@
     IoCreateArcNames();
 
     /* Create the SystemRoot symbolic link */
-    CPRINT("CommandLine: %s\n", (PCHAR)KeLoaderBlock.CommandLine);
+    DPRINT("CommandLine: %s\n", (PCHAR)KeLoaderBlock.CommandLine);
     Status = IoCreateSystemRootLink((PCHAR)KeLoaderBlock.CommandLine);
     if (!NT_SUCCESS(Status)) {
-        DbgPrint("IoCreateSystemRootLink FAILED: (0x%x) - ", Status);
+        CPRINT("IoCreateSystemRootLink FAILED: (0x%x) - ", Status);
         KEBUGCHECK(INACCESSIBLE_BOOT_DEVICE);
     }
 
  _____  

Modified: trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
--- trunk/reactos/ntoskrnl/kdbg/kdb_cli.c	2005-05-20 00:47:16 UTC
(rev 15418)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_cli.c	2005-05-20 01:08:37 UTC
(rev 15419)
@@ -2278,7 +2278,7 @@

    CHAR c;
 
    /* Execute the commands in the init file */
-   DbgPrint("KDB: Executing KDBinit file...\n");
+   DPRINT("KDB: Executing KDBinit file...\n");
    p1 = KdbInitFileBuffer;
    while (p1[0] != '\0')
    {
@@ -2309,7 +2309,7 @@
       while (p1[0] == '\r' || p1[0] == '\n')
          p1++;
    }
-   DbgPrint("KDB: KDBinit executed\n");
+   DPRINT("KDB: KDBinit executed\n");
 }
 
 /*!\brief Called when KDB is initialized
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050520/d200adf5/attachment.html


More information about the Ros-diffs mailing list