提交 a11ad874 编写于 作者: B Bruce Momjian

Fix for assembler from Yoshihiko ICHIKAWA

上级 3b7ee8f5
......@@ -13,8 +13,6 @@ tas:
movl %esp,%ebp /new base pointer
pushl %ebx /save prev bx
movl 8(%ebp),%ebx /load bx with address of lock
pushl %ebx /save prev bx
movl 8(%ebp),%ebx /load bx with address of lock
movl $255,%eax /put something in ax
xchgb %al,(%ebx) /swap lock value with "0"
cmpb $0,%al /did we get the lock?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册