sync with latest
[sdk/emulator/qemu.git] / tizen / src / emulator.h
1 /*
2  * Emulator
3  *
4  * Copyright (C) 2011, 2012 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: 
7  * SeokYeon Hwang <syeon.hwang@samsung.com>
8  * MunKyu Im <munkyu.im@samsung.com>
9  * GiWoong Kim <giwoong.kim@samsung.com>
10  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
11  * HyunJun Son
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26  *
27  * Contributors:
28  * - S-Core Co., Ltd
29  *
30  */
31
32 /**
33  * @file emulator.h
34  * @brief - header file for emulator.c
35  */
36
37 #ifndef __EMULATOR_H__
38 #define __EMULATOR_H__
39
40 #include "maru_common.h"
41 #include "qlist.h"
42 #include "qemu-option.h"
43
44 #define MAXLEN  512
45 #define MAXPACKETLEN 60
46 #define SHMKEY  26099
47
48 extern gchar bin_path[];
49 extern gchar log_path[];
50
51 void exit_emulator(void);
52 char *get_bin_path(void);
53 void prepare_maru(void);
54
55 const gchar * get_log_path(void);
56 const gchar * prepare_maru_devices(const gchar * kernel_cmdline);
57 int maru_device_check(QemuOpts *opts);
58 #endif /* __EMULATOR_H__ */