1

switch cpu methods to static

This commit is contained in:
2022-07-24 00:29:21 +02:00
parent a5c14da0de
commit 605d4e8c8d
11 changed files with 52 additions and 62 deletions

View File

@ -35,13 +35,13 @@ void int_disp(unsigned int vector) {
if (vector < 32) {
bs_dump(vector);
cpu.halt();
CPU::halt();
}
if (intdis.report(vector) < 0) {
kout << "Panic: unexpected interrupt " << vector;
kout << " - processor halted." << endl;
cpu.halt();
CPU::halt();
}
}