12 #ifndef __METAL_FREERTOS_SYS__H__
13 #error "Include metal/sys.h instead of metal/freertos/@PROJECT_MACHINE@/sys.h"
16 #include <metal/system/@PROJECT_SYSTEM@/xlnx_common/sys.h>
19 #ifndef __METAL_FREERTOS_ZYNQ7_SYS__H__
20 #define __METAL_FREERTOS_ZYNQ7_SYS__H__
28 #define XLNX_MAXIRQS XSCUGIC_MAX_NUM_INTR_INPUTS
32 XScuGic_EnableIntr(XPAR_SCUGIC_0_DIST_BASEADDR, vector);
37 XScuGic_DisableIntr(XPAR_SCUGIC_0_DIST_BASEADDR, vector);
void sys_irq_disable(unsigned int vector)
Definition: sys.c:36
void sys_irq_enable(unsigned int vector)
Definition: sys.c:29