docs/system/s390x: Improve the 3270 documentation
[qemu/ar7.git] / include / hw / misc / armsse-cpuid.h
blob0ef33fcaba28d7b9e83c60588194c33869144cc2
1 /*
2 * ARM SSE-200 CPU_IDENTITY register block
4 * Copyright (c) 2019 Linaro Limited
5 * Written by Peter Maydell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 or
9 * (at your option) any later version.
13 * This is a model of the "CPU_IDENTITY" register block which is part of the
14 * Arm SSE-200 and documented in
15 * http://infocenter.arm.com/help/topic/com.arm.doc.101104_0100_00_en/corelink_sse200_subsystem_for_embedded_technical_reference_manual_101104_0100_00_en.pdf
17 * QEMU interface:
18 * + QOM property "CPUID": the value to use for the CPUID register
19 * + sysbus MMIO region 0: the system information register bank
22 #ifndef HW_MISC_ARMSSE_CPUID_H
23 #define HW_MISC_ARMSSE_CPUID_H
25 #include "hw/sysbus.h"
27 #define TYPE_ARMSSE_CPUID "armsse-cpuid"
28 #define ARMSSE_CPUID(obj) OBJECT_CHECK(ARMSSECPUID, (obj), TYPE_ARMSSE_CPUID)
30 typedef struct ARMSSECPUID {
31 /*< private >*/
32 SysBusDevice parent_obj;
34 /*< public >*/
35 MemoryRegion iomem;
37 /* Properties */
38 uint32_t cpuid;
39 } ARMSSECPUID;
41 #endif