1582079c9SBastian Koppelmann /* 2582079c9SBastian Koppelmann * Copyright (c) 2018-2021 Bastian Koppelmann Paderborn University 3582079c9SBastian Koppelmann * 4582079c9SBastian Koppelmann * This library is free software; you can redistribute it and/or 5582079c9SBastian Koppelmann * modify it under the terms of the GNU Lesser General Public 6582079c9SBastian Koppelmann * License as published by the Free Software Foundation; either 7582079c9SBastian Koppelmann * version 2 of the License, or (at your option) any later version. 8582079c9SBastian Koppelmann * 9582079c9SBastian Koppelmann * This library is distributed in the hope that it will be useful, 10582079c9SBastian Koppelmann * but WITHOUT ANY WARRANTY; without even the implied warranty of 11582079c9SBastian Koppelmann * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12582079c9SBastian Koppelmann * Lesser General Public License for more details. 13582079c9SBastian Koppelmann * 14582079c9SBastian Koppelmann * You should have received a copy of the GNU Lesser General Public 15582079c9SBastian Koppelmann * License along with this library; if not, see <http://www.gnu.org/licenses/>. 16582079c9SBastian Koppelmann */ 17582079c9SBastian Koppelmann 18*52581c71SMarkus Armbruster #ifndef HW_TRICORE_TESTDEVICE_H 19*52581c71SMarkus Armbruster #define HW_TRICORE_TESTDEVICE_H 20582079c9SBastian Koppelmann 21582079c9SBastian Koppelmann #include "hw/sysbus.h" 22582079c9SBastian Koppelmann 23582079c9SBastian Koppelmann #define TYPE_TRICORE_TESTDEVICE "tricore_testdevice" 24582079c9SBastian Koppelmann #define TRICORE_TESTDEVICE(obj) \ 25582079c9SBastian Koppelmann OBJECT_CHECK(TriCoreTestDeviceState, (obj), TYPE_TRICORE_TESTDEVICE) 26582079c9SBastian Koppelmann 27582079c9SBastian Koppelmann typedef struct { 28582079c9SBastian Koppelmann SysBusDevice parent_obj; 29582079c9SBastian Koppelmann 30582079c9SBastian Koppelmann MemoryRegion iomem; 31582079c9SBastian Koppelmann } TriCoreTestDeviceState; 32582079c9SBastian Koppelmann 33582079c9SBastian Koppelmann #endif 34