Stuff
This commit is contained in:
parent
f03a587337
commit
7f27ead23b
|
@ -195,7 +195,7 @@ void MmPrintMemoryMap(void) {
|
|||
|
||||
ulong len = memoryMap.entry[i].length;
|
||||
|
||||
KernLog("Mem zone : %lp\t%s\twith length: %luMB + %luKB + %luB\n",
|
||||
KernLog("mem zone: %lp\t%s\twith length: %04luMB + %04luKB + %04luB\n",
|
||||
memoryMap.entry[i].addr, avStr,
|
||||
_ADDR_TO_MB(len), _ADDR_TO_KB(len), _ADDR_TO_B(len)
|
||||
);
|
||||
|
|
|
@ -390,7 +390,7 @@ void pstest(void)
|
|||
|
||||
while (tick < 100) {
|
||||
//if (tick%25==0)ClearTerm(StdOut);
|
||||
if (tick > 0 && tick != 50 && tick % 10 == 0) {
|
||||
if (tick > 0 && tick != 50 && tick % 10 == 0 && PsCurProc) {
|
||||
KernLog("Blocking current process\n");
|
||||
PsBlockCurProc();
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ error_t CmdMemUsage(int argc, char **argv, char *cmdline)
|
|||
stack_diff = (size_t)BtLoaderInfo.kernelEndAddr - (realKernelEnd + 1);
|
||||
heap_diff = (size_t)heap_end - (size_t)heap_start;
|
||||
|
||||
KernLog("Kernel image:\n");
|
||||
KernLog("Kernel image\n");
|
||||
|
||||
KernLog("\tstarts at:\t\t%p (%04luMB + %04luKB + %04luB)\n",
|
||||
BtLoaderInfo.kernelAddr,
|
||||
|
@ -121,7 +121,7 @@ error_t CmdMemUsage(int argc, char **argv, char *cmdline)
|
|||
_ADDR_TO_B(img_diff),
|
||||
img_diff);
|
||||
|
||||
KernLog("Kernel stack:\n");
|
||||
KernLog("Kernel stack\n");
|
||||
|
||||
KernLog("\tstarts at:\t\t%p (%04luMB + %04luKB + %04luB)\n",
|
||||
BtLoaderInfo.kernelEndAddr,
|
||||
|
@ -159,7 +159,7 @@ error_t CmdMemUsage(int argc, char **argv, char *cmdline)
|
|||
_ADDR_TO_B(stack_diff),
|
||||
stack_diff);
|
||||
|
||||
KernLog("Kernel heap:\n");
|
||||
KernLog("Kernel heap\n");
|
||||
|
||||
KernLog("\tstarts at:\t\t%p (%04luMB + %04luKB + %04luB)\n",
|
||||
heap_start, _ADDR_TO_MB(heap_start),
|
||||
|
|
|
@ -67,7 +67,7 @@ void KeStartShell(void)
|
|||
memzero(argv0, ARG_MAX);
|
||||
shargv = &argv0;
|
||||
|
||||
KernLog("shell> ");
|
||||
KernLog("\nshell> ");
|
||||
BFlushBuf(BStdOut);
|
||||
|
||||
while ((rc = BGetFromBuf(BStdIn, &ch)) == EOK || rc == EENDF) {
|
||||
|
|
Loading…
Reference in New Issue