Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/io/pciex/pci_cfgacc_asm.s
          +++ new/usr/src/uts/sun4v/io/pciex/pci_cfgacc_asm.s
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28   * Assembly language support for pci config space access on sun4v
  29   29   */
  30   30  
  31   31  #include <sys/asm_linkage.h>
  32   32  #include <sys/hypervisor_api.h>
  33   33  #include <sys/dditypes.h>
  34   34  #include <sys/pci_cfgacc.h>
  35   35  #include <io/px/px_ioapi.h>
  36   36  #include <io/px/px_lib4v.h>
  37   37  
  38      -#if defined(lint) || defined(__lint)
  39      -
  40      -/*ARGSUSED*/
  41      -uint64_t
  42      -hvio_config_get(devhandle_t dev_hdl, pci_device_t bdf, pci_config_offset_t off, 
  43      -    pci_config_size_t size, pci_cfg_data_t *data_p)
  44      -{ return (0); }
  45      -
  46      -/*ARGSUSED*/
  47      -uint64_t
  48      -hvio_config_put(devhandle_t dev_hdl, pci_device_t bdf, pci_config_offset_t off, 
  49      -    pci_config_size_t size, pci_cfg_data_t data)
  50      -{ return (0); }
  51      -
  52      -#else   /* lint || __lint */
  53      -
  54   38          /*
  55   39           * arg0 - devhandle
  56   40           * arg1 - pci_device
  57   41           * arg2 - pci_config_offset
  58   42           * arg3 - pci_config_size (1, 2 or 4 byte)
  59   43           *
  60   44           * ret0 - status
  61   45           * ret1 - error_flag
  62   46           * ret2 - pci_cfg_data
  63   47           */
↓ open down ↓ 19 lines elided ↑ open up ↑
  83   67           * ret1 - error_flag
  84   68           */
  85   69          ENTRY(hvio_config_put)
  86   70          mov     HVIO_CONFIG_PUT, %o5
  87   71          ta      FAST_TRAP
  88   72          sllx    %o1, 32, %o1
  89   73          or      %o0, %o1, %o0
  90   74          retl
  91   75          nop
  92   76          SET_SIZE(hvio_config_put)
  93      -#endif
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX