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/armv7 - Fixing bugs, Proc_Clone works now
[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
e985789
..
849eba8
100644
(file)
--- a/
AcessNative/acesskernel_src/include/arch.h
+++ b/
AcessNative/acesskernel_src/include/arch.h
@@
-4,8
+4,9
@@
#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"
#define BITS (sizeof(intptr_t)*8)
#define _MODULE_NAME_ "NativeKernel"
#define BITS (sizeof(intptr_t)*8)
@@
-25,13
+26,23
@@
typedef intptr_t Uint;
typedef intptr_t tVAddr;
typedef intptr_t tPAddr;
typedef intptr_t tVAddr;
typedef intptr_t tPAddr;
+typedef int BOOL;
+
+//typedef uint32_t tTID;
+//typedef uint32_t tPID;
+//typedef uint32_t tUID;
+//typedef uint32_t tGID;
+
struct sShortSpinlock
{
struct sShortSpinlock
{
- int Lock;
+ int IsValid;
+ pthread_mutex_t Mutex;
};
#define SHORTLOCK(...)
#define SHORTREL(...)
};
#define SHORTLOCK(...)
#define SHORTREL(...)
+//#define NUM_CFG_ENTRIES 10
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au