1*3446Smrj /* 2*3446Smrj * CDDL HEADER START 3*3446Smrj * 4*3446Smrj * The contents of this file are subject to the terms of the 5*3446Smrj * Common Development and Distribution License (the "License"). 6*3446Smrj * You may not use this file except in compliance with the License. 7*3446Smrj * 8*3446Smrj * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*3446Smrj * or http://www.opensolaris.org/os/licensing. 10*3446Smrj * See the License for the specific language governing permissions 11*3446Smrj * and limitations under the License. 12*3446Smrj * 13*3446Smrj * When distributing Covered Code, include this CDDL HEADER in each 14*3446Smrj * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*3446Smrj * If applicable, add the following below this CDDL HEADER, with the 16*3446Smrj * fields enclosed by brackets "[]" replaced with your own identifying 17*3446Smrj * information: Portions Copyright [yyyy] [name of copyright owner] 18*3446Smrj * 19*3446Smrj * CDDL HEADER END 20*3446Smrj */ 21*3446Smrj /* 22*3446Smrj * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*3446Smrj * Use is subject to license terms. 24*3446Smrj */ 25*3446Smrj 26*3446Smrj #ifndef _BOOT_VGA_H 27*3446Smrj #define _BOOT_VGA_H 28*3446Smrj 29*3446Smrj #pragma ident "%Z%%M% %I% %E% SMI" 30*3446Smrj 31*3446Smrj /* 32*3446Smrj * Interface to the bootstrap's internal VGA driver. 33*3446Smrj */ 34*3446Smrj 35*3446Smrj #ifdef __cplusplus 36*3446Smrj extern "C" { 37*3446Smrj #endif 38*3446Smrj 39*3446Smrj #define VGA_IO_WMR 0x3C8 /* vga io DAC write mode register */ 40*3446Smrj #define VGA_IO_DR 0x3C9 /* vga io DAC data register */ 41*3446Smrj #define VGA_IO_IS 0x3DA /* vga io input status register */ 42*3446Smrj 43*3446Smrj #define VGA_TEXT_COLS 80 44*3446Smrj #define VGA_TEXT_ROWS 25 45*3446Smrj 46*3446Smrj extern void vga_setpos(int, int); 47*3446Smrj extern void vga_getpos(int *, int *); 48*3446Smrj extern void vga_clear(int); 49*3446Smrj extern void vga_scroll(int); 50*3446Smrj extern void vga_drawc(int, int); 51*3446Smrj 52*3446Smrj #ifdef __cplusplus 53*3446Smrj } 54*3446Smrj #endif 55*3446Smrj 56*3446Smrj #endif /* _BOOT_VGA_H */ 57