git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/arm7 - Updated ARM7 code to newer HAL API changes
[tpg/acess2.git]
/
Kernel
/
arch
/
arm7
/
include
/
arch.h
diff --git
a/Kernel/arch/arm7/include/arch.h
b/Kernel/arch/arm7/include/arch.h
index
6fa39d3
..
36c1a3f
100644
(file)
--- a/
Kernel/arch/arm7/include/arch.h
+++ b/
Kernel/arch/arm7/include/arch.h
@@
-8,6
+8,8
@@
// === CONSTANTS ===
#define INVLPTR ((void*)-1)
#define BITS 32
// === CONSTANTS ===
#define INVLPTR ((void*)-1)
#define BITS 32
+#define PAGE_SIZE 0x1000
+#define KERNEL_BASE 0x80000000 // 2GiB
// === TYPES ===
typedef unsigned int Uint;
// === TYPES ===
typedef unsigned int Uint;
@@
-28,11
+30,13
@@
typedef Uint32 tVAddr;
typedef Uint32 tPAddr;
#include "lock.h"
typedef Uint32 tPAddr;
#include "lock.h"
-#include "div.h"
// --- Debug
extern void Debug_PutCharDebug(char Ch);
extern void Debug_PutStringDebug(const char *String);
// --- Debug
extern void Debug_PutCharDebug(char Ch);
extern void Debug_PutStringDebug(const char *String);
+// This should be elsewhere, but CBF
+extern void MM_SetupPhys(void);
+extern int MM_InitialiseVirtual(void);
#endif
#endif
UCC
git Repository :: git.ucc.asn.au