some cleanup

This commit is contained in:
Adrien Bourmault 2019-05-12 18:13:58 +02:00
parent 9f20e63df7
commit c20ebe6ffc
3 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
// Several inits
MmInitHeap();
//PsInitSched();
PsInitSched();
// Start drivers
IoEnableRtc();

View File

@ -88,7 +88,7 @@ void IoScrollDown(void)
void IoScrollUp(void)
{
// Keep the 8 below the 10 given to BOpenTermBufEx
if (bscroll < BtVideoInfo.framebufferHeight * 8 && bscroll < BStdOut->nLines)
if (bscroll < BtVideoInfo.framebufferHeight * 8) /* XXX */
bscroll++;
bvgaflusher(BStdOut);
}

View File

@ -184,9 +184,9 @@ void MmPrintMemoryMap(void) {
break;
case RESERVED_ZONE: avStr="Reserved";
break;
case ACPI_ZONE: avStr="ACPI";
case ACPI_ZONE: avStr="ACPI ";
break;
case NVS_ZONE: avStr="NVS";
case NVS_ZONE: avStr="NVS ";
break;
case BADRAM_ZONE: avStr="Bad Ram";
break;