Changeset ff018702 in rtems


Ignore:
Timestamp:
08/01/00 14:13:02 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
83539698
Parents:
327cf913
Message:

Removed unused macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i960/i960sim/include/bsp.h

    r327cf913 rff018702  
    5454#define Lower_tm27_intr()
    5555
    56 /*
    57  *  Simple spin delay in microsecond units for device drivers.
    58  *  This is very dependent on the clock speed of the target.
    59  */
    60 
    61 #define delay( microseconds ) \
    62   { register rtems_unsigned32 _delay=(microseconds); \
    63     register rtems_unsigned32 _tmp = 0; /* initialized to avoid warning */ \
    64     asm volatile( "0: \
    65                      remo      3,31,%0 ; \
    66                      cmpo      0,%0 ; \
    67                      subo      1,%1,%1 ; \
    68                      cmpobne.t 0,%1,0b " \
    69                   : "=d" (_tmp), "=d" (_delay) \
    70                   : "0"  (_tmp), "1"  (_delay) ); \
    71   }
    72 
    7356/* Constants */
    7457
Note: See TracChangeset for help on using the changeset viewer.