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
doxygen fixes
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
include
/
arch.h
diff --git
a/Kernel/arch/x86/include/arch.h
b/Kernel/arch/x86/include/arch.h
index
92ccf05
..
1826757
100644
(file)
--- a/
Kernel/arch/x86/include/arch.h
+++ b/
Kernel/arch/x86/include/arch.h
@@
-26,15
+26,7
@@
#define BITS 32
// - Processor/Machine Specific Features
#define BITS 32
// - Processor/Machine Specific Features
-#if ARCH == i386
-// Uses no advanced features
-# define USE_MP 0
-# define USE_PAE 0
-#elif ARCH == i586
-// All Enabled
-# define USE_MP 1
-# define USE_PAE 1
-#else
+#if ARCH != i386 && ARCH != i486 && ARCH != i586
# error "Unknown architecture '" #ARCH "'"
#endif
# error "Unknown architecture '" #ARCH "'"
#endif
@@
-70,15
+62,9
@@
typedef signed long Sint32;
typedef signed long long Sint64;
typedef Uint size_t;
typedef signed long long Sint64;
typedef Uint size_t;
-#if USE_PAE
typedef Uint64 tPAddr;
typedef Uint64 tPAddr;
-#else
-typedef Uint32 tPAddr;
-#endif
typedef Uint32 tVAddr;
typedef Uint32 tVAddr;
-typedef void (*tThreadFunction)(void*);
-
typedef struct {
Uint gs, fs, es, ds;
Uint edi, esi, ebp, kesp;
typedef struct {
Uint gs, fs, es, ds;
Uint edi, esi, ebp, kesp;
@@
-135,7
+121,4
@@
typedef struct {
Uint EIP, ESP, EBP;
} tTaskState;
Uint EIP, ESP, EBP;
} tTaskState;
-// --- Interface Flags & Macros
-#define CLONE_VM 0x10
-
#endif // !defined(_ARCH_H_)
#endif // !defined(_ARCH_H_)
UCC
git Repository :: git.ucc.asn.au