]>
git.proxmox.com Git - mirror_qemu.git/blob - include/hw/cpu/core.h
b7470644d83758c70e08bc45eb8738f202d8fd79
2 * CPU core abstract device
4 * Copyright (C) 2016 Bharata B Rao <bharata@linux.vnet.ibm.com>
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
14 #define TYPE_CPU_CORE "cpu-core"
16 #define CPU_CORE(obj) \
17 OBJECT_CHECK(CPUCore, (obj), TYPE_CPU_CORE)
19 typedef struct CPUCore
{
21 DeviceState parent_obj
;
28 /* Note: topology field names need to be kept in sync with
29 * 'CpuInstanceProperties' */
31 #define CPU_CORE_PROP_CORE_ID "core-id"