Provide all the BCM2836_INT_CNT*_CPUN helper macros

No functional change.
This commit is contained in:
skrll 2015-12-17 08:31:50 +00:00
parent 4bade1fd54
commit c528b03989

View File

@ -1,4 +1,4 @@
/* $NetBSD: bcm2835reg.h,v 1.16 2015/11/21 07:41:29 mlelstv Exp $ */
/* $NetBSD: bcm2835reg.h,v 1.17 2015/12/17 08:31:50 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@ -155,7 +155,10 @@
#define BCM2836_INT_TIMER 11
#define BCM2836_INT_NLOCAL 12
#define BCM2836_INT_CNTPSIRQ_CPUN(n) (BCM2836_INT_BASECPUN(n) + BCM2836_INT_CNTPSIRQ)
#define BCM2836_INT_CNTPNSIRQ_CPUN(n) (BCM2836_INT_BASECPUN(n) + BCM2836_INT_CNTPNSIRQ)
#define BCM2836_INT_CNTVIRQ_CPUN(n) (BCM2836_INT_BASECPUN(n) + BCM2836_INT_CNTVIRQ)
#define BCM2836_INT_CNTHPIRQ_CPUN(n) (BCM2836_INT_BASECPUN(n) + BCM2836_INT_CNTHPIRQ)
#define BCM2836_INT_MAILBOX0_CPUN(n) (BCM2836_INT_BASECPUN(n) + BCM2836_INT_MAILBOX0)
#else
#define BCM2835_INT_BASE 0