Changeset 48694da in rtems


Ignore:
Timestamp:
Oct 22, 2001, 1:46:37 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8e42d3b
Parents:
3ac78af
Message:

2001-10-22 Andy Dachs <a.dachs@…>

  • Makefile.am, README, configure.ac, new_exception_processing/cpu.h, shared/include/cpu.h, shared/include/cpuIdent.c, shared/src/cache.c: Added mpc8260 support.
Location:
c/src/lib
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h

    r3ac78af r48694da  
    33 *  This include file contains information pertaining to the PowerPC
    44 *  processor.
     5 *
     6 *  Modified for MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
     7 *  Surrey Satellite Technology Limited (SSTL), 2001
    58 *
    69 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
     
    256259
    257260#define CPU_PROVIDES_IDLE_THREAD_BODY    FALSE
     261
    258262
    259263/*
     
    440444  boolean      exceptions_in_RAM;     /* TRUE if in RAM */
    441445
    442 #if (defined(ppc403) || defined(mpc860) || defined(mpc821))
     446#if (defined(ppc403) || defined(mpc860) || defined(mpc821) || defined(mpc8260))
    443447  unsigned32   serial_per_sec;         /* Serial clocks per second */
    444448  boolean      serial_external_clock;
     
    451455#endif
    452456
    453 #if (defined(mpc860) || defined(mpc821))
     457#if (defined(mpc860) || defined(mpc821) || defined( mpc8260))
    454458  unsigned32   clock_speed;            /* Speed of CPU in Hz */
    455459#endif
  • c/src/lib/libcpu/powerpc/ChangeLog

    r3ac78af r48694da  
     12001-10-22      Andy Dachs <a.dachs@sstl.co.uk>
     2
     3        * Makefile.am, README, configure.ac, new_exception_processing/cpu.h,
     4        shared/include/cpu.h, shared/include/cpuIdent.c, shared/src/cache.c:
     5        Added mpc8260 support.
     6
    172001-10-22      Andy Dachs <a.dachs@sstl.co.uk>
    28
  • c/src/lib/libcpu/powerpc/Makefile.am

    r3ac78af r48694da  
    2929CPU_SUBDIR = mpc8xx
    3030endif
     31if mpc8260
     32CPU_SUBDIR = mpc8260
     33endif
    3134if ppc403
    3235CPU_SUBDIR = ppc403
  • c/src/lib/libcpu/powerpc/README

    r3ac78af r48694da  
    1919  + mpc860
    2020  + ppc403
     21  + mpc8260
    2122
    2223Note that because of similarities in various family members,
  • c/src/lib/libcpu/powerpc/configure.ac

    r3ac78af r48694da  
    3434|| test "$RTEMS_CPU_MODEL" = "mpc821" \
    3535|| test "$RTEMS_CPU_MODEL" = "mpc860" \
     36|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
    3637|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
    3738
     
    4142test "$RTEMS_CPU_MODEL" = "mpc604" || \
    4243test "$RTEMS_CPU_MODEL" = "mpc8xx" || \
    43 test "$RTEMS_CPU_MODEL" = "mpc860")
     44test "$RTEMS_CPU_MODEL" = "mpc8260" || \
     45test "$RTEMS_CPU_MODEL" = "mpc860" \
     46)
    4447
    4548## The goal is to get rid of the old exception processing code but
     
    4952test "$RTEMS_CPU_MODEL" = "ppc403" || \
    5053test "$RTEMS_CPU_MODEL" = "mpc505" || \
     54#test "$RTEMS_CPU_MODEL" = "mpc8260" || \
    5155test "$RTEMS_CPU_MODEL" = "ppc603e" \
    5256)
     
    6064|| test "$RTEMS_CPU_MODEL" = "mpc821" \
    6165|| test "$RTEMS_CPU_MODEL" = "mpc860" )
     66AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
    6267AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
    6368
     
    8994mpc6xx/timer/Makefile
    9095mpc6xx/wrapup/Makefile
     96mpc8260/Makefile
     97mpc8260/clock/Makefile
     98mpc8260/console-generic/Makefile
     99mpc8260/include/Makefile
     100mpc8260/timer/Makefile
     101mpc8260/exceptions/Makefile
     102mpc8260/mmu/Makefile
     103mpc8260/cpm/Makefile
    91104new_exception_processing/Makefile
    92105old_exception_processing/Makefile
  • c/src/lib/libcpu/powerpc/new_exception_processing/cpu.h

    r3ac78af r48694da  
    33 *  This include file contains information pertaining to the PowerPC
    44 *  processor.
     5 *
     6 *  Modified for MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
     7 *  Surrey Satellite Technology Limited (SSTL), 2001
    58 *
    69 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
     
    256259
    257260#define CPU_PROVIDES_IDLE_THREAD_BODY    FALSE
     261
    258262
    259263/*
     
    440444  boolean      exceptions_in_RAM;     /* TRUE if in RAM */
    441445
    442 #if (defined(ppc403) || defined(mpc860) || defined(mpc821))
     446#if (defined(ppc403) || defined(mpc860) || defined(mpc821) || defined(mpc8260))
    443447  unsigned32   serial_per_sec;         /* Serial clocks per second */
    444448  boolean      serial_external_clock;
     
    451455#endif
    452456
    453 #if (defined(mpc860) || defined(mpc821))
     457#if (defined(mpc860) || defined(mpc821) || defined( mpc8260))
    454458  unsigned32   clock_speed;            /* Speed of CPU in Hz */
    455459#endif
  • c/src/lib/libcpu/powerpc/shared/include/cpu.h

    r3ac78af r48694da  
    88 * Copyright (C) 1999  Eric Valette (valette@crf.canon.fr)
    99 *                     Canon Centre Recherche France.
     10 *
     11 *  Added MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
     12 *  Surrey Satellite Technology Limited
     13 *
    1014 *
    1115 *  The license and distribution terms for this file may be
     
    185189  PPC_860       = 0x50,
    186190  PPC_821       = PPC_860,
     191  PPC_8260      = 0x81,
    187192  PPC_UNKNOWN   = 0xff
    188193} ppc_cpu_id_t;
     
    318323  } while (0)
    319324
     325#define PPC_Get_decrementer( _clicks ) \
     326    asm volatile( "mfdec  %0" : "=r" (_clicks) )
    320327
    321328#ifdef __cplusplus
  • c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c

    r3ac78af r48694da  
    33 *
    44 *  Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
     5 *
     6 *  Added MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
     7 *  Surrey Satellite Technology Limited
    58 *
    69 *  The license and distribution terms for this file may be
     
    3841    case PPC_620:
    3942    case PPC_860:
     43    case PPC_8260:
    4044      current_ppc_cpu = (ppc_cpu_id_t) pvr;
    4145      return current_ppc_cpu;
  • c/src/lib/libcpu/powerpc/shared/src/cache.c

    r3ac78af r48694da  
    11/*
    22 *  Cache Management Support Routines for the MC68040
     3 * Modified for MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
     4 * Surrey Satellite Technology Limited (SSTL), 2001
    35 *
    46 *  $Id$
     
    1820 */
    1921 
    20 #if defined(ppc603)                     /* And possibly others */
     22#if defined(ppc603) || defined(mpc8260)    /* And possibly others */
    2123
    2224/* Helpful macros */
Note: See TracChangeset for help on using the changeset viewer.