diff options
Diffstat (limited to 'mdk-stage1/dietlibc/alpha/__testandset.S')
-rw-r--r-- | mdk-stage1/dietlibc/alpha/__testandset.S | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mdk-stage1/dietlibc/alpha/__testandset.S b/mdk-stage1/dietlibc/alpha/__testandset.S deleted file mode 100644 index c5ef81241..000000000 --- a/mdk-stage1/dietlibc/alpha/__testandset.S +++ /dev/null @@ -1,11 +0,0 @@ -.text -.align 2 -.global __testandsets -.type __testandsets,@function -__testandset: - ldq_l $0, 0($16) /* load lock */ - bne $0,1f /* ok there is a lock... */ - lda $0, 1($31) /* load a 1 to register 0 */ - stq_c $0, 0($16) /* write lock is locked :) */ - beq $0,__testandset /* oops someone changed MY lock */ -1: ret $31, ($26), 0x01 /* return */ |