3 * Based on qemu/hw/vga_int.h
5 * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
8 * Hyunjun Son <hj79.son@samsung.com>
9 * GiWoong Kim <giwoong.kim@samsung.com>
10 * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31 #ifndef MARU_VGA_INT_H_
32 #define MARU_VGA_INT_H_
34 void maru_vga_common_init(VGACommonState *s);
36 void maru_vga_draw_cursor_line_8(uint8_t *d1, const uint8_t *src1,
38 unsigned int color0, unsigned int color1,
39 unsigned int color_xor);
40 void maru_vga_draw_cursor_line_16(uint8_t *d1, const uint8_t *src1,
42 unsigned int color0, unsigned int color1,
43 unsigned int color_xor);
44 void maru_vga_draw_cursor_line_32(uint8_t *d1, const uint8_t *src1,
46 unsigned int color0, unsigned int color1,
47 unsigned int color_xor);
49 #endif /* MARU_VGA_INT_H_ */