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

📄 osdep.h

📁 linux下从网卡远程启动
💻 H
字号:
#ifndef	ETHERBOOT_OSDEP_H#define ETHERBOOT_OSDEP_H#define __unused __attribute__((unused))#define __aligned __attribute__((aligned(16)))/* Optimization barrier *//* The "volatile" is due to gcc bugs */#define barrier() __asm__ __volatile__("": : :"memory")#include "stdint.h"#include "limits.h"#include "string.h"#include "io.h"#include "endian.h"#include "byteswap.h"#include "setjmp.h"#include "latch.h"#include "hooks.h"/* We should not depend on any system header files except possibly * compiler supplied std c headers.  Copy headers if you need them. */#if defined(FREEBSD_PXEEMU) && 0#include "/sys/boot/i386/libi386/pxe.h"#include "/sys/boot/i386/btx/lib/btxv86.h"#endif/* within 1MB of 4GB is too close.  * MAX_ADDR is the maximum address we can easily do DMA to. */#define MAX_ADDR (0xfff00000UL)typedef	unsigned long Address;/* ANSI prototyping macro */#ifdef	__STDC__#define	P(x)	x#else#define	P(x)	()#endif#endif/* * Local variables: *  c-basic-offset: 8 * End: */

⌨️ 快捷键说明

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