1

fix includes

This commit is contained in:
churl
2022-05-14 16:57:56 +02:00
parent d804fff473
commit deb0ebd8eb
7 changed files with 13 additions and 13 deletions

0
c_os/Makefile Normal file → Executable file
View File

0
c_os/kernel/Globals.cc Normal file → Executable file
View File

1
c_os/kernel/Globals.h Normal file → Executable file
View File

@ -15,6 +15,7 @@
#include "devices/PCSPK.h"
#include "kernel/allocator/BumpAllocator.h"
#include "kernel/allocator/LinkedListAllocator.h"
#include "kernel/allocator/TreeAllocator.h"
#include "kernel/CPU.h"
#include "kernel/interrupts/IntDispatcher.h"
#include "kernel/interrupts/PIC.h"

View File

@ -13,14 +13,13 @@
#ifndef __IntDispatcher_include__
#define __IntDispatcher_include__
#include "kernel/ISR.h"
#include "kernel/interrupts/ISR.h"
class IntDispatcher {
private:
IntDispatcher(const IntDispatcher &copy); // Verhindere Kopieren
IntDispatcher(const IntDispatcher& copy); // Verhindere Kopieren
enum { size = 256 };
ISR* map[size];
@ -30,16 +29,15 @@ public:
timer = 32,
keyboard = 33
};
// Initialisierung der ISR map mit einer Default-ISR.
IntDispatcher ();
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
int assign (unsigned int vector, ISR& gate);
IntDispatcher();
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
int assign(unsigned int vector, ISR& gate);
// ISR fuer 'vector' ausfuehren
int report (unsigned int vector);
int report(unsigned int vector);
};
#endif

View File

@ -13,6 +13,7 @@
#include "kernel/Allocator.h"
#include "kernel/Globals.h"
#include "user/HeapDemo.h"
#include "user/KeyIRQDemo.h"
// Waits for keys to control the scrollback buffer display
void scroll_mode() {

0
c_os/user/KeyIRQDemo.cc Normal file → Executable file
View File

0
c_os/user/KeyIRQDemo.h Normal file → Executable file
View File