update
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
18
kernel/Globals.cc
Executable file
18
kernel/Globals.cc
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
/*****************************************************************************
|
||||||
|
* *
|
||||||
|
* G L O B A L S *
|
||||||
|
* *
|
||||||
|
*---------------------------------------------------------------------------*
|
||||||
|
* Beschreibung: Globale Variablen des Systems. *
|
||||||
|
* *
|
||||||
|
* Autor: Michael Schoettner, 30.7.16 *
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "kernel/Globals.h"
|
||||||
|
|
||||||
|
|
||||||
|
CPU cpu; // CPU-spezifische Funktionen
|
||||||
|
PCSPK pcspk; // PC-Lautsprecher
|
||||||
|
CGA_Stream kout; // Ausgabe-Strom fuer Kernel
|
||||||
|
Keyboard kb; // Tastatur
|
||||||
|
|
||||||
23
kernel/Globals.h
Executable file
23
kernel/Globals.h
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
/*****************************************************************************
|
||||||
|
* *
|
||||||
|
* G L O B A L S *
|
||||||
|
* *
|
||||||
|
*---------------------------------------------------------------------------*
|
||||||
|
* Beschreibung: Globale Variablen des Systems. *
|
||||||
|
* *
|
||||||
|
* Autor: Michael Schoettner, 30.7.16 *
|
||||||
|
*****************************************************************************/
|
||||||
|
#ifndef __Globals_include__
|
||||||
|
#define __Globals_include__
|
||||||
|
|
||||||
|
#include "kernel/CPU.h"
|
||||||
|
#include "devices/PCSPK.h"
|
||||||
|
#include "devices/CGA_Stream.h"
|
||||||
|
#include "devices/Keyboard.h"
|
||||||
|
|
||||||
|
extern CPU cpu; // CPU-spezifische Funktionen
|
||||||
|
extern PCSPK pcspk; // PC-Lautsprecher
|
||||||
|
extern CGA_Stream kout; // Ausgabe-Strom fuer Kernel
|
||||||
|
extern Keyboard kb; // Tastatur
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user