kernel.h

来自「一个简单的操作系统minix的核心代码」· C头文件 代码 · 共 45 行

H
45
字号
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
				src/kernel/kernel.h	 	 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

04200	/* This is the master header for the kernel.  It includes some other files
04201	 * and defines the principal constants.
04202	 */
04203	#define _POSIX_SOURCE      1    /* tell headers to include POSIX stuff */
04204	#define _MINIX             1    /* tell headers to include MINIX stuff */
04205	#define _SYSTEM            1    /* tell headers that this is the kernel */
04206	
04207	/* The following are so basic, all the *.c files get them automatically. */
04208	#include <minix/config.h>       /* MUST be first */
04209	#include <ansi.h>               /* MUST be second */
04210	#include <sys/types.h>
04211	#include <minix/const.h>
04212	#include <minix/type.h>
04213	#include <minix/syslib.h>
04214	
04215	#include <string.h>
04216	#include <limits.h>
04217	#include <errno.h>
04218	
04219	#include "const.h"
04220	#include "type.h"
04221	#include "proto.h"
04222	#include "glo.h"

















⌨️ 快捷键说明

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