Changeset acc25ee in rtems for c/src/lib/libcpu/powerpc
- Timestamp:
- 12/02/99 14:31:19 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 3a96054
- Parents:
- 4cf56006
- Location:
- c/src/lib/libcpu/powerpc
- Files:
-
- 36 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/Makefile.in
r4cf56006 racc25ee 19 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 20 21 ifeq ($(wildcard $(RTEMS_CPU_MODEL)),$(RTEMS_CPU_MODEL)) 22 SHARED_LIB = shared 23 endif 21 ifeq ($(RTEMS_CPU_MODEL),mpc750) 22 SHARED_LIB = shared mpc6xx 23 endif 24 ifeq ($(RTEMS_CPU_MODEL),mpc604) 25 SHARED_LIB = shared mpc6xx 26 endif 24 27 25 28 SUBDIRS = $(SHARED_LIB) $(wildcard $(RTEMS_CPU_MODEL)) wrapup -
c/src/lib/libcpu/powerpc/shared/Makefile.in
r4cf56006 racc25ee 15 15 16 16 # C source names, if any, go here -- minus the .c 17 C_PIECES = 17 C_PIECES = cpuIdent 18 18 C_FILES = $(C_PIECES:%=%.c) 19 19 C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -
c/src/lib/libcpu/powerpc/shared/cpu.h
r4cf56006 racc25ee 170 170 #define SR15 15 171 171 172 #ifndef ASM 173 typedef 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 188 typedef unsigned short ppc_cpu_revision_t; 189 190 extern ppc_cpu_id_t get_ppc_cpu_type(); 191 extern ppc_cpu_id_t current_ppc_cpu; 192 extern ppc_cpu_revision_t get_ppc_cpu_revision(); 193 extern ppc_cpu_revision_t current_ppc_revision; 194 #endif 195 172 196 #define _CPU_MSR_GET( _msr_value ) \ 173 197 do { \ -
c/src/lib/libcpu/powerpc/wrapup/Makefile.in
r4cf56006 racc25ee 19 19 # So far FAMILY_OBJ is empty and ar dislike it... 20 20 CPU_SPECIFIC_OBJS = $(wildcard ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o) 21 FAMILY_OBJS = $(wildcard ../shared/ */$(ARCH)/*.o)21 FAMILY_OBJS = $(wildcard ../shared/$(ARCH)/*.o ../shared/*/$(ARCH)/*.o ../mpc6xx/*/$(ARCH)/*.o) 22 22 23 23 LIB = $(ARCH)/libcpu.a
Note: See TracChangeset
for help on using the changeset viewer.