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
.gitignore - Explicity hide bochs(dbg|out).txt, allows bochsrc.txt to be seen
[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
b63d1bb
..
e99948c
100644
(file)
--- a/
AcessNative/acesskernel_src/include/arch.h
+++ b/
AcessNative/acesskernel_src/include/arch.h
@@
-5,7
+5,6
@@
#include <stdint.h>
//#include <stdlib.h>
#include <stdint.h>
//#include <stdlib.h>
-#include <pthread.h>
#undef CLONE_VM
#define _MODULE_NAME_ "NativeKernel"
#undef CLONE_VM
#define _MODULE_NAME_ "NativeKernel"
@@
-29,14
+28,17
@@
typedef intptr_t tPAddr;
typedef int BOOL;
typedef int BOOL;
+#include <stddef.h>
+#undef offsetof
+
struct sShortSpinlock
{
struct sShortSpinlock
{
- int IsValid;
- pthread_mutex_t Mutex;
+ void *Mutex;
};
#define SHORTLOCK(...)
#define SHORTREL(...)
};
#define SHORTLOCK(...)
#define SHORTREL(...)
+#define CPU_HAS_LOCK(...) 0
//#define NUM_CFG_ENTRIES 10
//#define NUM_CFG_ENTRIES 10
UCC
git Repository :: git.ucc.asn.au