Changeset f054b51 in rtems


Ignore:
Timestamp:
Apr 16, 2002, 5:38:12 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1daced6
Parents:
fd2bc17a
Message:

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

  • shared/include/cpuIdent.h: New.
  • shared/include/cpuIdent.c: Reflect having added cpuIdent.h.
  • shared/include/cpu.h: Ditto.
  • shared/include/Makefile.am: Add cpuIndent.h. Fix EXTRA_DIST.
Location:
c/src/lib/libcpu/powerpc
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    rfd2bc17a rf054b51  
     12002-04-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * shared/include/cpuIdent.h: New.
     4        * shared/include/cpuIdent.c: Reflect having added cpuIdent.h.
     5        * shared/include/cpu.h: Ditto.
     6        * shared/include/Makefile.am: Add cpuIndent.h. Fix EXTRA_DIST.
     7
    182001-04-03      Joel Sherrill <joel@OARcorp.com>
    29
  • c/src/lib/libcpu/powerpc/shared/include/Makefile.am

    rfd2bc17a rf054b51  
    99include_libcpudir = $(includedir)/libcpu
    1010
    11 include_libcpu_HEADERS = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
     11include_libcpu_HEADERS = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h \
     12    cpuIdent.h
    1213
    1314OBJS = $(C_O_FILES)
     
    3940.PRECIOUS: $(LIB)
    4041
    41 EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h
     42EXTRA_DIST = cpuIdent.c
    4243
    4344include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/powerpc/shared/include/cpu.h

    rfd2bc17a rf054b51  
    176176#define SR15    15
    177177
    178 #ifndef ASM
    179 typedef enum {
    180   PPC_601       = 0x1,
    181   PPC_603       = 0x3,
    182   PPC_604       = 0x4,
    183   PPC_603e      = 0x6,
    184   PPC_603ev     = 0x7,
    185   PPC_750       = 0x8,
    186   PPC_604e      = 0x9,
    187   PPC_604r      = 0xA,
    188   PPC_620       = 0x16,
    189   PPC_860       = 0x50,
    190   PPC_821       = PPC_860,
    191   PPC_8260      = 0x81,
    192   PPC_UNKNOWN   = 0xff
    193 } ppc_cpu_id_t;
    194 
    195 typedef unsigned short ppc_cpu_revision_t;
    196 
    197 extern ppc_cpu_id_t get_ppc_cpu_type();
    198 extern ppc_cpu_id_t current_ppc_cpu;
    199 extern ppc_cpu_revision_t get_ppc_cpu_revision();
    200 extern ppc_cpu_revision_t current_ppc_revision;
     178#include <libcpu/cpuIdent.h>
     179
    201180/*
    202181 *  Routines to access the time base register
  • c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c

    rfd2bc17a rf054b51  
    1515 */
    1616
     17#include <libcpu/cpuIdent.h>
    1718#include <libcpu/spr.h>
    1819#include <rtems/bspIo.h>
Note: See TracChangeset for help on using the changeset viewer.