more netbsd support.
This commit is contained in:
parent
5ba33c04da
commit
8e4ae643c3
5 changed files with 12 additions and 1 deletions
2
src/libthread/NetBSD.c
Normal file
2
src/libthread/NetBSD.c
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#include "Linux.c"
|
||||
|
||||
7
src/libthread/NetBSDasm.s
Normal file
7
src/libthread/NetBSDasm.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