mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 08:13:15 +01:00
Remove all references to ARM registers in system call arguments.
This commit is contained in:
@@ -242,10 +242,8 @@ int mutex_control_unlock(unsigned long mutex_address)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sys_mutex_control(syscall_context_t *regs)
|
||||
int sys_mutex_control(unsigned long mutex_address, int mutex_op)
|
||||
{
|
||||
unsigned long mutex_address = (unsigned long)regs->r0;
|
||||
int mutex_op = (int)regs->r1;
|
||||
unsigned long mutex_physical;
|
||||
int ret = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user