URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [i386/] [lib/] [semaphore.S] - Rev 1767
Go to most recent revision | Compare with Previous | Blame | View Log
/** linux/arch/i386/lib/semaphore.S** Copyright (C) 1996 Linus Torvalds*/#include <linux/linkage.h>/** "down_failed" is called with the eventual return address* in %eax, and the address of the semaphore in %ecx. We need* to increment the number of waiters on the semaphore,* call "__down()", and then eventually return to try again.*/ENTRY(down_failed)pushl %eaxpushl %ecxcall SYMBOL_NAME(__down)popl %ecxretENTRY(up_wakeup)pushl %eaxpushl %ecxcall SYMBOL_NAME(__up)popl %ecxretENTRY(down_failed_interruptible)pushl %eaxpushl %ecxcall SYMBOL_NAME(__down_interruptible)popl %ecxret
Go to most recent revision | Compare with Previous | Blame | View Log
