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

📄 current.h

📁 讲述linux的初始化过程
💻 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__("lhi   %0,-8192\n\t"                "nr    %0,15"                : "=r" (current) );        return current; }#define current get_current()#endif#endif /* !(_S390_CURRENT_H) */

⌨️ 快捷键说明

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