Forgot tar.c
[grub2/jjazz.git] / include / grub / i386 / pc / vga.h
blobb9822395b9f5887e6906d80227da3b364a8841f5
1 /*
2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2003,2007,2008 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef GRUB_VGA_MACHINE_HEADER
20 #define GRUB_VGA_MACHINE_HEADER 1
22 #include <grub/symbol.h>
23 #include <grub/machine/memory.h>
25 /* The VGA (at the beginning of upper memory). */
26 #define GRUB_MEMORY_MACHINE_VGA_ADDR GRUB_MEMORY_MACHINE_UPPER
28 /* Set the video mode to MODE and return the previous mode. */
29 unsigned char EXPORT_FUNC(grub_vga_set_mode) (unsigned char mode);
31 /* Return a pointer to the ROM font table. */
32 unsigned char *EXPORT_FUNC(grub_vga_get_font) (void);
34 #endif /* ! GRUB_VGA_MACHINE_HEADER */