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/armv7 - Fixed lack of in*/out* functions
[tpg/acess2.git]
/
Kernel
/
syscalls.c
diff --git
a/Kernel/syscalls.c
b/Kernel/syscalls.c
index
1294b21
..
00f031f
100644
(file)
--- a/
Kernel/syscalls.c
+++ b/
Kernel/syscalls.c
@@
-7,6
+7,7
@@
#include <acess.h>
#include <syscalls.h>
#include <proc.h>
#include <acess.h>
#include <syscalls.h>
#include <proc.h>
+#include <hal_proc.h>
#include <errno.h>
#include <threads.h>
#include <errno.h>
#include <threads.h>
@@
-66,7
+67,7
@@
void SyscallHandler(tSyscallRegs *Regs)
// -- Clone the current thread
case SYS_CLONE:
// Call clone system call
// -- Clone the current thread
case SYS_CLONE:
// Call clone system call
- ret = Proc_Clone(
&err,
Regs->Arg1);
+ ret = Proc_Clone(Regs->Arg1);
// Change user stack if a new stack address is passed
if(ret == 0 && Regs->Arg2)
Regs->StackPointer = Regs->Arg2;
// Change user stack if a new stack address is passed
if(ret == 0 && Regs->Arg2)
Regs->StackPointer = Regs->Arg2;
UCC
git Repository :: git.ucc.asn.au