comments
This commit is contained in:
@ -3,7 +3,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
// NOTE: I added this file
|
// NOTE: I added this file
|
||||||
// TODO: Make output toggleable
|
|
||||||
|
|
||||||
void TreeAllocator::init() {
|
void TreeAllocator::init() {
|
||||||
this->free_start = (tree_block_t*)this->heap_start;
|
this->free_start = (tree_block_t*)this->heap_start;
|
||||||
|
|||||||
@ -91,9 +91,6 @@ bool PIC::status(int irq) {
|
|||||||
|
|
||||||
/* hier muss Code eingefuegt werden */
|
/* hier muss Code eingefuegt werden */
|
||||||
|
|
||||||
// TODO: How is IRQ2 handled (Slave PIC)?
|
|
||||||
// Does masking IRQ2 disable the whole slave?
|
|
||||||
|
|
||||||
unsigned char IMR;
|
unsigned char IMR;
|
||||||
if (irq < 8) {
|
if (irq < 8) {
|
||||||
// PIC 1
|
// PIC 1
|
||||||
|
|||||||
@ -24,7 +24,7 @@ public:
|
|||||||
void run() override {
|
void run() override {
|
||||||
while (true) {
|
while (true) {
|
||||||
scheduler.yield();
|
scheduler.yield();
|
||||||
kout << "Idle!" << endl;
|
// kout << "Idle!" << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user