vga.h

来自「ARM 嵌入式 系统 设计与实例开发 实验教材 二源码」· C头文件 代码 · 共 23 行

H
23
字号
/* *	Access to VGA videoram * *	(c) 1998 Martin Mares <mj@ucw.cz> *	(c) 1999 Asit Mallick <asit.k.mallick@intel.com> *	(c) 1999 Don Dugger <don.dugger@intel.com> */#ifndef __ASM_IA64_VGA_H_#define __ASM_IA64_VGA_H_/* * On the PC, we can just recalculate addresses and then access the * videoram directly without any black magic. */#define VGA_MAP_MEM(x)	((unsigned long) ioremap((x), 0))#define vga_readb(x)	(*(x))#define vga_writeb(x,y)	(*(y) = (x))#endif /* __ASM_IA64_VGA_H_ */

⌨️ 快捷键说明

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