mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 06:39:25 +00:00
bafc81b1d3
Move declarations out of qemu-common.h for functions declared in utils/ files: e.g. include/qemu/path.h for utils/path.c. Move inline functions out of qemu-common.h and into new files (e.g. include/qemu/bcd.h) Backports commit f348b6d1a53e5271cf1c9f9acc4646b4b98c1771 from qemu
50 lines
859 B
C
50 lines
859 B
C
/*
|
|
* QEMU Machine
|
|
*
|
|
* Copyright (C) 2014 Red Hat Inc
|
|
*
|
|
* Authors:
|
|
* Marcel Apfelbaum <marcel.a@redhat.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "hw/boards.h"
|
|
#include "qapi/error.h"
|
|
#include "qemu/cutils.h"
|
|
|
|
static void machine_initfn(struct uc_struct *uc, Object *obj, void *opaque)
|
|
{
|
|
}
|
|
|
|
static void machine_finalize(struct uc_struct *uc, Object *obj, void *opaque)
|
|
{
|
|
}
|
|
|
|
static const TypeInfo machine_info = {
|
|
TYPE_MACHINE,
|
|
TYPE_OBJECT,
|
|
|
|
sizeof(MachineClass),
|
|
sizeof(MachineState),
|
|
NULL,
|
|
|
|
machine_initfn,
|
|
NULL,
|
|
machine_finalize,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
|
|
true,
|
|
};
|
|
|
|
void machine_register_types(struct uc_struct *uc)
|
|
{
|
|
type_register_static(uc, &machine_info);
|
|
}
|