4 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
7 * SeokYeon Hwang <syeon.hwang@samsung.com>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 * x86 board from pc_piix.c...
27 * add some TIZEN-speciaized device...
30 #include "qemu/osdep.h"
31 #include "hw/boards.h"
32 #include "hw/i386/pc.h"
34 #include "emulator_common.h"
37 /* maru specialized device init */
38 static void maru_device_init(void)
40 // do nothing for now...
43 extern void maru_pc_init(MachineState *args);
44 static void maru_x86_board_init(MachineState *machine)
46 maru_pc_init(machine);
51 #define HAX_HW_COMPAT_2_6 \
53 .driver = "virtio-pci",\
54 .property = "disable-modern",\
58 static void maru_x86_machine_options(MachineClass *m)
60 m->family = "pc_piix";
61 m->desc = "Maru Board (x86)";
62 m->default_machine_opts = "firmware=bios-256k.bin";
63 m->alias = "maru-x86-machine";
64 m->default_display = "std";
69 m->default_boot_order = "c";
71 SET_MACHINE_COMPAT(m, HAX_HW_COMPAT_2_6);
75 DEFINE_PC_MACHINE(maru, "maru-x86-machine", maru_x86_board_init,
76 maru_x86_machine_options);