vga.h

来自「基于组件方式开发操作系统的OSKIT源代码」· C头文件 代码 · 共 21 行

H
21
字号
/* *	Access to VGA videoram * *	(c) 1998 Martin Mares <mj@ucw.cz> */#ifndef _LINUX_ASM_VGA_H_#define _LINUX_ASM_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)phys_to_virt(x)#define vga_readb(x) (*(x))#define vga_writeb(x,y) (*(y) = (x))#endif

⌨️ 快捷键说明

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