Blame view
arch/x86/include/asm/vga.h
396 Bytes
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 |
/* * Access to VGA videoram * * (c) 1998 Martin Mares <mj@ucw.cz> */ |
1965aae3c x86: Fix ASM_X86_... |
6 7 |
#ifndef _ASM_X86_VGA_H #define _ASM_X86_VGA_H |
1da177e4c Linux-2.6.12-rc2 |
8 9 10 11 12 |
/* * On the PC, we can just recalculate addresses and then * access the videoram directly without any black magic. */ |
364fe5ef4 include/asm-x86/v... |
13 |
#define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x) |
1da177e4c Linux-2.6.12-rc2 |
14 15 |
#define vga_readb(x) (*(x)) |
364fe5ef4 include/asm-x86/v... |
16 |
#define vga_writeb(x, y) (*(y) = (x)) |
1da177e4c Linux-2.6.12-rc2 |
17 |
|
1965aae3c x86: Fix ASM_X86_... |
18 |
#endif /* _ASM_X86_VGA_H */ |