Changeset 4a0d87e in rtems for cpukit/score


Ignore:
Timestamp:
Apr 18, 2002, 8:54:19 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
600e77a
Parents:
0117487
Message:

2002-04-18 Ralf Corsepius <corsepiu@…>

  • 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.
Location:
cpukit/score/cpu/powerpc
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/powerpc/ChangeLog

    r0117487 r4a0d87e  
     12002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * asm.h: Include cpuopts.h instead of targopts.h.
     4        * rtems/new-exceptions/cpu.h: Relocated from
     5        libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h
     6        * rtems/old-exceptions/cpu.h: Relocated from
     7        c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h
     8        * rtems/powerpc/registers.h: Relocated and renamed from
     9        libcpu/powerpc/shared/include/cpu.h.
     10        * rtems/score/cpu.h: New.
     11        * Makefile.am: Reflect changes above.
     12
    1132001-04-03      Joel Sherrill <joel@OARcorp.com>
    214
  • cpukit/score/cpu/powerpc/Makefile.am

    r0117487 r4a0d87e  
    2626
    2727include_rtems_scoredir = $(includedir)/rtems/score
    28 include_rtems_score_HEADERS = rtems/score/ppc.h rtems/score/types.h
     28include_rtems_score_HEADERS = \
     29  rtems/score/ppc.h \
     30  rtems/score/types.h
     31include_rtems_score_HEADERS += rtems/score/cpu.h
     32
     33$(PROJECT_INCLUDE)/rtems/old-exceptions:
     34        $(mkinstalldirs) $@
     35
     36include_rtems_old_exceptionsdir = $(includedir)/rtems/old-exceptions
     37include_rtems_old_exceptions_HEADERS = rtems/old-exceptions/cpu.h
     38
     39$(PROJECT_INCLUDE)/rtems/new-exceptions:
     40        $(mkinstalldirs) $@
     41
     42include_rtems_new_exceptionsdir = $(includedir)/rtems/new-exceptions
     43include_rtems_new_exceptions_HEADERS = rtems/new-exceptions/cpu.h
     44
     45
     46$(PROJECT_INCLUDE)/rtems/powerpc:
     47        $(mkinstalldirs) $@
     48
     49include_rtems_powerpcdir = $(includedir)/rtems/powerpc
     50include_rtems_powerpc_HEADERS = rtems/powerpc/registers.h
     51
    2952PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
    3053    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
     54
     55PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/old-exceptions \
     56    $(include_rtems_old_exceptions_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
     57
     58PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/new-exceptions \
     59    $(include_rtems_new_exceptions_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
     60
     61PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc \
     62    $(include_rtems_powerpc_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
    3163
    3264# $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
  • cpukit/score/cpu/powerpc/asm.h

    r0117487 r4a0d87e  
    3737#define ASM
    3838#endif
    39 #include <rtems/score/targopts.h>
     39#include <rtems/score/cpuopts.h>
    4040#include <rtems/score/ppc.h>
    4141
  • cpukit/score/cpu/powerpc/rtems/asm.h

    r0117487 r4a0d87e  
    3737#define ASM
    3838#endif
    39 #include <rtems/score/targopts.h>
     39#include <rtems/score/cpuopts.h>
    4040#include <rtems/score/ppc.h>
    4141
  • cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h

    r0117487 r4a0d87e  
    3737#define __CPU_h
    3838
     39#ifndef _rtems_score_cpu_h
     40#error "You should include <rtems/score/cpu.h>"
     41#endif
     42
     43#include <rtems/powerpc/registers.h>
     44
    3945#ifdef __cplusplus
    4046extern "C" {
    41 #endif
    42 
    43 #include <rtems/score/ppc.h>               /* pick up machine definitions */
    44 #include <libcpu/cpu.h>
    45  
    46 #ifndef ASM
    47 #include <rtems/score/types.h>
    4847#endif
    4948
     
    455454#endif
    456455
    457 #if (defined(mpc860) || defined(mpc821) || defined( mpc8260))
     456#if (defined(mpc860) || defined(mpc821) || defined(mpc8260))
    458457  unsigned32   clock_speed;            /* Speed of CPU in Hz */
    459458#endif
     
    647646 *  level is returned in _isr_cookie.
    648647 */
    649 
    650 #define loc_string(a,b) a " (" #b ")\n"
    651648
    652649#ifndef ASM
  • cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h

    r0117487 r4a0d87e  
    3434#define __CPU_h
    3535
     36#ifndef _rtems_score_cpu_h
     37#error "You should include <rtems/score/cpu.h>"
     38#endif
     39
    3640#ifdef __cplusplus
    3741extern "C" {
    3842#endif
    3943
    40 #include <rtems/score/ppc.h>               /* pick up machine definitions */
    4144#ifndef ASM
    4245struct CPU_Interrupt_frame;
    4346typedef void ( *ppc_isr_entry )( int, struct CPU_Interrupt_frame * );
    44 
    45 #include <rtems/score/types.h>
    4647#endif
    4748
     
    724725 */
    725726
    726 #define loc_string(a,b) a " (" #b ")\n"
    727 
    728727#define _CPU_MSR_Value( _msr_value ) \
    729728  do { \
Note: See TracChangeset for help on using the changeset viewer.