some cleanup
This commit is contained in:
parent
9f20e63df7
commit
c20ebe6ffc
|
@ -53,7 +53,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
|
||||||
|
|
||||||
// Several inits
|
// Several inits
|
||||||
MmInitHeap();
|
MmInitHeap();
|
||||||
//PsInitSched();
|
PsInitSched();
|
||||||
|
|
||||||
// Start drivers
|
// Start drivers
|
||||||
IoEnableRtc();
|
IoEnableRtc();
|
||||||
|
|
|
@ -88,7 +88,7 @@ void IoScrollDown(void)
|
||||||
void IoScrollUp(void)
|
void IoScrollUp(void)
|
||||||
{
|
{
|
||||||
// Keep the 8 below the 10 given to BOpenTermBufEx
|
// Keep the 8 below the 10 given to BOpenTermBufEx
|
||||||
if (bscroll < BtVideoInfo.framebufferHeight * 8 && bscroll < BStdOut->nLines)
|
if (bscroll < BtVideoInfo.framebufferHeight * 8) /* XXX */
|
||||||
bscroll++;
|
bscroll++;
|
||||||
bvgaflusher(BStdOut);
|
bvgaflusher(BStdOut);
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,9 +184,9 @@ void MmPrintMemoryMap(void) {
|
||||||
break;
|
break;
|
||||||
case RESERVED_ZONE: avStr="Reserved";
|
case RESERVED_ZONE: avStr="Reserved";
|
||||||
break;
|
break;
|
||||||
case ACPI_ZONE: avStr="ACPI";
|
case ACPI_ZONE: avStr="ACPI ";
|
||||||
break;
|
break;
|
||||||
case NVS_ZONE: avStr="NVS";
|
case NVS_ZONE: avStr="NVS ";
|
||||||
break;
|
break;
|
||||||
case BADRAM_ZONE: avStr="Bad Ram";
|
case BADRAM_ZONE: avStr="Bad Ram";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue