📄 commarea.h
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* * commarea.h * * Kernel shared data */#ifndef __SYS_COMMAREA_H__#define __SYS_COMMAREA_H__#include <basic.h>#include <sys/queue.h>#include <tk/util.h>#include <tk/syscall.h>#ifdef __cplusplusextern "C" {#endif#ifndef __commarea__#define __commarea__typedef struct CommArea CommArea;#endif/* * Structure of kernel shared data */struct CommArea { FastLock *PinfoLock; ID SysResID; FUNCP GetPinfo; FUNCP GetPidToPinfo; FUNCP GetLSID; FUNCP GetUATB;#if TA_GP VP gp;#endif INT tev_fflock;};/* * Reference address of kernel shared data */IMPORT CommArea *__CommArea;#ifdef __cplusplus}#endif#endif /* __SYS_COMMAREA_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -