summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/memoire.h3
-rw-r--r--include/simulator.h1
-rw-r--r--include/terminal.h6
3 files changed, 6 insertions, 4 deletions
diff --git a/include/memoire.h b/include/memoire.h
index 290068d..b20434e 100644
--- a/include/memoire.h
+++ b/include/memoire.h
@@ -1,6 +1,9 @@
#ifndef __MEMOIRE_H__
#define __MEMOIRE_H__
#include "types.h"
+extern Uint32 * memoire_principale;
Uint32 LD(Uint32 offset);
void ST(Uint32 offset, Uint32 valeur);
+void InitMemoire(void);
+void FreeMemoire(void);
#endif
diff --git a/include/simulator.h b/include/simulator.h
index ba8c7d1..41afe2c 100644
--- a/include/simulator.h
+++ b/include/simulator.h
@@ -13,7 +13,6 @@
#define ADD_SP (TAILLE_MEMOIRE-1) /* Emplacement de la pile */
-extern Uint32 memoire_principale[TAILLE_MEMOIRE];
extern Uint32 registre[NB_REGISTRES_PHYSIQUES]; /* Registres classiques */
extern int debug;
diff --git a/include/terminal.h b/include/terminal.h
index ed65f71..763c965 100644
--- a/include/terminal.h
+++ b/include/terminal.h
@@ -5,8 +5,8 @@
extern FILE * input;
extern struct termios initial_settings, new_settings;
-openterm();
-clearterm();
-initterm();
+void openterm(void);
+void clearterm(void);
+void initterm(void);
#endif \ No newline at end of file