⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 semaphore.s

📁 arm平台上的uclinux系统全部源代码
💻 S
字号:
/* *  linux/arch/m68k/lib/semaphore.S * *  Copyright (C) 1996  Linus Torvalds * *  m68k version by Andreas Schwab */#include <linux/linkage.h>/* * "down_failed" is called with the eventual return address * in %a0, and the address of the semaphore in %a1. We need * to increment the number of waiters on the semaphore, * call "__down()", and then eventually return to try again. */ENTRY(__down_failed)	moveml %a0/%d0/%d1,-(%sp)	movel %a1,-(%sp)	jbsr SYMBOL_NAME(__down)	movel (%sp)+,%a1	movel (%sp)+,%d0	movel (%sp)+,%d1	rtsENTRY(__down_failed_interruptible)	movel %a0,-(%sp)	movel %d1,-(%sp)	movel %a1,-(%sp)	jbsr SYMBOL_NAME(__down_interruptible)	movel (%sp)+,%a1	movel (%sp)+,%d1	rtsENTRY(__up_wakeup)	moveml %a0/%d0/%d1,-(%sp)	movel %a1,-(%sp)	jbsr SYMBOL_NAME(__up)	movel (%sp)+,%a1	movel (%sp)+,%d0	movel (%sp)+,%d1	rts

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -