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

📄 kernel.h

📁 Axis 221 camera embedded programing interface
💻 H
字号:
#ifndef _LINUX_KERNEL_H#define _LINUX_KERNEL_H/* * 'kernel.h' contains some often-used function prototypes etc */#define SI_LOAD_SHIFT	16struct sysinfo {	long uptime;			/* Seconds since boot */	unsigned long loads[3];		/* 1, 5, and 15 minute load averages */	unsigned long totalram;		/* Total usable main memory size */	unsigned long freeram;		/* Available memory size */	unsigned long sharedram;	/* Amount of shared memory */	unsigned long bufferram;	/* Memory used by buffers */	unsigned long totalswap;	/* Total swap space size */	unsigned long freeswap;		/* swap space still available */	unsigned short procs;		/* Number of current processes */	unsigned short pad;		/* explicit padding for m68k */	unsigned long totalhigh;	/* Total high memory size */	unsigned long freehigh;		/* Available high memory size */	unsigned int mem_unit;		/* Memory unit size in bytes */	char _f[20-2*sizeof(long)-sizeof(int)];	/* Padding: libc5 uses this.. */};/* Force a compilation error if condition is true */#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))/* Force a compilation error if condition is true, but also produce a   result (of value 0 and type size_t), so the expression can be used   e.g. in a structure initializer (or where-ever else comma expressions   aren't permitted). */#define BUILD_BUG_ON_ZERO(e) (sizeof(char[1 - 2 * !!(e)]) - 1)/* Trap pasters of __FUNCTION__ at compile-time */#define __FUNCTION__ (__func__)/* This helps us to avoid #ifdef CONFIG_NUMA */#ifdef CONFIG_NUMA#define NUMA_BUILD 1#else#define NUMA_BUILD 0#endif#endif

⌨️ 快捷键说明

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