hw/arm/nseries: Fix loading kernel image on n8x0 machines
[qemu.git] / target / unicore32 / cpu-qom.h
1 /*
2 * QEMU UniCore32 CPU
3 *
4 * Copyright (c) 2012 SUSE LINUX Products GmbH
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation, or (at your option) any
9 * later version. See the COPYING file in the top-level directory.
10 */
11 #ifndef QEMU_UC32_CPU_QOM_H
12 #define QEMU_UC32_CPU_QOM_H
13
14 #include "hw/core/cpu.h"
15 #include "qom/object.h"
16
17 #define TYPE_UNICORE32_CPU "unicore32-cpu"
18
19 OBJECT_DECLARE_TYPE(UniCore32CPU, UniCore32CPUClass,
20 UNICORE32_CPU)
21
22 /**
23 * UniCore32CPUClass:
24 * @parent_realize: The parent class' realize handler.
25 *
26 * A UniCore32 CPU model.
27 */
28 struct UniCore32CPUClass {
29 /*< private >*/
30 CPUClass parent_class;
31 /*< public >*/
32
33 DeviceRealize parent_realize;
34 };
35
36
37 #endif