linux pre-2.6 implementation
This commit is contained in:
parent
4dbefdd41c
commit
f1e8706de8
2 changed files with 355 additions and 0 deletions
7
src/libthread/Linuxasm.s
Normal file
7
src/libthread/Linuxasm.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.globl _tas
|
||||
_tas:
|
||||
movl $0xCAFEBABE, %eax
|
||||
movl 4(%esp), %ecx
|
||||
xchgl %eax, 0(%ecx)
|
||||
ret
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue