fix includes
This commit is contained in:
0
c_os/Makefile
Normal file → Executable file
0
c_os/Makefile
Normal file → Executable file
0
c_os/kernel/Globals.cc
Normal file → Executable file
0
c_os/kernel/Globals.cc
Normal file → Executable file
1
c_os/kernel/Globals.h
Normal file → Executable file
1
c_os/kernel/Globals.h
Normal file → Executable 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"
|
||||
|
@ -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 ©); // 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
|
||||
|
@ -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
0
c_os/user/KeyIRQDemo.cc
Normal file → Executable file
0
c_os/user/KeyIRQDemo.h
Normal file → Executable file
0
c_os/user/KeyIRQDemo.h
Normal file → Executable file
Reference in New Issue
Block a user