4 * Copyright (C) 2011, 2012 Samsung Electronics Co., Ltd. All rights reserved.
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>
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.
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.
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.
34 * @brief - header file for emulator.c
37 #ifndef __EMULATOR_H__
38 #define __EMULATOR_H__
40 #include "maru_common.h"
42 #include "qemu-option.h"
45 #define MAXPACKETLEN 60
48 extern gchar bin_path[];
49 extern gchar log_path[];
51 void exit_emulator(void);
52 char *get_bin_path(void);
53 void prepare_maru(void);
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__ */