Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/sunfire/ml/ac_asm.s
          +++ new/usr/src/uts/sun4u/sunfire/ml/ac_asm.s
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 1998 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  #include <sys/param.h>
  30   28  #include <sys/errno.h>
  31   29  #include <sys/asm_linkage.h>
  32   30  #include <sys/vtrace.h>
  33   31  #include <sys/machthread.h>
  34   32  #include <sys/clock.h>
  35   33  #include <sys/asi.h>
  36   34  #include <sys/fsr.h>
  37   35  #include <sys/privregs.h>
  38   36  #include <sys/pte.h>
  39   37  #include <sys/mmu.h>
  40   38  #include <sys/spitregs.h>
  41   39  
  42      -#if defined(lint)
  43      -
  44      -#else   /* lint */
  45   40  #include "assym.h"
  46      -#endif  /* lint */
  47   41  
  48   42  #define TT_HSM  0x99
  49   43  
  50      -#if defined(lint)
  51      -/* ARGSUSED */
  52      -void
  53      -ac_blkcopy(caddr_t src, caddr_t dst, u_int linecount, u_int linesize)
  54      -{}
  55      -#else /* !lint */
  56   44  !
  57   45  ! Move a single cache line of data.  Survive UE and CE on the read
  58   46  !
  59   47  ! i0 = src va
  60   48  ! i1 = dst va
  61   49  ! i2 = line count
  62   50  ! i3 = line size
  63   51  ! i4 = cache of fpu state
  64   52  !
  65   53          ENTRY(ac_blkcopy)
↓ open down ↓ 44 lines elided ↑ open up ↑
 110   98          add     %fp, STACK_BIAS - 81, %o2
 111   99          and     %o2, -64, %o2
 112  100          ldda    [%o2]ASI_BLK_P, %d0
 113  101          membar  #Sync
 114  102  
 115  103  3:
 116  104          wr      %g0, %i4, %fprs                 ! fpu back to the way it was
 117  105          ret
 118  106           restore
 119  107          SET_SIZE(ac_blkcopy)
 120      -#endif /* lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX