From 7f28f23726351c6f6ee7a84a89ee7ddf73349665 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Dec 2014 11:05:21 +0100 Subject: powerpc: Delete _CPU_IRQ_info --- cpukit/score/cpu/powerpc/rtems/score/cpu.h | 16 ---------------- testsuites/sptests/spsize/size.c | 3 +-- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 2d3f05fe70..e53cfbc7cc 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -581,22 +581,6 @@ typedef struct CPU_Interrupt_frame { #define CPU_MODES_INTERRUPT_LEVEL 0x00000001 /* interrupt level in mode */ #define CPU_MODES_INTERRUPT_MASK 0x00000001 /* interrupt level in mode */ -/* - * Nothing prevents the porter from declaring more CPU specific variables. - */ - -#ifndef ASM - -SCORE_EXTERN struct { - uint32_t *Disable_level; - void *Stack; - volatile bool *Switch_necessary; - bool *Signal; - -} _CPU_IRQ_info CPU_STRUCTURE_ALIGNMENT; - -#endif /* ndef ASM */ - /* * The size of the floating point context area. On some CPUs this * will not be a "sizeof" because the format of the floating point diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 9e4823e1b1..c68199d81d 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -455,8 +455,7 @@ uninitialized += (sizeof _CPU_Null_fp_context) + /* cpu.h */ uninitialized += (sizeof _CPU_Interrupt_stack_low) + - (sizeof _CPU_Interrupt_stack_high) + - (sizeof _CPU_IRQ_info); + (sizeof _CPU_Interrupt_stack_high); #endif #endif /* !unix */ -- cgit v1.2.3