Remove all references to ARM registers in system call arguments.

This commit is contained in:
Bahadir Balban
2009-06-10 17:30:02 +03:00
parent 6de090a365
commit 0dd8918ae5
10 changed files with 134 additions and 77 deletions

View File

@@ -15,7 +15,7 @@
#include INC_ARCH(asm.h)
#include INC_SUBARCH(mm.h)
int sys_thread_switch(syscall_context_t *regs)
int sys_thread_switch(void)
{
schedule();
return 0;
@@ -343,11 +343,9 @@ out_err:
* space for a thread that doesn't already have one, or destroys it if the last
* thread that uses it is destroyed.
*/
int sys_thread_control(syscall_context_t *regs)
int sys_thread_control(unsigned int flags, struct task_ids *ids)
{
int ret = 0;
unsigned int flags = regs->r0;
struct task_ids *ids = (struct task_ids *)regs->r1;
switch (flags & THREAD_ACTION_MASK) {
case THREAD_CREATE: