提交 c8efd802 编写于 作者: A Andrew Jones 提交者: Peter Maydell

gic: provide defines for v2/v3 targetlist sizes

Signed-off-by: NAndrew Jones <drjones@redhat.com>
Message-id: 1467378129-23302-2-git-send-email-drjones@redhat.com
Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 7069532e
......@@ -23,6 +23,9 @@
#include "arm_gic_common.h"
/* Number of SGI target-list bits */
#define GIC_TARGETLIST_BITS 8
#define TYPE_ARM_GIC "arm_gic"
#define ARM_GIC(obj) \
OBJECT_CHECK(GICState, (obj), TYPE_ARM_GIC)
......
......@@ -35,6 +35,9 @@
#define GICV3_MAXIRQ 1020
#define GICV3_MAXSPI (GICV3_MAXIRQ - GIC_INTERNAL)
/* Number of SGI target-list bits */
#define GICV3_TARGETLIST_BITS 16
/* Minimum BPR for Secure, or when security not enabled */
#define GIC_MIN_BPR 0
/* Minimum BPR for Nonsecure when security is enabled */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册