ppc/xive: Add support for PQ state bits offload
[qemu.git] / include / hw / tricore / tricore_testdevice.h
blob2c56c51bcb8acf7d12c9a39f8543cd1fa9f569a7
1 /*
2 * Copyright (c) 2018-2021 Bastian Koppelmann Paderborn University
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
19 #ifndef HW_TRICORE_TESTDEV_H
20 #define HW_TRICORE_TESTDEV_H
22 #include "hw/sysbus.h"
23 #include "hw/hw.h"
25 #define TYPE_TRICORE_TESTDEVICE "tricore_testdevice"
26 #define TRICORE_TESTDEVICE(obj) \
27 OBJECT_CHECK(TriCoreTestDeviceState, (obj), TYPE_TRICORE_TESTDEVICE)
29 typedef struct {
30 /* <private> */
31 SysBusDevice parent_obj;
33 /* <public> */
34 MemoryRegion iomem;
36 } TriCoreTestDeviceState;
38 #endif