2 * ASPEED Interrupt Controller (New)
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.
11 * Need to add SVIC and CVIC support
16 #include "hw/sysbus.h"
18 #define TYPE_ASPEED_VIC "aspeed.vic"
19 #define ASPEED_VIC(obj) OBJECT_CHECK(AspeedVICState, (obj), TYPE_ASPEED_VIC)
21 #define ASPEED_VIC_NR_IRQS 51
23 typedef struct AspeedVICState
{
25 SysBusDevice parent_obj
;
41 /* 0=single-edge, 1=dual-edge */
44 /* 0=low-sensitive/falling-edge, 1=high-sensitive/rising-edge */
48 #endif /* ASPEED_VIC_H */