X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Farch.h;h=18267576e53f4f9e968e991ac63760dccf2ec784;hb=246ff98ae5b16ef0e19fe082a9c900e9169a1f7b;hp=92ccf056bfe5e4068e53484688c6e4dbd91f29f7;hpb=243bdab4e7acc8516d9b1c138f45dc1195f97767;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/arch.h b/Kernel/arch/x86/include/arch.h index 92ccf056..18267576 100644 --- 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 -#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 @@ -70,15 +62,9 @@ typedef signed long Sint32; typedef signed long long Sint64; typedef Uint size_t; -#if USE_PAE typedef Uint64 tPAddr; -#else -typedef Uint32 tPAddr; -#endif typedef Uint32 tVAddr; -typedef void (*tThreadFunction)(void*); - typedef struct { Uint gs, fs, es, ds; Uint edi, esi, ebp, kesp; @@ -135,7 +121,4 @@ typedef struct { Uint EIP, ESP, EBP; } tTaskState; -// --- Interface Flags & Macros -#define CLONE_VM 0x10 - #endif // !defined(_ARCH_H_)