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

📄 semaphore.s

📁 GNU Mach 微内核源代码, 基于美国卡内基美隆大学的 Mach 研究项目
💻 S
字号:
/* *  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 %eax	pushl %ecx	call SYMBOL_NAME(__down)	popl %ecx	retENTRY(up_wakeup)	pushl %eax	pushl %ecx	call SYMBOL_NAME(__up)	popl %ecx	retENTRY(down_failed_interruptible)	pushl %eax	pushl %ecx	call SYMBOL_NAME(__down_interruptible)	popl %ecx	ret

⌨️ 快捷键说明

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