From 30be81add6052b8c5d5b83bd47d1fba6cfe4e967 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 5512ab4c5d..89e24d4254 100644 --- a/arch/arm64/src/common/arm64_gicv3.c +++ b/arch/arm64/src/common/arm64_gicv3.c @@ -1003,3 +1003,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; +}