diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-24 16:24:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-24 16:24:39 +0000 |
commit | 3ec7bfc7c4ff9e217d2a24635751b74757635dd7 (patch) | |
tree | 3cb4539f082a621655fae9e6b999d6ca0c0f8c73 /cpukit/score | |
parent | new file (diff) | |
download | rtems-3ec7bfc7c4ff9e217d2a24635751b74757635dd7.tar.bz2 |
Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros for
the CPU family name constants.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/unix/cpu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index e931775c54..428ae99c3b 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -174,7 +174,7 @@ void _CPU_Signal_initialize( void ) void _CPU_Context_From_CPU_Init() { -#if defined(hppa1_1) && defined(RTEMS_UNIXLIB_SETJMP) +#if defined(__hppa__) && defined(RTEMS_UNIXLIB_SETJMP) /* * HACK - set the _SYSTEM_ID to 0x20c so that setjmp/longjmp * will handle the full 32 floating point registers. @@ -474,7 +474,7 @@ void _CPU_Context_Initialize( addr = (unsigned32 *)_the_context; -#if defined(hppa1_1) +#if defined(__hppa__) *(addr + RP_OFF) = jmp_addr; *(addr + SP_OFF) = (unsigned32)(_stack_low + CPU_FRAME_SIZE); @@ -489,7 +489,7 @@ void _CPU_Context_Initialize( jmp_addr &= 0xfffffffc; *(addr + RP_OFF) = *(unsigned32 *)jmp_addr; } -#elif defined(sparc) +#elif defined(__sparc__) /* * See /usr/include/sys/stack.h in Solaris 2.3 for a nice @@ -502,7 +502,7 @@ void _CPU_Context_Initialize( *(addr + SP_OFF) = (unsigned32)(_stack_high - CPU_FRAME_SIZE); *(addr + FP_OFF) = (unsigned32)(_stack_high); -#elif defined(i386) || defined(__i386__) +#elif defined(__i386__) /* * This information was gathered by disassembling setjmp(). |