Changeset 3ec7bfc in rtems
- Timestamp:
- 03/24/98 16:24:39 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- d662fef8
- Parents:
- 222788b
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
README.configure
r222788b r3ec7bfc 75 75 i386-go32-rtems see notes 76 76 i960-rtems 77 hppa1 _1-rtems77 hppa1.1-rtems 78 78 m68k-rtems 79 79 mips64orion-rtems … … 171 171 i386-go32 : go32 go32_p5 172 172 i960 : cvme961 173 hppa1 _1 : simhppa173 hppa1.1 : simhppa 174 174 m68k : dmv152 efi332 efi68k gen68302 gen68360 gen68360_040 idp 175 175 mvme136 mvme147 mvme147s mvme162 ods68302 -
c/src/exec/score/cpu/unix/cpu.c
r222788b r3ec7bfc 175 175 { 176 176 177 #if defined( hppa1_1) && defined(RTEMS_UNIXLIB_SETJMP)177 #if defined(__hppa__) && defined(RTEMS_UNIXLIB_SETJMP) 178 178 /* 179 179 * HACK - set the _SYSTEM_ID to 0x20c so that setjmp/longjmp … … 475 475 addr = (unsigned32 *)_the_context; 476 476 477 #if defined( hppa1_1)477 #if defined(__hppa__) 478 478 *(addr + RP_OFF) = jmp_addr; 479 479 *(addr + SP_OFF) = (unsigned32)(_stack_low + CPU_FRAME_SIZE); … … 490 490 *(addr + RP_OFF) = *(unsigned32 *)jmp_addr; 491 491 } 492 #elif defined( sparc)492 #elif defined(__sparc__) 493 493 494 494 /* … … 503 503 *(addr + FP_OFF) = (unsigned32)(_stack_high); 504 504 505 #elif defined( i386) || defined(__i386__)505 #elif defined(__i386__) 506 506 507 507 /* -
c/src/exec/score/cpu/unix/cpu.h
r222788b r3ec7bfc 243 243 */ 244 244 245 #if defined( hppa1_1)245 #if defined(__hppa__) 246 246 #define CPU_STACK_GROWS_UP TRUE 247 #elif defined( sparc) || defined(i386) || defined(__i386__)247 #elif defined(__sparc__) || defined(__i386__) 248 248 #define CPU_STACK_GROWS_UP FALSE 249 249 #else … … 283 283 */ 284 284 285 #if defined( hppa1_1) || defined(sparc)285 #if defined(__hppa__) || defined(__sparc__) 286 286 #define CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE 287 287 #define CPU_BIG_ENDIAN TRUE 288 288 #define CPU_LITTLE_ENDIAN FALSE 289 #elif defined( i386) || defined(__i386__)289 #elif defined(__i386__) 290 290 #define CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE 291 291 #define CPU_BIG_ENDIAN FALSE … … 314 314 /* may need to put some structures here. */ 315 315 316 #if defined( hppa1_1)316 #if defined(__hppa__) 317 317 /* 318 318 * Word indices within a jmp_buf structure … … 364 364 #endif 365 365 366 #if defined( i386) || defined(__i386__)366 #if defined(__i386__) 367 367 368 368 #ifdef RTEMS_NEWLIB … … 385 385 #endif 386 386 387 #if defined( sparc)387 #if defined(__sparc__) 388 388 389 389 /* … … 551 551 */ 552 552 553 #if defined( hppa1_1)553 #if defined(__hppa__) 554 554 #define CPU_FRAME_SIZE (32 * 4) 555 #elif defined( sparc)555 #elif defined(__sparc__) 556 556 #define CPU_FRAME_SIZE (112) /* based on disassembled test code */ 557 #elif defined( i386) || defined(__i386__)557 #elif defined(__i386__) 558 558 #define CPU_FRAME_SIZE (24) /* return address, sp, and bp pushed plus fudge */ 559 559 #else -
c/src/lib/libbsp/hppa1.1/simhppa/Makefile.in
r222788b r3ec7bfc 15 15 # from the individual .rel files built in other directories 16 16 # NOTE: we pick up HPPA clock and timer from libcpu/hppa 17 SUB_DIRS=tools include start up tty shmsupp wrapup17 SUB_DIRS=tools include start startup tty shmsupp wrapup -
c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
r222788b r3ec7bfc 333 333 movew %sp@+,%d0 334 334 "); 335 #if defined (__m 68000__) && !defined(__mc68020__)335 #if defined (__mc68000__) && !defined(__mc68020__) 336 336 asm(" 337 337 lea %sp@(4),%sp"); /* pull off 68000 return address */ … … 553 553 } 554 554 555 #if defined(__m 68000__) && !defined(__mc68020__)555 #if defined(__mc68000__) && !defined(__mc68020__) 556 556 /* a 68000 cannot use the internal info pushed onto a bus error 557 557 * or address error frame when doing an RTE so don't put this info -
c/src/lib/libbsp/shmdr/shm.h
r222788b r3ec7bfc 120 120 */ 121 121 122 #if defined( i960)122 #if defined(__i960__) 123 123 #define SHM_LOCK_VALUE 0x00000080 124 124 #define SHM_UNLOCK_VALUE 0 125 #elif defined( m68k)125 #elif defined(__mc68000__) 126 126 #define SHM_LOCK_VALUE 0x80000000 127 127 #define SHM_UNLOCK_VALUE 0 128 128 #define SHM_LOCK_VALUE 0x80000000 129 129 #define SHM_UNLOCK_VALUE 0 130 #elif defined( i386)130 #elif defined(__i386__) 131 131 #define SHM_LOCK_VALUE 0x80000000 132 132 #define SHM_UNLOCK_VALUE 0 133 #elif defined( mips64orion)133 #elif defined(__mips__) 134 134 #define SHM_LOCK_VALUE 0x80000000 135 135 #define SHM_UNLOCK_VALUE 0 136 #elif defined( hppa1_1)136 #elif defined(__hppa__) 137 137 #define SHM_LOCK_VALUE 0 138 138 #define SHM_UNLOCK_VALUE 1 139 #elif defined( ppc)139 #elif defined(__PPC__) 140 140 #define SHM_LOCK_VALUE 1 141 141 #define SHM_UNLOCK_VALUE 0 142 #elif defined( unix)142 #elif defined(__unix__) 143 143 #define SHM_LOCK_VALUE 0 144 144 #define SHM_UNLOCK_VALUE 1 -
c/src/lib/libbsp/shmdr/shm_driver.h
r222788b r3ec7bfc 120 120 */ 121 121 122 #if defined( i960)122 #if defined(__i960__) 123 123 #define SHM_LOCK_VALUE 0x00000080 124 124 #define SHM_UNLOCK_VALUE 0 125 #elif defined( m68k)125 #elif defined(__mc68000__) 126 126 #define SHM_LOCK_VALUE 0x80000000 127 127 #define SHM_UNLOCK_VALUE 0 128 128 #define SHM_LOCK_VALUE 0x80000000 129 129 #define SHM_UNLOCK_VALUE 0 130 #elif defined( i386)130 #elif defined(__i386__) 131 131 #define SHM_LOCK_VALUE 0x80000000 132 132 #define SHM_UNLOCK_VALUE 0 133 #elif defined( mips64orion)133 #elif defined(__mips__) 134 134 #define SHM_LOCK_VALUE 0x80000000 135 135 #define SHM_UNLOCK_VALUE 0 136 #elif defined( hppa1_1)136 #elif defined(__hppa__) 137 137 #define SHM_LOCK_VALUE 0 138 138 #define SHM_UNLOCK_VALUE 1 139 #elif defined( ppc)139 #elif defined(__PPC__) 140 140 #define SHM_LOCK_VALUE 1 141 141 #define SHM_UNLOCK_VALUE 0 142 #elif defined( unix)142 #elif defined(__unix__) 143 143 #define SHM_LOCK_VALUE 0 144 144 #define SHM_UNLOCK_VALUE 1 -
c/src/lib/libcpu/powerpc/ppc403/clock/clock.c
r222788b r3ec7bfc 19 19 * of this software for any purpose. 20 20 * 21 * Derived from c/src/lib/libcpu/hppa1 _1/clock/clock.c:21 * Derived from c/src/lib/libcpu/hppa1.1/clock/clock.c: 22 22 * 23 23 * COPYRIGHT (c) 1989-1998. -
c/src/lib/libcpu/powerpc/ppc403/timer/timer.c
r222788b r3ec7bfc 22 22 * of this software for any purpose. 23 23 * 24 * Derived from c/src/lib/libcpu/hppa1 _1/timer/timer.c:24 * Derived from c/src/lib/libcpu/hppa1.1/timer/timer.c: 25 25 * 26 26 * COPYRIGHT (c) 1989-1998. -
c/src/lib/start/README
r222788b r3ec7bfc 7 7 8 8 For some processors this code exists in some external (to RTEMS) 9 library such as libgloss or the host system (for example the hppa1 _19 library such as libgloss or the host system (for example the hppa1.1 10 10 and UNIX cpu's) -
c/src/libchip/shmdr/shm_driver.h
r222788b r3ec7bfc 120 120 */ 121 121 122 #if defined( i960)122 #if defined(__i960__) 123 123 #define SHM_LOCK_VALUE 0x00000080 124 124 #define SHM_UNLOCK_VALUE 0 125 #elif defined( m68k)125 #elif defined(__mc68000__) 126 126 #define SHM_LOCK_VALUE 0x80000000 127 127 #define SHM_UNLOCK_VALUE 0 128 128 #define SHM_LOCK_VALUE 0x80000000 129 129 #define SHM_UNLOCK_VALUE 0 130 #elif defined( i386)130 #elif defined(__i386__) 131 131 #define SHM_LOCK_VALUE 0x80000000 132 132 #define SHM_UNLOCK_VALUE 0 133 #elif defined( mips64orion)133 #elif defined(__mips__) 134 134 #define SHM_LOCK_VALUE 0x80000000 135 135 #define SHM_UNLOCK_VALUE 0 136 #elif defined( hppa1_1)136 #elif defined(__hppa__) 137 137 #define SHM_LOCK_VALUE 0 138 138 #define SHM_UNLOCK_VALUE 1 139 #elif defined( ppc)139 #elif defined(__PPC__) 140 140 #define SHM_LOCK_VALUE 1 141 141 #define SHM_UNLOCK_VALUE 0 142 #elif defined( unix)142 #elif defined(__unix__) 143 143 #define SHM_LOCK_VALUE 0 144 144 #define SHM_UNLOCK_VALUE 1 -
c/src/tests/samples/cdtest/main.cc
r222788b r3ec7bfc 127 127 // run. 128 128 // 129 // Ref: c/src/lib/libbsp/hppa1_1/pxfl/startup/bspstart.c130 //131 129 132 130 -
c/src/tests/sptests/spsize/size.c
r222788b r3ec7bfc 353 353 #ifndef unix /* make sure this is not a native compile */ 354 354 355 #ifdef i386355 #ifdef __i386__ 356 356 357 357 /* cpu.h */ … … 362 362 #endif 363 363 364 #ifdef i960364 #ifdef __i960__ 365 365 366 366 /* cpu.h */ … … 370 370 #endif 371 371 372 #ifdef hppa1_1372 #ifdef __hppa__ 373 373 374 374 /* cpu.h */ … … 381 381 #endif 382 382 383 #ifdef m68k383 #ifdef __mc68000__ 384 384 385 385 /* cpu.h */ … … 389 389 #endif 390 390 391 #ifdef sparc391 #ifdef __sparc__ 392 392 393 393 /* cpu.h */ … … 418 418 #endif 419 419 420 #ifdef ppc420 #ifdef __PPC__ 421 421 422 422 /* cpu.h */ … … 441 441 442 442 #ifndef unix /* make sure this is not native */ 443 #ifdef sparc443 #ifdef __sparc__ 444 444 445 445 initialized += (sizeof _CPU_Trap_slot_template); -
cpukit/score/cpu/unix/cpu.c
r222788b r3ec7bfc 175 175 { 176 176 177 #if defined( hppa1_1) && defined(RTEMS_UNIXLIB_SETJMP)177 #if defined(__hppa__) && defined(RTEMS_UNIXLIB_SETJMP) 178 178 /* 179 179 * HACK - set the _SYSTEM_ID to 0x20c so that setjmp/longjmp … … 475 475 addr = (unsigned32 *)_the_context; 476 476 477 #if defined( hppa1_1)477 #if defined(__hppa__) 478 478 *(addr + RP_OFF) = jmp_addr; 479 479 *(addr + SP_OFF) = (unsigned32)(_stack_low + CPU_FRAME_SIZE); … … 490 490 *(addr + RP_OFF) = *(unsigned32 *)jmp_addr; 491 491 } 492 #elif defined( sparc)492 #elif defined(__sparc__) 493 493 494 494 /* … … 503 503 *(addr + FP_OFF) = (unsigned32)(_stack_high); 504 504 505 #elif defined( i386) || defined(__i386__)505 #elif defined(__i386__) 506 506 507 507 /* -
make/custom/simhppa.cfg
r222788b r3ec7bfc 7 7 include $(RTEMS_ROOT)/make/custom/default.cfg 8 8 9 # this really should be hppa1.1 but you define that with cpp :( 9 10 RTEMS_CPU=hppa1_1 10 11 RTEMS_CPU_MODEL=hppa7200 -
testsuites/samples/cdtest/main.cc
r222788b r3ec7bfc 127 127 // run. 128 128 // 129 // Ref: c/src/lib/libbsp/hppa1_1/pxfl/startup/bspstart.c130 //131 129 132 130 -
testsuites/sptests/spsize/size.c
r222788b r3ec7bfc 353 353 #ifndef unix /* make sure this is not a native compile */ 354 354 355 #ifdef i386355 #ifdef __i386__ 356 356 357 357 /* cpu.h */ … … 362 362 #endif 363 363 364 #ifdef i960364 #ifdef __i960__ 365 365 366 366 /* cpu.h */ … … 370 370 #endif 371 371 372 #ifdef hppa1_1372 #ifdef __hppa__ 373 373 374 374 /* cpu.h */ … … 381 381 #endif 382 382 383 #ifdef m68k383 #ifdef __mc68000__ 384 384 385 385 /* cpu.h */ … … 389 389 #endif 390 390 391 #ifdef sparc391 #ifdef __sparc__ 392 392 393 393 /* cpu.h */ … … 418 418 #endif 419 419 420 #ifdef ppc420 #ifdef __PPC__ 421 421 422 422 /* cpu.h */ … … 441 441 442 442 #ifndef unix /* make sure this is not native */ 443 #ifdef sparc443 #ifdef __sparc__ 444 444 445 445 initialized += (sizeof _CPU_Trap_slot_template);
Note: See TracChangeset
for help on using the changeset viewer.