Changeset acc25ee in rtems for c/src/lib/libcpu/powerpc/shared


Ignore:
Timestamp:
Dec 2, 1999, 2:31:19 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3a96054
Parents:
4cf56006
Message:

Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@…>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.

Location:
c/src/lib/libcpu/powerpc/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/shared/Makefile.in

    r4cf56006 racc25ee  
    1515
    1616# C source names, if any, go here -- minus the .c
    17 C_PIECES =
     17C_PIECES = cpuIdent
    1818C_FILES = $(C_PIECES:%=%.c)
    1919C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
  • c/src/lib/libcpu/powerpc/shared/cpu.h

    r4cf56006 racc25ee  
    170170#define SR15    15
    171171
     172#ifndef ASM
     173typedef enum {
     174  PPC_601       = 0x1,
     175  PPC_603       = 0x3,
     176  PPC_604       = 0x4,
     177  PPC_603e      = 0x6,
     178  PPC_603ev     = 0x7,
     179  PPC_750       = 0x8,
     180  PPC_604e      = 0x9,
     181  PPC_604r      = 0xA,
     182  PPC_620       = 0x16,
     183  PPC_860       = 0x50,
     184  PPC_821       = PPC_860,
     185  PPC_UNKNOWN   = 0xff
     186} ppc_cpu_id_t;
     187
     188typedef unsigned short ppc_cpu_revision_t;
     189
     190extern ppc_cpu_id_t get_ppc_cpu_type();
     191extern ppc_cpu_id_t current_ppc_cpu;
     192extern ppc_cpu_revision_t get_ppc_cpu_revision();
     193extern ppc_cpu_revision_t current_ppc_revision;
     194#endif
     195
    172196#define _CPU_MSR_GET( _msr_value ) \
    173197  do { \
Note: See TracChangeset for help on using the changeset viewer.