Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/io/vnet_dds_hcall.s
          +++ new/usr/src/uts/sun4v/io/vnet_dds_hcall.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 2008 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  /*
  30   28   * Hypervisor calls called by niu leaf driver.
  31   29  */
  32   30  
  33   31  #include <sys/asm_linkage.h>
  34   32  #include <sys/hypervisor_api.h>
  35   33  
  36   34  /*
  37   35   * NIU HV API v1.1 definitions
  38   36   */
  39   37  #define N2NIU_VR_GETINFO        0x148
  40   38  #define N2NIU_VR_GET_RX_MAP     0x14d
  41   39  #define N2NIU_VR_GET_TX_MAP     0x14e
  42   40  #define N2NIU_VRRX_SET_INO      0x150
  43   41  #define N2NIU_VRTX_SET_INO      0x151
  44   42  
  45   43  
  46      -#if defined(lint) || defined(__lint)
  47      -
  48      -/*ARGSUSED*/
  49      -uint64_t
  50      -vdds_hv_niu_vr_getinfo(uint32_t cookie, uint64_t *real_start, uint64_t *size)
  51      -{ return (0); }
  52      -
  53      -/*ARGSUSED*/
  54      -uint64_t
  55      -vdds_hv_niu_vr_get_rxmap(uint32_t cookie, uint64_t *dma_map)
  56      -{ return (0); }
  57      -
  58      -/*ARGSUSED*/
  59      -uint64_t
  60      -vdds_hv_niu_vr_get_txmap(uint32_t cookie, uint64_t *dma_map)
  61      -{ return (0); }
  62      -
  63      -/*ARGSUSED*/
  64      -uint64_t
  65      -vdds_hv_niu_vrtx_set_ino(uint32_t cookie, uint64_t vch_idx, uint32_t ino)
  66      -{ return (0); }
  67      -
  68      -/*ARGSUSED*/
  69      -uint64_t
  70      -vdds_hv_niu_vrrx_set_ino(uint32_t cookie, uint64_t vch_idx, uint32_t ino)
  71      -{ return (0); }
  72      -
  73      -#else   /* lint || __lint */
  74      -
  75   44          /*
  76   45           * vdds_hv_niu_vr_getinfo(uint32_t cookie, uint64_t &real_start,
  77   46           *     uint64_t &size)
  78   47           */
  79   48          ENTRY(vdds_hv_niu_vr_getinfo)
  80   49          mov     %o1, %g1
  81   50          mov     %o2, %g2
  82   51          mov     N2NIU_VR_GETINFO, %o5
  83   52          ta      FAST_TRAP
  84   53          stx     %o1, [%g1]
↓ open down ↓ 36 lines elided ↑ open up ↑
 121   90          /*
 122   91           * vdds_hv_niu_vrtx_set_ino(uint32_t cookie, uint64_t vch_idx, uint32_t ino)
 123   92           */
 124   93          ENTRY(vdds_hv_niu_vrtx_set_ino)
 125   94          mov     N2NIU_VRTX_SET_INO, %o5
 126   95          ta      FAST_TRAP
 127   96          retl
 128   97          nop
 129   98          SET_SIZE(vdds_hv_niu_vrtx_set_ino)
 130   99  
 131      -#endif  /* lint || __lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX