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 // Several inits
MmInitHeap(); MmInitHeap();
//PsInitSched(); PsInitSched();
// Start drivers // Start drivers
IoEnableRtc(); IoEnableRtc();

View File

@ -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);
} }

View File

@ -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;