From 7cf9b73f18fcd962240c0d1bc3f66068de59170d Mon Sep 17 00:00:00 2001 From: lipengfei28 Date: Mon, 12 Aug 2024 10:17:24 +0800 Subject: [PATCH] arm64 pci legacy irq do not support yet Signed-off-by: lipengfei28 --- arch/arm64/src/common/arm64_gicv3.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/src/common/arm64_gicv3.c b/arch/arm64/src/common/arm64_gicv3.c index 49b9d51335..81fe66bb49 100644 --- a/arch/arm64/src/common/arm64_gicv3.c +++ b/arch/arm64/src/common/arm64_gicv3.c @@ -1004,3 +1004,16 @@ void up_send_smp_call(cpu_set_t cpuset) } # endif #endif + +/*************************************************************************** + * Name: up_get_legacy_irq + * + * Description: + * Reserve vector for legacy + * + ***************************************************************************/ + +int up_get_legacy_irq(uint32_t devfn, uint8_t line, uint8_t pin) +{ + return -ENOTSUP; +}