/** AXI-PCIe Interrupt controller * * @author Steffen Vogel * @copyright 2015-2016, Steffen Vogel * This file is part of S2SS. All Rights Reserved. Proprietary and confidential. * Unauthorized copying of this file, via any medium is strictly prohibited. **********************************************************************************/ #ifndef _INTC_H_ #define _INTC_H_ int intc_init(struct ip *c); uint32_t intc_enable(struct ip *c, uint32_t mask); void intc_disable(struct ip *c, uint32_t mask); uint64_t intc_wait(struct fpga *f, int irq); #endif /* _INTC_H_ */