1 /* 2 * Copyright (c) 2022 BayLibre SAS 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/irq_offload.h> 8 #include <zephyr/arch/riscv/syscall.h> 9 arch_irq_offload(irq_offload_routine_t routine,const void * parameter)10void arch_irq_offload(irq_offload_routine_t routine, const void *parameter) 11 { 12 arch_syscall_invoke2((uintptr_t)routine, (uintptr_t)parameter, RV_ECALL_IRQ_OFFLOAD); 13 } 14 arch_irq_offload_init(void)15void arch_irq_offload_init(void) 16 { 17 } 18