Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / armsse-cpuid.h
blob9c0926322cb58499ba02b26d2ed75e492cba4760
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 * https://developer.arm.com/documentation/101104/latest/
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"
26 #include "qom/object.h"
28 #define TYPE_ARMSSE_CPUID "armsse-cpuid"
29 OBJECT_DECLARE_SIMPLE_TYPE(ARMSSECPUID, ARMSSE_CPUID)
31 struct ARMSSECPUID {
32 /*< private >*/
33 SysBusDevice parent_obj;
35 /*< public >*/
36 MemoryRegion iomem;
38 /* Properties */
39 uint32_t cpuid;
42 #endif