📄 current.h
字号:
#ifndef _PARISC_CURRENT_H#define _PARISC_CURRENT_H#include <asm/processor.h>struct task_struct;static inline struct task_struct * get_current(void){ struct task_struct *current; asm("copy 30,%0" : "=r" (current)); return (struct task_struct *)((long) current & ~(THREAD_SIZE-1));} #define current get_current()#endif /* !(_PARISC_CURRENT_H) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -