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
Kernel/x86 - Included EAX in user state dump
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86_64
/
proc.c
diff --git
a/KernelLand/Kernel/arch/x86_64/proc.c
b/KernelLand/Kernel/arch/x86_64/proc.c
index
46e2b21
..
b35b507
100644
(file)
--- a/
KernelLand/Kernel/arch/x86_64/proc.c
+++ b/
KernelLand/Kernel/arch/x86_64/proc.c
@@
-458,9
+458,8
@@
void Proc_ClearThread(tThread *Thread)
tTID Proc_NewKThread(void (*Fcn)(void*), void *Data)
{
Uint rsp;
tTID Proc_NewKThread(void (*Fcn)(void*), void *Data)
{
Uint rsp;
- tThread *newThread
, *cur
;
+ tThread *newThread;
- cur = Proc_GetCurThread();
newThread = Threads_CloneTCB(0);
if(!newThread) return -1;
newThread = Threads_CloneTCB(0);
if(!newThread) return -1;
@@
-537,11
+536,9
@@
tTID Proc_Clone(Uint Flags)
*/
tThread *Proc_SpawnWorker(void (*Fcn)(void*), void *Data)
{
*/
tThread *Proc_SpawnWorker(void (*Fcn)(void*), void *Data)
{
- tThread *new
, *cur
;
+ tThread *new;
Uint stack_contents[3];
Uint stack_contents[3];
- cur = Proc_GetCurThread();
-
// Create new thread
new = Threads_CloneThreadZero();
if(!new) {
// Create new thread
new = Threads_CloneThreadZero();
if(!new) {
UCC
git Repository :: git.ucc.asn.au