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
Increased user stack size, fiddling with error recovery
[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
..
5e3fadd
100644
(file)
--- a/
Kernel/arch/x86/include/proc.h
+++ b/
Kernel/arch/x86/include/proc.h
@@
-7,10
+7,16
@@
#include <threads.h>
#include <threads.h>
-// === CONSTANTS ===
-#define GETMSG_IGNORE ((void*)-1)
-
// === TYPES ===
// === 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;
typedef struct sTSS {
Uint32 Link;
@@
-28,7
+34,7
@@
typedef struct sTSS {
} __attribute__((packed)) tTSS;
// === FUNCTIONS ===
} __attribute__((packed)) tTSS;
// === FUNCTIONS ===
-extern void Proc_Start();
+extern void Proc_Start(
void
);
extern int Proc_Clone(Uint *Err, Uint Flags);
#endif
extern int Proc_Clone(Uint *Err, Uint Flags);
#endif
UCC
git Repository :: git.ucc.asn.au