Merge tag 'v1.2.0' into tizen-arm
[sdk/emulator/qemu.git] / tizen / src / hw / maru_vga_int.h
1 /*
2  * Maru vga device
3  * Based on qemu/hw/vga_int.h
4  *
5  * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
6  *
7  * Contact:
8  * Hyunjun Son <hj79.son@samsung.com>
9  * GiWoong Kim <giwoong.kim@samsung.com>
10  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
11  *
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.
16  *
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.
21  *
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.
25  *
26  * Contributors:
27  * - S-Core Co., Ltd
28  *
29  */
30
31 #ifndef MARU_VGA_INT_H_
32 #define MARU_VGA_INT_H_
33
34 void maru_vga_common_init(VGACommonState *s);
35
36 void maru_vga_draw_cursor_line_8(uint8_t *d1, const uint8_t *src1,
37                             int poffset, int w,
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,
41                              int poffset, int w,
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,
45                              int poffset, int w,
46                              unsigned int color0, unsigned int color1,
47                              unsigned int color_xor);
48
49 #endif /* MARU_VGA_INT_H_ */