Use MI <dev/ic/pcdisplay.h>.

This commit is contained in:
tsutsui 2005-01-05 09:17:36 +00:00
parent 35130888e4
commit 41e8037c12
2 changed files with 3 additions and 54 deletions

View File

@ -1,47 +0,0 @@
/* $NetBSD: display.h,v 1.1 2002/02/10 01:58:02 thorpej Exp $ */
/*
* IBM PC display definitions
*/
/* Color attributes for foreground text */
#define FG_BLACK 0
#define FG_BLUE 1
#define FG_GREEN 2
#define FG_CYAN 3
#define FG_RED 4
#define FG_MAGENTA 5
#define FG_BROWN 6
#define FG_LIGHTGREY 7
#define FG_DARKGREY 8
#define FG_LIGHTBLUE 9
#define FG_LIGHTGREEN 10
#define FG_LIGHTCYAN 11
#define FG_LIGHTRED 12
#define FG_LIGHTMAGENTA 13
#define FG_YELLOW 14
#define FG_WHITE 15
#define FG_BLINK 0x80
#define FG_MASK 0x8f
/* Color attributes for text background */
#define BG_BLACK 0x00
#define BG_BLUE 0x10
#define BG_GREEN 0x20
#define BG_CYAN 0x30
#define BG_RED 0x40
#define BG_MAGENTA 0x50
#define BG_BROWN 0x60
#define BG_LIGHTGREY 0x70
#define BG_MASK 0x70
/* Monochrome attributes for foreground text */
#define FG_UNDERLINE 0x01
#define FG_INTENSE 0x08
/* Monochrome attributes for text background */
#define BG_INTENSE 0x10

View File

@ -1,4 +1,4 @@
/* $NetBSD: pccons.c,v 1.18 2004/02/13 11:36:17 wiz Exp $ */
/* $NetBSD: pccons.c,v 1.19 2005/01/05 09:17:36 tsutsui Exp $ */
/*
* Copyright 1997
@ -135,7 +135,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.18 2004/02/13 11:36:17 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.19 2005/01/05 09:17:36 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_xserver.h"
@ -165,11 +165,7 @@ __KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.18 2004/02/13 11:36:17 wiz Exp $");
#include <machine/pio.h>
#include <machine/pccons.h>
#ifdef i386
#include <machine/pc/display.h>
#else
#include <shark/shark/display.h>
#endif
#include <dev/ic/pcdisplay.h>
#include <dev/isa/isareg.h>
#include <dev/isa/isavar.h>