Lines Matching +full:8 +full:xxx

39 #include "opt_syscons.h"	/* should be removed in the future, XXX */
68 /* XXX machine/pc/bios.h has got too much i386-specific stuff in it */
271 { M_B40x25, V_INFO_COLOR, 40, 25, 8, 8, 2, 1,
273 { M_C40x25, V_INFO_COLOR, 40, 25, 8, 8, 4, 1,
275 { M_B80x25, V_INFO_COLOR, 80, 25, 8, 8, 2, 1,
277 { M_C80x25, V_INFO_COLOR, 80, 25, 8, 8, 4, 1,
280 { M_ENH_B40x25, V_INFO_COLOR, 40, 25, 8, 14, 2, 1,
282 { M_ENH_C40x25, V_INFO_COLOR, 40, 25, 8, 14, 4, 1,
284 { M_ENH_B80x25, V_INFO_COLOR, 80, 25, 8, 14, 2, 1,
286 { M_ENH_C80x25, V_INFO_COLOR, 80, 25, 8, 14, 4, 1,
289 { M_VGA_C40x25, V_INFO_COLOR, 40, 25, 8, 16, 4, 1,
291 { M_VGA_M80x25, 0, 80, 25, 8, 16, 2, 1,
293 { M_VGA_C80x25, V_INFO_COLOR, 80, 25, 8, 16, 4, 1,
296 { M_EGAMONO80x25, 0, 80, 25, 8, 14, 2, 1,
299 { M_ENH_B80x43, V_INFO_COLOR, 80, 43, 8, 8, 2, 1,
301 { M_ENH_C80x43, V_INFO_COLOR, 80, 43, 8, 8, 4, 1,
304 { M_VGA_M80x30, 0, 80, 30, 8, 16, 2, 1,
306 { M_VGA_C80x30, V_INFO_COLOR, 80, 30, 8, 16, 4, 1,
308 { M_VGA_M80x50, 0, 80, 50, 8, 8, 2, 1,
310 { M_VGA_C80x50, V_INFO_COLOR, 80, 50, 8, 8, 4, 1,
312 { M_VGA_M80x60, 0, 80, 60, 8, 8, 2, 1,
314 { M_VGA_C80x60, V_INFO_COLOR, 80, 60, 8, 8, 4, 1,
320 { M_VGA_M90x25, 0, 90, 25, 8, 16, 2, 1,
322 { M_VGA_C90x25, V_INFO_COLOR, 90, 25, 8, 16, 4, 1,
324 { M_VGA_M90x30, 0, 90, 30, 8, 16, 2, 1,
326 { M_VGA_C90x30, V_INFO_COLOR, 90, 30, 8, 16, 4, 1,
328 { M_VGA_M90x43, 0, 90, 43, 8, 8, 2, 1,
330 { M_VGA_C90x43, V_INFO_COLOR, 90, 43, 8, 8, 4, 1,
332 { M_VGA_M90x50, 0, 90, 50, 8, 8, 2, 1,
334 { M_VGA_C90x50, V_INFO_COLOR, 90, 50, 8, 8, 4, 1,
336 { M_VGA_M90x60, 0, 90, 60, 8, 8, 2, 1,
338 { M_VGA_C90x60, V_INFO_COLOR, 90, 60, 8, 8, 4, 1,
343 { M_BG320, V_INFO_COLOR | V_INFO_GRAPHICS, 320, 200, 8, 8, 2, 1,
345 { M_CG320, V_INFO_COLOR | V_INFO_GRAPHICS, 320, 200, 8, 8, 2, 1,
347 { M_BG640, V_INFO_COLOR | V_INFO_GRAPHICS, 640, 200, 8, 8, 1, 1,
350 { M_CG320_D, V_INFO_COLOR | V_INFO_GRAPHICS, 320, 200, 8, 8, 4, 4,
353 { M_CG640_E, V_INFO_COLOR | V_INFO_GRAPHICS, 640, 200, 8, 8, 4, 4,
356 { M_EGAMONOAPA, V_INFO_GRAPHICS, 640, 350, 8, 14, 4, 4,
359 { M_ENHMONOAPA2,V_INFO_GRAPHICS, 640, 350, 8, 14, 4, 4,
362 { M_CG640x350, V_INFO_COLOR | V_INFO_GRAPHICS, 640, 350, 8, 14, 2, 2,
365 { M_ENH_CG640, V_INFO_COLOR | V_INFO_GRAPHICS, 640, 350, 8, 14, 4, 4,
369 { M_BG640x480, V_INFO_COLOR | V_INFO_GRAPHICS, 640, 480, 8, 16, 4, 4,
372 { M_CG640x480, V_INFO_COLOR | V_INFO_GRAPHICS, 640, 480, 8, 16, 4, 4,
375 { M_VGA_CG320, V_INFO_COLOR | V_INFO_GRAPHICS, 320, 200, 8, 8, 8, 1,
378 { M_VGA_MODEX, V_INFO_COLOR | V_INFO_GRAPHICS, 320, 240, 8, 8, 8, 4,
602 return M_EGAMONO80x25; /* XXX: this name is confusing */ in map_gen_mode_num()
632 8, 9, 10, 11, 12, in map_bios_mode_num()
635 M_ENHMONOAPA2, /* XXX: video momery > 64K */ in map_bios_mode_num()
636 M_ENH_CG640, /* XXX: video momery > 64K */ in map_bios_mode_num()
644 8, 9, 10, 11, 12, in map_bios_mode_num()
682 return M_EGAMONO80x25; /* XXX: this name is confusing */ in map_bios_mode_num()
762 /* the color adapter may be in the 40x25 mode... XXX */ in verify_adapter()
779 /* may be in the 40x25 mode... XXX */ in verify_adapter()
813 /* XXX */ in update_adapter_info()
824 adp->va_line_width = info->vi_width/8; in update_adapter_info()
832 case 8: in update_adapter_info()
918 * information in BIOSDATA_DCCINDEX (40:8a), but it also maintains in probe_adapters()
924 * XXX: we don't use BIOSDATA_EQUIPMENT, since it is not a dead in probe_adapters()
944 /* FIXME: switch to the 80x25 mode? XXX */ in probe_adapters()
961 /* assume EGA/VGA? XXX */ in probe_adapters()
986 biosadapter[V_ADP_PRIMARY].va_initial_bios_mode = 3; /* XXX */ in probe_adapters()
1071 * manufacturers store the # of rows - 1 there. XXX in probe_adapters()
1095 * tweak is changing the characters from 8x16 to 8x8. in probe_adapters()
1138 /* XXX how can one validate the EGA table... */ in probe_adapters()
1184 * (set = 8), but this is unreliable too. Trust that 0 in the sequencer in probe_adapters()
1187 * about 1.2 in all standard 9-wide modes and should be about 9/8 larger in probe_adapters()
1188 * again in similar 8-wide modes; in practice it is usually about 1.4 in probe_adapters()
1204 info.vi_flags &= ~V_INFO_LINEAR; /* XXX */ in probe_adapters()
1210 info.vi_flags &= ~V_INFO_LINEAR; /* XXX */ in probe_adapters()
1215 * XXX: we should verify the following values for the primary adapter... in probe_adapters()
1250 count = (pixel + 7)/8; in set_line_length()
1251 bpl = rounddown(pixel + 7, 8); in set_line_length()
1254 count = (pixel + 7)/8; /* columns */ in set_line_length()
1255 bpl = (pixel + 7)/8; /* columns */ in set_line_length()
1281 ppb = 8/(adp->va_info.vi_depth/adp->va_info.vi_planes); in set_display_start()
1291 ppb = 8; in set_display_start()
1293 ppb = 8; in set_display_start()
1297 /* FIXME: is this correct? XXX */ in set_display_start()
1298 if (ppb == 8) in set_display_start()
1301 poff = (x + 8)%ppb; in set_display_start()
1306 outb(adp->va_crtc_addr + 1, off >> 8); in set_display_start()
1320 outb(adp->va_crtc_addr, 8); in set_display_start()
1329 #if defined(__i386__) || defined(__amd64__) /* XXX */
1440 /* XXX */ in vga_get_info()
1486 /* XXX: should check pixel format, memory model */ in vga_query_mode()
1515 params->regs[5] |= 1; /* toggle 8 pixel wide fonts */ in set_width90()
1593 params.regs[2] = 8; in vga_set_mode()
1651 info.vi_flags &= ~V_INFO_LINEAR; /* XXX */ in vga_set_mode()
1764 outw(TSIDX, 0x0002 | (buf[0] << 8)); in set_normal_mode()
1765 outw(TSIDX, 0x0004 | (buf[1] << 8)); in set_normal_mode()
1769 outw(GDCIDX, 0x0004 | (buf[2] << 8)); in set_normal_mode()
1770 outw(GDCIDX, 0x0005 | (buf[3] << 8)); in set_normal_mode()
1772 outw(GDCIDX, 0x0006 | (((buf[4] & 0x03) | 0x08)<<8)); in set_normal_mode()
1774 outw(GDCIDX, 0x0006 | (((buf[4] & 0x03) | 0x0c)<<8)); in set_normal_mode()
1805 fontsize = 8; in vga_save_font()
1816 if (page < 0 || page >= 8 || fontwidth != 8) in vga_save_font()
1823 if (adp->va_type == KD_VGA) { /* what about EGA? XXX */ in vga_save_font()
1864 * the font page other than 0... XXX
1885 fontsize = 8; in vga_load_font()
1896 if (page < 0 || page >= 8 || fontwidth != 8) in vga_load_font()
1903 if (adp->va_type == KD_VGA) { /* what about EGA? XXX */ in vga_load_font()
1944 * the font page other than 0... XXX
1956 if (page < 0 || page >= 8) in vga_show_font()
1971 * Read DAC values. The values have expressed in 8 bits.
1984 * We store 8 bit values in the palette buffer, while the standard in vga_save_palette()
2225 #ifdef notyet /* a temporary workaround for kernel panic, XXX */ in vga_load_state()
2279 off = (off << 8) | inb(adp->va_crtc_addr + 1); in vga_read_hw_cursor()
2314 outb(adp->va_crtc_addr + 1, off >> 8); in vga_set_hw_cursor()
2479 /* XXX: is this correct? */ in vga_mmap_buf()
2500 outw(GDCIDX, (val << 8) | 0x00); /* set/reset */ in planar_fill()
2565 /* do nothing? XXX */ in vga_clear()
2595 outw(GDCIDX, (val << 8) | 0x00); /* set/reset */ in planar_fill_rect()
2600 pos = adp->va_line_width*y + x/8; in planar_fill_rect()
2606 bx = (x + cx)/8 - x/8; in planar_fill_rect()
2607 if (x % 8) { in planar_fill_rect()
2608 outw(GDCIDX, ((0xff00 >> (x % 8)) & 0xff00) | 0x08); in planar_fill_rect()
2630 if ((x + cx) % 8) { in planar_fill_rect()
2631 outw(GDCIDX, (~(0xff00 >> ((x + cx) % 8)) & 0xff00) | 0x08); in planar_fill_rect()
2694 * XXX: the function assumes that banksize is a muliple of in direct_fill_rect16()
2735 b[1] = (val >> 8) & 0x0000ff; in direct_fill_rect24()
2776 * XXX: the function assumes that banksize is a muliple of in direct_fill_rect32()
2809 /* do nothing? XXX */ in vga_fill_rect()
2958 if ((adp->va_info.vi_depth <= 1) || (adp->va_info.vi_depth > 8)) in vga_dev_ioctl()