diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/sparc/cpu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index 2560f26701..f96d1ea786 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -97,6 +97,11 @@ SPARC_ASSERT_ISF_OFFSET(i7, I7); SPARC_ASSERT_ISF_OFFSET(y, Y); SPARC_ASSERT_ISF_OFFSET(tpc, TPC); +RTEMS_STATIC_ASSERT( + sizeof(CPU_Interrupt_frame) == CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE, + CPU_Interrupt_frame_size +); + /* https://devel.rtems.org/ticket/2352 */ RTEMS_STATIC_ASSERT( sizeof(CPU_Interrupt_frame) % CPU_ALIGNMENT == 0, |