]>
git.proxmox.com Git - mirror_qemu.git/blob - include/hw/misc/aspeed_scu.h
2 * ASPEED System Control Unit
4 * Andrew Jeffery <andrew@aj.id.au>
6 * Copyright 2016 IBM Corp.
8 * This code is licensed under the GPL version 2 or later. See
9 * the COPYING file in the top-level directory.
14 #include "hw/sysbus.h"
16 #define TYPE_ASPEED_SCU "aspeed.scu"
17 #define ASPEED_SCU(obj) OBJECT_CHECK(AspeedSCUState, (obj), TYPE_ASPEED_SCU)
19 #define ASPEED_SCU_NR_REGS (0x1A8 >> 2)
21 typedef struct AspeedSCUState
{
23 SysBusDevice parent_obj
;
28 uint32_t regs
[ASPEED_SCU_NR_REGS
];
34 #endif /* ASPEED_SCU_H */