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

📄 config.h

📁 open source bios with linux platform, very good and can be reused.
💻 H
字号:
/*  *   Creation Date: <2003/12/20 00:07:16 samuel> *   Time-stamp: <2004/01/19 17:40:26 stepan> *    *	<config.h> *	 *	 *    *   Copyright (C) 2003, 2004 Samuel Rydh (samuel@ibrium.se) *    *   This program is free software; you can redistribute it and/or *   modify it under the terms of the GNU General Public License *   version 2 *    */#ifndef _H_CONFIG#define _H_CONFIG#include "autoconf.h"#include "mconfig.h"#include "asm/types.h"#define PROGRAM_NAME "OpenBIOS"#define PROGRAM_VERSION VERSION#ifndef BOOTSTRAP#ifndef NULL#define	NULL		((void*)0)#endiftypedef unsigned long	ulong;typedef unsigned int	uint;typedef unsigned short  ushort;typedef unsigned char	uchar;typedef unsigned int	size_t;typedef unsigned int	usize_t;typedef signed int	ssize_t;typedef signed int	off_t;typedef unsigned long long ullong;typedef long long 	llong;typedef unsigned int	time_t;#define UINT_MAX	((uint)-1)#define ENOMEM		1#define EIO		2#define EINVAL		3#define ENOENT		4#define ENOTDIR		5#define EISDIR		6#define ENAMETOOLONG	7#define SEEK_CUR	1#define SEEK_SET	2#define SEEK_END	3#endif /* BOOTSTRAP */#include "openbios/sysinclude.h"#ifndef MIN#define MIN(x,y)	(((x) < (y)) ? (x) : (y))#define MAX(x,y)	(((x) > (y)) ? (x) : (y))#endif/* errno is a macro on some systems, which might cause nasty problems. * We try to cope with this here. */#undef errno#define errno errno_int#endif   /* _H_CONFIG */

⌨️ 快捷键说明

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