x86, efi: Set runtime_version to the EFI spec revision
[linux/fpc-iii.git] / arch / sparc / include / asm / vga.h
blobec0e9967d93d5904eeb9b9c1ab10a1794321c810
1 /*
2 * Access to VGA videoram
4 * (c) 1998 Martin Mares <mj@ucw.cz>
5 */
7 #ifndef _LINUX_ASM_VGA_H_
8 #define _LINUX_ASM_VGA_H_
10 #include <linux/bug.h>
11 #include <asm/types.h>
13 #define VT_BUF_HAVE_RW
15 #undef scr_writew
16 #undef scr_readw
18 static inline void scr_writew(u16 val, u16 *addr)
20 BUG_ON((long) addr >= 0);
22 *addr = val;
25 static inline u16 scr_readw(const u16 *addr)
27 BUG_ON((long) addr >= 0);
29 return *addr;
32 #define VGA_MAP_MEM(x,s) (x)
34 #endif