bsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALL

This commit is contained in:
Sebastian Huber
2024-04-10 07:48:42 +02:00
committed by Amar Takhar
parent 42f86dfd75
commit 5a8e99546f
7 changed files with 378 additions and 4 deletions

View File

@@ -35,11 +35,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdlib.h>
#include <rtems.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/fatal.h>
#include <peripheral_maps/xilinx_zynqmp.h>
#include <dev/clock/xttcps_hw.h>
#include <rtems/timecounter.h>
@@ -211,7 +209,7 @@ static void zynqmp_ttc_clock_driver_support_install_isr(
&zynqmp_ttc_interrupt_entry
);
if ( sc != RTEMS_SUCCESSFUL ) {
rtems_fatal_error_occurred(0xdeadbeef);
bsp_fatal(XIL_FATAL_TTC_IRQ_INSTALL);
}
}