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
Usermode/libposix - Added types for F_GETLK
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
armv7
/
proc.S
diff --git
a/KernelLand/Kernel/arch/armv7/proc.S
b/KernelLand/Kernel/arch/armv7/proc.S
index
1979058
..
d794f55
100644
(file)
--- a/
KernelLand/Kernel/arch/armv7/proc.S
+++ b/
KernelLand/Kernel/arch/armv7/proc.S
@@
-62,10
+62,12
@@
SwitchTask:
Proc_CloneInt:
@ R0: SP Destination
@ R1: Mem Destination
Proc_CloneInt:
@ R0: SP Destination
@ R1: Mem Destination
+ @ R2: Clear user space
push {r4-r12,lr}
mov r4, r1 @ Save mem destination
str sp, [r0] @ Save SP to SP dest
push {r4-r12,lr}
mov r4, r1 @ Save mem destination
str sp, [r0] @ Save SP to SP dest
+ mov r0, r2
bl MM_Clone
str r0, [r4] @ Save clone return to Mem Dest
bl MM_Clone
str r0, [r4] @ Save clone return to Mem Dest
@@
-95,6
+97,15
@@
Proc_int_DropToUser:
cps #16
mov sp, r1
mov pc, r0
cps #16
mov sp, r1
mov pc, r0
+.globl User_Signal_Kill
+@ R0: Signal
+User_Signal_Kill:
+ mov r1, r0
+ and r1, #0x00FF
+ orr r1, #0x0200
+ mov r0, #0
+ swi 0
+ b .
.section .rodata
csProc_CloneInt_NewTaskMessage:
.section .rodata
csProc_CloneInt_NewTaskMessage:
UCC
git Repository :: git.ucc.asn.au