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
Changed spinlock mechananisim
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
include
/
proc.h
diff --git
a/Kernel/arch/x86/include/proc.h
b/Kernel/arch/x86/include/proc.h
index
5e3fadd
..
2b04b75
100644
(file)
--- a/
Kernel/arch/x86/include/proc.h
+++ b/
Kernel/arch/x86/include/proc.h
@@
-7,17
+7,7
@@
#include <threads.h>
#include <threads.h>
-// === TYPES ===
-#if USE_MP
-typedef struct sCPU
-{
- Uint8 APICID;
- Uint8 State; // 0: Unavaliable, 1: Idle, 2: Active
- Uint16 Resvd;
- tThread *Current;
-} tCPU;
-#endif
-
+// === TYPES ==
typedef struct sTSS {
Uint32 Link;
Uint32 ESP0, SS0;
typedef struct sTSS {
Uint32 Link;
Uint32 ESP0, SS0;
UCC
git Repository :: git.ucc.asn.au