vextern.h
来自「linux 内核源代码」· C头文件 代码 · 共 17 行
H
17 行
#ifndef VEXTERN#include <asm/vsyscall.h>#define VEXTERN(x) \ extern typeof(x) *vdso_ ## x __attribute__((visibility("hidden")));#endif#define VMAGIC 0xfeedbabeabcdefabUL/* Any kernel variables used in the vDSO must be exported in the main kernel's vmlinux.lds.S/vsyscall.h/proper __section and put into vextern.h and be referenced as a pointer with vdso prefix. The main kernel later fills in the values. */VEXTERN(jiffies)VEXTERN(vgetcpu_mode)VEXTERN(vsyscall_gtod_data)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?