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
More SMP Work, also changed the physical allocator to allocate downwards
[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
5a99c9c
..
0a1d754
100644
(file)
--- a/
Kernel/arch/x86/include/proc.h
+++ b/
Kernel/arch/x86/include/proc.h
@@
-11,6
+11,15
@@
#define GETMSG_IGNORE ((void*)-1)
// === TYPES ===
+#if USE_MP
+typedef struct sCPU
+{
+ Uint8 APICID;
+ Uint8 State; // 0: Unavaliable, 1: Idle, 2: Active
+ Uint16 Resvd;
+ tThread *Current;
+} tCPU;
+#endif
typedef struct sTSS {
Uint32 Link;
UCC
git Repository :: git.ucc.asn.au