diff options
| author | rsc <devnull@localhost> | 2005-07-19 17:40:15 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-07-19 17:40:15 +0000 |
| commit | 42a57eff1ce95e0e33bd6d0ce1f06ced9f210151 (patch) | |
| tree | 4195e5b9d3657fd64fad334e76c7226838200dfe /src/libthread/Linux-386-asm.s | |
| parent | d67cd5c33c62679df29dce6b452d32882cd2eca5 (diff) | |
| download | plan9port-42a57eff1ce95e0e33bd6d0ce1f06ced9f210151.tar.gz plan9port-42a57eff1ce95e0e33bd6d0ce1f06ced9f210151.zip | |
better architecture splitting
Diffstat (limited to 'src/libthread/Linux-386-asm.s')
| -rw-r--r-- | src/libthread/Linux-386-asm.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libthread/Linux-386-asm.s b/src/libthread/Linux-386-asm.s new file mode 100644 index 00000000..197f12b5 --- /dev/null +++ b/src/libthread/Linux-386-asm.s @@ -0,0 +1,7 @@ +.globl _tas +_tas: + movl $0xCAFEBABE, %eax + movl 4(%esp), %ecx + xchgl %eax, 0(%ecx) + ret + |
