RTEMS 7.0-rc1
Loading...
Searching...
No Matches
irq.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
11/*
12 * Copyright (c) 2025 Jeremy Lorelli <lorelli@slac.stanford.edu>
13 *
14 * The license and distribution terms for this file may be
15 * found in the file LICENSE in this distribution or at
16 * http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef LIBBSP_M68K_UC5282_IRQ_H
20#define LIBBSP_M68K_UC5282_IRQ_H
21
22#include <rtems.h>
23#include <rtems/irq.h>
24#include <rtems/irq-extension.h>
25
26#define BSP_INTERRUPT_CUSTOM_VALID_VECTOR
27
28#define BSP_INTERRUPT_VECTOR_COUNT 192
29
30#define BSP_VME_INTERRUPT_VECTOR_COUNT (255 - BSP_INTERRUPT_VECTOR_COUNT)
31
32#define BSP_FIRST_VME_INTERRUPT_VECTOR BSP_INTERRUPT_VECTOR_COUNT
33
34extern void uC5282_interrupt_vector_install(rtems_vector_number vector);
35extern void uC5282_interrupt_vector_remove(rtems_vector_number vector);
36
37#define bsp_interrupt_vector_install(v) uC5282_interrupt_vector_install(v)
38#define bsp_interrupt_vector_remove(v) uC5282_interrupt_vector_remove(v)
39
40#endif // LIBBSP_M68K_UC5282_IRQ_H
Interrupt Handler Support.
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
This header file is provided for backward compatiblility.
This header file defines the RTEMS Classic API.