Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/v9/ml/crt.s
          +++ new/usr/src/uts/sparc/v9/ml/crt.s
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   *      Copyright (c) 1988-1991 by Sun Microsystems, Inc.
  24   24   */
  25   25  
  26   26  #ident  "%Z%%M% %I%     %E% SMI"        /* From SunOS 4.1 1.6 */
  27   27  
  28      -#if defined(lint)
  29      -#include <sys/types.h>
  30      -#include <sys/regset.h>
  31      -#include <sys/privregs.h>
  32      -#endif  /* lint */
  33      -
  34   28  #include <sys/asm_linkage.h>
  35   29  #include <sys/trap.h>
  36   30  #include <sys/machtrap.h>
  37   31  #include <sys/simulate.h>
  38   32  
  39   33  /*
  40   34   * C run time subroutines.
  41   35   *
  42   36   *      Those beginning in `.' are not callable from C and hence do not
  43   37   *      get lint prototypes.
  44   38   */
  45   39  
  46      -#if !defined(lint)
  47      -
  48   40  /*
  49   41   * Structure return
  50   42   */
  51   43  #define UNIMP           0
  52   44  #define MASK            0x00000fff
  53   45  #define STRUCT_VAL_OFF  (16*4)
  54   46  
  55   47          RTENTRY(.stret4)
  56   48          RTENTRY(.stret8)
  57   49          !
↓ open down ↓ 93 lines elided ↑ open up ↑
 151  143  
 152  144          RTENTRY(__urem64)
 153  145          ARGS_TO_64
 154  146          udivx   %o1, %o2, %o3
 155  147          mulx    %o2, %o3, %o3
 156  148          sub     %o1, %o3, %o1
 157  149          retl
 158  150          srax    %o1, 32, %o0
 159  151          SET_SIZE(__urem64)
 160  152  
 161      -#endif /* !lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX