Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/io/glvc/glvc_hcall.s
          +++ new/usr/src/uts/sun4v/io/glvc/glvc_hcall.s
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27      -
  28   26  /*
  29   27   * Hypervisor calls called by glvc driver.
  30   28  */
  31   29  
  32   30  #include <sys/asm_linkage.h>
  33   31  #include <sys/hypervisor_api.h>
  34   32  #include <sys/glvc.h>
  35   33  
  36      -#if defined(lint) || defined(__lint)
  37      -
  38      -/*ARGSUSED*/
  39      -uint64_t
  40      -hv_service_recv(uint64_t s_id, uint64_t buf_pa, uint64_t size,
  41      -    uint64_t *recv_bytes)
  42      -{ return (0); }
  43      -
  44      -/*ARGSUSED*/
  45      -uint64_t
  46      -hv_service_send(uint64_t s_id, uint64_t buf_pa, uint64_t size,
  47      -    uint64_t *send_bytes)
  48      -{ return (0); }
  49      -
  50      -/*ARGSUSED*/
  51      -uint64_t
  52      -hv_service_getstatus(uint64_t s_id, uint64_t *vreg)
  53      -{ return (0); }
  54      -
  55      -/*ARGSUSED*/
  56      -uint64_t
  57      -hv_service_setstatus(uint64_t s_id, uint64_t bits)
  58      -{ return (0); }
  59      -
  60      -/*ARGSUSED*/
  61      -uint64_t
  62      -hv_service_clrstatus(uint64_t s_id, uint64_t bits)
  63      -{ return (0); }
  64      -
  65      -#else   /* lint || __lint */
  66      -
  67   34          /*
  68   35           * hv_service_recv(uint64_t s_id, uint64_t buf_pa,
  69   36           *     uint64_t size, uint64_t *recv_bytes);
  70   37           */
  71   38          ENTRY(hv_service_recv)
  72   39          save    %sp, -SA(MINFRAME), %sp
  73   40          mov     %i0, %o0
  74   41          mov     %i1, %o1
  75   42          mov     %i2, %o2
  76   43          mov     %i3, %o3
↓ open down ↓ 54 lines elided ↑ open up ↑
 131   98          /*
 132   99           * hv_service_clrstatus(uint64_t s_id, uint64_t bits);
 133  100           */
 134  101          ENTRY(hv_service_clrstatus)
 135  102          mov     SVC_CLRSTATUS, %o5
 136  103          ta      FAST_TRAP
 137  104          retl
 138  105          nop
 139  106          SET_SIZE(hv_service_clrstatus)
 140  107  
 141      -#endif  /* lint || __lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX