hw/arm: add very initial support for Canon DIGIC SoC
[qemu.git] / include / hw / arm / digic.h
blobb7d16fb50f741da6fd2a946bab2040caaa94adeb
1 /*
2 * Misc Canon DIGIC declarations.
4 * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #ifndef HW_ARM_DIGIC_H
19 #define HW_ARM_DIGIC_H
21 #include "cpu.h"
23 #define TYPE_DIGIC "digic"
25 #define DIGIC(obj) OBJECT_CHECK(DigicState, (obj), TYPE_DIGIC)
27 typedef struct DigicState {
28 /*< private >*/
29 DeviceState parent_obj;
30 /*< public >*/
32 ARMCPU cpu;
33 } DigicState;
35 #endif /* HW_ARM_DIGIC_H */