From: John Hodge Date: Thu, 19 Jul 2012 15:06:11 +0000 (+0800) Subject: Kernel - Cleaning up useless message spam X-Git-Tag: rel0.15~611^2~13 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f61ceab9841c9dabb0b0747c44107da68f75fde8;p=tpg%2Facess2.git Kernel - Cleaning up useless message spam --- diff --git a/KernelLand/Kernel/drv/vterm.c b/KernelLand/Kernel/drv/vterm.c index a6a1c66d..63db01e4 100644 --- a/KernelLand/Kernel/drv/vterm.c +++ b/KernelLand/Kernel/drv/vterm.c @@ -196,7 +196,6 @@ int VT_Install(char **Arguments) // Semaphore_Init(&gVT_Terminals[i].InputSemaphore, 0, MAX_INPUT_CHARS8, "VTerm", gVT_Terminals[i].Name); } - Log_Debug("VTerm", "Registering with DevFS"); // Add to DevFS DevFS_AddDevice( &gVT_DrvInfo ); diff --git a/KernelLand/Kernel/drv/vterm_termbuf.c b/KernelLand/Kernel/drv/vterm_termbuf.c index b6aff95c..7c296566 100644 --- a/KernelLand/Kernel/drv/vterm_termbuf.c +++ b/KernelLand/Kernel/drv/vterm_termbuf.c @@ -361,6 +361,7 @@ void VT_int_ChangeMode(tVTerm *Term, int NewMode, int NewWidth, int NewHeight) } // Debug + #if 0 switch(NewMode) { case TERM_MODE_TEXT: @@ -375,6 +376,7 @@ void VT_int_ChangeMode(tVTerm *Term, int NewMode, int NewWidth, int NewHeight) //case TERM_MODE_3DACCEL: // return; } + #endif } diff --git a/KernelLand/Kernel/system.c b/KernelLand/Kernel/system.c index db7da340..aa1cad82 100644 --- a/KernelLand/Kernel/system.c +++ b/KernelLand/Kernel/system.c @@ -162,7 +162,7 @@ void System_ParseVFS(char *Arg) // - Symbolic Link = if(value[0] == '/') { - Log_Log("Config", "Symbolic link '%s' pointing to '%s'", Arg, value); +// Log_Log("Config", "Symbolic link '%s' pointing to '%s'", Arg, value); VFS_Symlink(Arg, value); } // - Mount =: @@ -177,13 +177,13 @@ void System_ParseVFS(char *Arg) } // Create Mountpoint if( (fd = VFS_Open(Arg, 0)) == -1 ) { - Log_Log("Config", "Creating directory '%s'", Arg, value); +// Log_Log("Config", "Creating directory '%s'", Arg, value); VFS_MkDir( Arg ); } else { VFS_Close(fd); } // Mount - Log_Log("Config", "Mounting '%s' to '%s' ('%s')", dev, Arg, value); +// Log_Log("Config", "Mounting '%s' to '%s' ('%s')", dev, Arg, value); VFS_Mount(dev, Arg, value, ""); } } diff --git a/KernelLand/Modules/Filesystems/InitRD/main.c b/KernelLand/Modules/Filesystems/InitRD/main.c index 02af0436..863a24a3 100644 --- a/KernelLand/Modules/Filesystems/InitRD/main.c +++ b/KernelLand/Modules/Filesystems/InitRD/main.c @@ -43,7 +43,6 @@ tVFS_NodeType gInitRD_FileType = { */ int InitRD_Install(char **Arguments) { - Log_Notice("InitRD", "Installed"); VFS_AddDriver( &gInitRD_FSInfo ); return MODULE_ERR_OK; @@ -57,7 +56,6 @@ tVFS_Node *InitRD_InitDevice(const char *Device, const char **Arguments) #if DUMP_ON_MOUNT InitRD_DumpDir( &gInitRD_RootNode, 0 ); #endif - Log_Notice("InitRD", "Mounted (%i files)", giInitRD_NumFiles); return &gInitRD_RootNode; } diff --git a/KernelLand/Modules/USB/Core/main.c b/KernelLand/Modules/USB/Core/main.c index 6ef7a2bb..94ec2531 100644 --- a/KernelLand/Modules/USB/Core/main.c +++ b/KernelLand/Modules/USB/Core/main.c @@ -43,8 +43,6 @@ tDevFS_Driver gUSB_DrvInfo = { */ int USB_Install(char **Arguments) { - Log_Warning("USB", "Not Complete - Devel Only"); - Proc_SpawnWorker(USB_PollThread, NULL); Proc_SpawnWorker(USB_AsyncThread, NULL);