From eff588327d277cd0db1462c82f0a916b891f8cfd Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 16 May 2012 11:02:15 +0800 Subject: [PATCH] Kernel - Made things a little less chatty during boot, and fixed lack of \r in some debug statements --- KernelLand/Kernel/arch/x86/errors.c | 2 +- KernelLand/Kernel/arch/x86/main.c | 4 ++-- KernelLand/Kernel/modules.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/KernelLand/Kernel/arch/x86/errors.c b/KernelLand/Kernel/arch/x86/errors.c index f0f6e2b2..b69f5f85 100644 --- a/KernelLand/Kernel/arch/x86/errors.c +++ b/KernelLand/Kernel/arch/x86/errors.c @@ -244,7 +244,7 @@ void Error_Backtrace(Uint eip, Uint ebp) ebp = *(Uint*)ebp; i++; } - LogF("\n"); + LogF("\r\n"); } /** diff --git a/KernelLand/Kernel/arch/x86/main.c b/KernelLand/Kernel/arch/x86/main.c index 2106b6af..75db3740 100644 --- a/KernelLand/Kernel/arch/x86/main.c +++ b/KernelLand/Kernel/arch/x86/main.c @@ -45,8 +45,8 @@ int kmain(Uint MbMagic, void *MbInfoPtr) tMBoot_Module *mods; tMBoot_Info *mbInfo; - LogF("Acess2 x86-"PLATFORM" v"EXPAND_STR(KERNEL_VERSION)"\n"); - LogF(" Build %i, Git Hash %s\n", BUILD_NUM, gsGitHash); + LogF("Acess2 x86-"PLATFORM" v"EXPAND_STR(KERNEL_VERSION)"\r\n"); + LogF(" Build %i, Git Hash %s\r\n", BUILD_NUM, gsGitHash); Log("MbMagic = %08x, MbInfoPtr = %p", MbMagic, MbInfoPtr); diff --git a/KernelLand/Kernel/modules.c b/KernelLand/Kernel/modules.c index 98ca1a1e..d703290f 100644 --- a/KernelLand/Kernel/modules.c +++ b/KernelLand/Kernel/modules.c @@ -168,7 +168,7 @@ int Module_int_Initialise(tModule *Module, const char *ArgString) Log_Warning("Module", "Unable to load, reason: Miscelanious"); break; case MODULE_ERR_NOTNEEDED: - Log_Debug("Module", "Unable to load, reason: Module not needed"); +// Log_Debug("Module", "Unable to load, reason: Module not needed"); break; case MODULE_ERR_MALLOC: Log_Warning("Module", "Unable to load, reason: Error in malloc/realloc/calloc, probably not good"); -- 2.20.1