Go to the documentation of this file.
18 #include <linux/types.h>
29 #define VIDEO_FIRST_MENU 0x0000
32 #define VIDEO_FIRST_BIOS 0x0100
35 #define VIDEO_FIRST_VESA 0x0200
38 #define VIDEO_FIRST_V7 0x0900
41 #define VIDEO_FIRST_SPECIAL 0x0f00
42 #define VIDEO_80x25 0x0f00
43 #define VIDEO_8POINT 0x0f01
44 #define VIDEO_80x43 0x0f02
45 #define VIDEO_80x28 0x0f03
46 #define VIDEO_CURRENT_MODE 0x0f04
47 #define VIDEO_80x30 0x0f05
48 #define VIDEO_80x34 0x0f06
49 #define VIDEO_80x60 0x0f07
50 #define VIDEO_GFX_HACK 0x0f08
51 #define VIDEO_LAST_SPECIAL 0x0f09
54 #define VIDEO_FIRST_RESOLUTION 0x1000
57 #define VIDEO_RECALC 0x8000
60 #define DO_STORE() store_screen()
83 #define __videocard struct card_info __attribute__((section(".videocards")))
108 outw(index+(v << 8), port);
112 static inline u8 tst_idx(
u8 v,
u16 port,
u8 index)
114 out_idx(port, index, v);
115 return in_idx(port, index);