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"
17 #include "qom/object.h"
19 #define TYPE_ASPEED_VIC "aspeed.vic"
20 OBJECT_DECLARE_SIMPLE_TYPE(AspeedVICState
, ASPEED_VIC
)
22 #define ASPEED_VIC_NR_IRQS 51
24 struct AspeedVICState
{
26 SysBusDevice parent_obj
;
42 /* 0=single-edge, 1=dual-edge */
45 /* 0=low-sensitive/falling-edge, 1=high-sensitive/rising-edge */
49 #endif /* ASPEED_VIC_H */