diff options
| author | Russ Cox <rsc@swtch.com> | 2020-01-19 22:52:04 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2020-01-19 23:04:58 -0500 |
| commit | 37e7d24c0cb9fd2d18ab332980c31cf470454d93 (patch) | |
| tree | c08e99bf781a603b702c8a517b5128f8a551f1f7 /src/libthread/OpenBSD-386-asm.s | |
| parent | 41b3e8b9893a8561af7e85ca98444bc284b4013d (diff) | |
| download | plan9port-37e7d24c0cb9fd2d18ab332980c31cf470454d93.tar.gz plan9port-37e7d24c0cb9fd2d18ab332980c31cf470454d93.zip | |
libthread: rm OpenBSD tas implementations
OpenBSD is using pthreads now, so no need for tas.
Diffstat (limited to 'src/libthread/OpenBSD-386-asm.s')
| -rw-r--r-- | src/libthread/OpenBSD-386-asm.s | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libthread/OpenBSD-386-asm.s b/src/libthread/OpenBSD-386-asm.s index 42169853..ed18d2f0 100644 --- a/src/libthread/OpenBSD-386-asm.s +++ b/src/libthread/OpenBSD-386-asm.s @@ -1,10 +1,3 @@ -.globl _tas -_tas: - movl $0xCAFEBABE, %eax - movl 4(%esp), %ecx - xchgl %eax, 0(%ecx) - ret - .globl getmcontext getmcontext: movl 4(%esp), %eax @@ -17,7 +10,7 @@ getmcontext: movl %esi, 24(%eax) movl %ebp, 28(%eax) movl %ebx, 36(%eax) - movl %edx, 40(%eax) + movl %edx, 40(%eax) movl %ecx, 44(%eax) movl $1, 48(%eax) /* %eax */ |
