Sebastian Huber
60af341731
bsps/or1k/generic_or1k: Add interrupt support
...
The BSP used the default of bsps/shared/irq/irq-default.c, where every
operation returns RTEMS_UNSATISFIED and there is one vector, so no
device interrupt could be used and ts-validation-intr reported 208
failed steps.
Implement the programmable interrupt controller of the architecture
with its 32 inputs. The inputs are level triggered, so the dispatch
acknowledges a source after its handler served the device.
The controller cannot raise an interrupt in software, its status
register can only be cleared. The transmit holding register of the
UART is always empty, because the console driver polls, so enabling the
interrupt of that condition raises the interrupt of the UART. The
validation test needs a second vector which it can raise and which no
handler occupies, and takes it from TM27_INTERRUPT_VECTOR_ALTERNATIVE.
The alarm of the real time clock of the virtual machine serves as that
one. Its registers are little endian while the processor is big
endian.
ScoreIsrValIsr wraps bsp_interrupt_dispatch(), so a BSP which defines
that function has to provide the wrapper as well. Without it
ts-validation-intr does not link.
Update #5684 .
Assisted-by: Claude:claude-opus-5 claude-code
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de >
2026-09-01 20:08:57 +00:00
..
2026-05-23 23:14:11 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2026-06-18 17:31:33 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-25 14:41:34 -05:00
2023-05-20 11:05:26 +02:00
2026-07-02 17:55:53 -05:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-25 14:41:34 -05:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-09-02 16:54:57 +00:00
2023-05-20 11:05:26 +02:00
2026-06-22 14:44:03 -05:00
2024-09-19 04:34:38 +02:00
2024-06-25 03:58:34 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2026-03-02 10:04:32 -06:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2026-06-22 14:45:05 -05:00
2024-04-30 01:39:05 -04:00
2023-07-14 12:21:33 +02:00
2023-07-14 12:21:33 +02:00
2023-07-14 12:21:33 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2026-06-22 10:10:05 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2023-07-21 09:32:33 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2024-06-21 08:10:27 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2024-06-21 08:10:27 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-09-02 16:54:57 +00:00
2026-06-22 10:10:05 +00:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2025-09-02 16:54:57 +00:00
2025-11-20 22:09:39 -06:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2025-10-28 19:54:03 +00:00
2025-09-25 14:41:34 -05:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-09-02 16:54:57 +00:00
2026-06-18 17:31:33 -05:00
2024-03-11 14:37:55 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-11-17 16:25:27 -07:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-11-07 15:23:26 +01:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-11-17 16:25:27 -07:00
2023-05-20 11:05:26 +02:00
2024-08-23 14:54:37 +00:00
2026-09-01 20:08:57 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-07-21 09:32:33 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2023-11-23 14:58:21 +01:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-09-25 14:41:34 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:52:56 +00:00
2025-09-25 14:41:34 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-25 14:41:34 -05:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:52:56 +00:00
2025-09-25 14:41:34 -05:00
2023-07-21 09:32:33 +02:00
2025-10-28 19:54:03 +00:00
2023-07-21 09:32:33 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-25 14:41:34 -05:00
2025-09-25 14:41:34 -05:00
2023-07-21 09:32:33 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2024-08-23 14:54:37 +00:00
2023-11-07 15:23:26 +01:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-12-04 18:47:30 -06:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-10-28 19:54:03 +00:00
2025-09-25 14:41:34 -05:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2026-04-01 14:00:52 -05:00
2026-04-01 14:00:52 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:52:56 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-08 04:33:52 +02:00
2023-05-20 11:05:26 +02:00
2026-06-22 10:10:05 +00:00
2026-06-22 10:10:05 +00:00
2026-06-22 10:10:05 +00:00
2026-06-22 10:10:05 +00:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2024-04-30 01:39:06 -04:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2023-05-20 11:05:26 +02:00
2025-09-02 16:54:57 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2026-06-18 17:31:33 -05:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2025-10-29 07:16:41 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-11-28 14:30:46 +01:00
2023-05-20 11:05:26 +02:00
2025-10-28 19:54:03 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-07-25 07:27:42 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2026-06-18 17:31:33 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2026-08-20 17:40:16 -05:00
2023-05-20 11:05:26 +02:00
2023-12-19 08:26:46 +01:00
2023-07-03 10:32:53 -05:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2025-09-25 14:41:34 -05:00
2026-06-22 14:45:05 -05:00
2025-10-28 19:52:56 +00:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00