1*1cd76c75SBen Gras /* $NetBSD: vga_post.h,v 1.3 2009/08/24 11:33:49 jmcneill Exp $ */ 2*1cd76c75SBen Gras 3*1cd76c75SBen Gras /*- 4*1cd76c75SBen Gras * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. 5*1cd76c75SBen Gras * All rights reserved. 6*1cd76c75SBen Gras * 7*1cd76c75SBen Gras * Redistribution and use in source and binary forms, with or without 8*1cd76c75SBen Gras * modification, are permitted provided that the following conditions 9*1cd76c75SBen Gras * are met: 10*1cd76c75SBen Gras * 11*1cd76c75SBen Gras * 1. Redistributions of source code must retain the above copyright 12*1cd76c75SBen Gras * notice, this list of conditions and the following disclaimer. 13*1cd76c75SBen Gras * 2. Redistributions in binary form must reproduce the above copyright 14*1cd76c75SBen Gras * notice, this list of conditions and the following disclaimer in 15*1cd76c75SBen Gras * the documentation and/or other materials provided with the 16*1cd76c75SBen Gras * distribution. 17*1cd76c75SBen Gras * 18*1cd76c75SBen Gras * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*1cd76c75SBen Gras * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*1cd76c75SBen Gras * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21*1cd76c75SBen Gras * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22*1cd76c75SBen Gras * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23*1cd76c75SBen Gras * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 24*1cd76c75SBen Gras * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25*1cd76c75SBen Gras * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 26*1cd76c75SBen Gras * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 27*1cd76c75SBen Gras * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 28*1cd76c75SBen Gras * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29*1cd76c75SBen Gras * SUCH DAMAGE. 30*1cd76c75SBen Gras */ 31*1cd76c75SBen Gras 32*1cd76c75SBen Gras #ifndef _X86_VGA_POST_H_ 33*1cd76c75SBen Gras #define _X86_VGA_POST_H_ 34*1cd76c75SBen Gras 35*1cd76c75SBen Gras #ifdef _KERNEL 36*1cd76c75SBen Gras struct vga_post; 37*1cd76c75SBen Gras 38*1cd76c75SBen Gras struct vga_post *vga_post_init(int, int, int); 39*1cd76c75SBen Gras void vga_post_free(struct vga_post *); 40*1cd76c75SBen Gras void vga_post_call(struct vga_post *); 41*1cd76c75SBen Gras void vga_post_set_vbe(struct vga_post *, uint16_t); 42*1cd76c75SBen Gras #endif 43*1cd76c75SBen Gras #endif 44