Changeset f054b51 in rtems
- Timestamp:
- Apr 16, 2002, 5:38:12 PM (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1daced6
- Parents:
- fd2bc17a
- Location:
- c/src/lib/libcpu/powerpc
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/ChangeLog
rfd2bc17a rf054b51 1 2002-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 1 8 2001-04-03 Joel Sherrill <joel@OARcorp.com> 2 9 -
c/src/lib/libcpu/powerpc/shared/include/Makefile.am
rfd2bc17a rf054b51 9 9 include_libcpudir = $(includedir)/libcpu 10 10 11 include_libcpu_HEADERS = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h 11 include_libcpu_HEADERS = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h \ 12 cpuIdent.h 12 13 13 14 OBJS = $(C_O_FILES) … … 39 40 .PRECIOUS: $(LIB) 40 41 41 EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h42 EXTRA_DIST = cpuIdent.c 42 43 43 44 include $(top_srcdir)/../../../../../automake/local.am -
c/src/lib/libcpu/powerpc/shared/include/cpu.h
rfd2bc17a rf054b51 176 176 #define SR15 15 177 177 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 201 180 /* 202 181 * Routines to access the time base register -
c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
rfd2bc17a rf054b51 15 15 */ 16 16 17 #include <libcpu/cpuIdent.h> 17 18 #include <libcpu/spr.h> 18 19 #include <rtems/bspIo.h>
Note: See TracChangeset
for help on using the changeset viewer.