From 973c76f010985924de69559d774c9541ac270571 Mon Sep 17 00:00:00 2001 From: churl Date: Sun, 5 Jun 2022 16:57:59 +0200 Subject: [PATCH] comments --- c_os/kernel/allocator/TreeAllocator.cc | 1 - c_os/kernel/interrupts/PIC.cc | 3 --- c_os/kernel/threads/IdleThread.h | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/c_os/kernel/allocator/TreeAllocator.cc b/c_os/kernel/allocator/TreeAllocator.cc index 3ee45e6..9c7c6bd 100755 --- a/c_os/kernel/allocator/TreeAllocator.cc +++ b/c_os/kernel/allocator/TreeAllocator.cc @@ -3,7 +3,6 @@ #include // NOTE: I added this file -// TODO: Make output toggleable void TreeAllocator::init() { this->free_start = (tree_block_t*)this->heap_start; diff --git a/c_os/kernel/interrupts/PIC.cc b/c_os/kernel/interrupts/PIC.cc index e582151..8f7c95f 100755 --- a/c_os/kernel/interrupts/PIC.cc +++ b/c_os/kernel/interrupts/PIC.cc @@ -91,9 +91,6 @@ bool PIC::status(int irq) { /* hier muss Code eingefuegt werden */ - // TODO: How is IRQ2 handled (Slave PIC)? - // Does masking IRQ2 disable the whole slave? - unsigned char IMR; if (irq < 8) { // PIC 1 diff --git a/c_os/kernel/threads/IdleThread.h b/c_os/kernel/threads/IdleThread.h index 26bf09f..88315e4 100644 --- a/c_os/kernel/threads/IdleThread.h +++ b/c_os/kernel/threads/IdleThread.h @@ -24,7 +24,7 @@ public: void run() override { while (true) { scheduler.yield(); - kout << "Idle!" << endl; + // kout << "Idle!" << endl; } } };