summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/mvvar.h
diff options
context:
space:
mode:
authorgber <gber@FreeBSD.org>2012-09-14 10:05:01 +0000
committergber <gber@FreeBSD.org>2012-09-14 10:05:01 +0000
commite05458327787f58be689168dd8c70b873ac0e15f (patch)
treed085f84f3aa930d6e281896a4641da981be799ac /sys/arm/mv/mvvar.h
parent1afc7a0a6c1ed154001ee92c0e4b26eb057205d5 (diff)
downloadFreeBSD-src-e05458327787f58be689168dd8c70b873ac0e15f.zip
FreeBSD-src-e05458327787f58be689168dd8c70b873ac0e15f.tar.gz
Add support for MSI in interrupt controlller.
MSI are implemented via software interrupt. PCIe cards will write into software interrupt register which will cause inbound shared interrupt which will be interpreted as a MSI. Obtained from: Marvell, Semihalf
Diffstat (limited to 'sys/arm/mv/mvvar.h')
-rw-r--r--sys/arm/mv/mvvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/mv/mvvar.h b/sys/arm/mv/mvvar.h
index 4a2c87d..002640c 100644
--- a/sys/arm/mv/mvvar.h
+++ b/sys/arm/mv/mvvar.h
@@ -134,4 +134,6 @@ uint32_t mv_drbl_get_cause(int dir, int unit);
void mv_drbl_set_msg(uint32_t val, int mnr, int dir, int unit);
uint32_t mv_drbl_get_msg(int mnr, int dir, int unit);
+int mv_msi_data(int irq, uint64_t *addr, uint32_t *data);
+
#endif /* _MVVAR_H_ */
OpenPOWER on IntegriCloud