Changeset 9700578 in rtems for cpukit/score/cpu/unix


Ignore:
Timestamp:
Oct 30, 1995, 9:54:45 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c4808ca
Parents:
ea74482
Message:

SPARC port passes all tests

File:
1 edited

Legend:

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

    rea74482 r9700578  
    342342 *  _CPU_Internal_threads_Idle_thread_body
    343343 *
    344  *  NOTES:
    345  *
    346  *  1. This is the same as the regular CPU independent algorithm.
    347  *
    348  *  2. If you implement this using a "halt", "idle", or "shutdown"
    349  *     instruction, then don't forget to put it in an infinite loop.
    350  *
    351  *  3. Be warned. Some processors with onboard DMA have been known
    352  *     to stop the DMA if the CPU were put in IDLE mode.  This might
    353  *     also be a problem with other on-chip peripherals.  So use this
    354  *     hook with caution.
     344 *  Stop until we get a signal which is the logically the same thing
     345 *  entering low-power or sleep mode on a real processor and waiting for
     346 *  an interrupt.  This significantly reduces the consumption of host
     347 *  CPU cycles which is again similar to low power mode.
    355348 */
    356349
     
    371364  unsigned32        _size,
    372365  unsigned32        _new_level,
    373   void             *_entry_point
     366  void             *_entry_point,
     367  boolean           _is_fp
    374368)
    375369{
     
    698692}
    699693
    700 /*PAGE
    701  *
    702  *  _CPU_ffs
    703  */
    704 
    705 int _CPU_ffs(unsigned32 value)
    706 {
    707   int output;
    708   extern int ffs( int );
    709 
    710   output = ffs(value);
    711   output = output - 1;
    712 
    713   return output;
    714 }
    715 
    716 
    717694/*
    718695 *  Special Purpose Routines to hide the use of UNIX system calls.
    719696 */
    720697
    721 #if 0
    722 /* XXX clock had this set of #define's */
    723 
    724 /*
    725  *  In order to get the types and prototypes used in this file under
    726  *  Solaris 2.3, it is necessary to pull the following magic.
    727  */
    728  
    729 #if defined(solaris)
    730 #warning "Ignore the undefining __STDC__ warning"
    731 #undef __STDC__
    732 #define __STDC__ 0
    733 #undef  _POSIX_C_SOURCE
    734 #endif
    735 #endif
    736 
    737698int _CPU_Get_clock_vector( void )
    738699{
    739700  return SIGALRM;
    740701}
    741 
    742702
    743703void _CPU_Start_clock(
Note: See TracChangeset for help on using the changeset viewer.