mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
include/nuttx/arch.h: MSI alloc API should be always available
MSI-like interrupts delivery can be used also for other devices than PCI, e.g HPET Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
80f2890c17
commit
4e69a3d2db
@@ -2939,8 +2939,6 @@ int up_debugpoint_remove(int type, FAR void *addr, size_t size);
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_PCI
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_alloc_irq_msi
|
* Name: up_alloc_irq_msi
|
||||||
*
|
*
|
||||||
@@ -2979,6 +2977,8 @@ int up_alloc_irq_msi(uint8_t busno, uint32_t devfn, FAR int *irq, int num);
|
|||||||
|
|
||||||
void up_release_irq_msi(FAR int *irq, int num);
|
void up_release_irq_msi(FAR int *irq, int num);
|
||||||
|
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_connect_irq
|
* Name: up_connect_irq
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user