📄 current.h
字号:
/* * include/asm-s390/current.h * * S390 version * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * Derived from "include/asm-i386/current.h" */#ifndef _S390_CURRENT_H#define _S390_CURRENT_H#ifdef __KERNEL__struct task_struct;static inline struct task_struct * get_current(void){ struct task_struct *current; __asm__("lghi %0,-16384\n\t" "alg %0,0xd40" : "=&r" (current) : : "cc" ); return current; }#define current get_current()#endif#endif /* !(_S390_CURRENT_H) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -