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
AcessNative - Fixing errors caused by API changes
[tpg/acess2.git]
/
AcessNative
/
acesskernel_src
/
include
/
arch.h
diff --git
a/AcessNative/acesskernel_src/include/arch.h
b/AcessNative/acesskernel_src/include/arch.h
index
8f0eb79
..
f513530
100644
(file)
--- a/
AcessNative/acesskernel_src/include/arch.h
+++ b/
AcessNative/acesskernel_src/include/arch.h
@@
-4,11
+4,12
@@
#define _ARCH_H_
#include <stdint.h>
#define _ARCH_H_
#include <stdint.h>
-#include <stdlib.h>
+
//
#include <stdlib.h>
#include <pthread.h>
#undef CLONE_VM
#define _MODULE_NAME_ "NativeKernel"
#include <pthread.h>
#undef CLONE_VM
#define _MODULE_NAME_ "NativeKernel"
+#define PAGE_SIZE 0x1000 // Assume, making an Ass out of u and me
#define BITS (sizeof(intptr_t)*8)
typedef uint8_t Uint8;
#define BITS (sizeof(intptr_t)*8)
typedef uint8_t Uint8;
@@
-26,6
+27,8
@@
typedef intptr_t Uint;
typedef intptr_t tVAddr;
typedef intptr_t tPAddr;
typedef intptr_t tVAddr;
typedef intptr_t tPAddr;
+typedef int BOOL;
+
struct sShortSpinlock
{
int IsValid;
struct sShortSpinlock
{
int IsValid;
@@
-35,5
+38,7
@@
struct sShortSpinlock
#define SHORTLOCK(...)
#define SHORTREL(...)
#define SHORTLOCK(...)
#define SHORTREL(...)
+//#define NUM_CFG_ENTRIES 10
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au