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

📄 interrupt.h

📁 GNU Hurd 源代码
💻 H
字号:
#ifndef _HACK_INTERRUPT_H_#define _HACK_INTERRUPT_H_#include <linux/netdevice.h>#include "pfinet.h"#define in_interrupt()		(0)#define synchronize_irq()	((void) 0)#define synchronize_bh()	((void) 0) /* XXX ? *//* The code that can call these are already entered holding   global_lock, which locks out the net_bh worker thread.  */#define start_bh_atomic()	((void) 0)#define end_bh_atomic()		((void) 0)/*extern struct mutex net_bh_lock;#define start_bh_atomic()	__mutex_lock (&net_bh_lock)#define end_bh_atomic()		__mutex_unlock (&net_bh_lock)*//* See sched.c::net_bh_worker comments.  */extern struct condition net_bh_wakeup;#define NET_BH	0xb00bee51/* The only call to this ever reached is in net/core/dev.c::netif_rx,   to announce having enqueued a packet on `backlog'.  */static inline voidmark_bh (int bh){  assert (bh == NET_BH);  condition_broadcast (&net_bh_wakeup);}void net_bh (void);static inline voidinit_bh (int bh, void (*fn) (void)){  assert (bh == NET_BH);  assert (fn == &net_bh);}#endif

⌨️ 快捷键说明

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