From 4a0d87ee09cb3c1d3cb98d2907a046a463777c3e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Apr 2002 20:54:19 +0000 Subject: 2002-04-18 Ralf Corsepius * asm.h: Include cpuopts.h instead of targopts.h. * rtems/new-exceptions/cpu.h: Relocated from libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h * rtems/old-exceptions/cpu.h: Relocated from c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h * rtems/powerpc/registers.h: Relocated and renamed from libcpu/powerpc/shared/include/cpu.h. * rtems/score/cpu.h: New. * Makefile.am: Reflect changes above. --- cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h') diff --git a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h index bf2769a363..77de711862 100644 --- a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h @@ -33,16 +33,17 @@ #ifndef __CPU_h #define __CPU_h +#ifndef _rtems_score_cpu_h +#error "You should include " +#endif + #ifdef __cplusplus extern "C" { #endif -#include /* pick up machine definitions */ #ifndef ASM struct CPU_Interrupt_frame; typedef void ( *ppc_isr_entry )( int, struct CPU_Interrupt_frame * ); - -#include #endif /* conditional compilation parameters */ @@ -723,8 +724,6 @@ void _CPU_Initialize_vectors(void); * level is returned in _isr_cookie. */ -#define loc_string(a,b) a " (" #b ")\n" - #define _CPU_MSR_Value( _msr_value ) \ do { \ _msr_value = 0; \ -- cgit v1.2.3