Changeset 3ec7bfc in rtems for cpukit/score/cpu/unix/cpu.c


Ignore:
Timestamp:
Mar 24, 1998, 4:24:39 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d662fef8
Parents:
222788b
Message:

Rename hppa1_1 to hppa1.1 and switched to using XXX macros for
the CPU family name constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/unix/cpu.c

    r222788b r3ec7bfc  
    175175{
    176176
    177 #if defined(hppa1_1) && defined(RTEMS_UNIXLIB_SETJMP)
     177#if defined(__hppa__) && defined(RTEMS_UNIXLIB_SETJMP)
    178178    /*
    179179     * HACK - set the _SYSTEM_ID to 0x20c so that setjmp/longjmp
     
    475475  addr = (unsigned32 *)_the_context;
    476476
    477 #if defined(hppa1_1)
     477#if defined(__hppa__)
    478478  *(addr + RP_OFF) = jmp_addr;
    479479  *(addr + SP_OFF) = (unsigned32)(_stack_low + CPU_FRAME_SIZE);
     
    490490     *(addr + RP_OFF) = *(unsigned32 *)jmp_addr;
    491491  }
    492 #elif defined(sparc)
     492#elif defined(__sparc__)
    493493
    494494  /*
     
    503503  *(addr + FP_OFF) = (unsigned32)(_stack_high);
    504504
    505 #elif defined(i386) || defined(__i386__)
     505#elif defined(__i386__)
    506506
    507507    /*
Note: See TracChangeset for help on using the changeset viewer.