Print this page
de-linting of .s files
*** 22,33 ****
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* Hypervisor calls called by niu leaf driver.
*/
#include <sys/asm_linkage.h>
--- 22,31 ----
*** 41,79 ****
#define N2NIU_VR_GET_TX_MAP 0x14e
#define N2NIU_VRRX_SET_INO 0x150
#define N2NIU_VRTX_SET_INO 0x151
- #if defined(lint) || defined(__lint)
-
- /*ARGSUSED*/
- uint64_t
- vdds_hv_niu_vr_getinfo(uint32_t cookie, uint64_t *real_start, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- vdds_hv_niu_vr_get_rxmap(uint32_t cookie, uint64_t *dma_map)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- vdds_hv_niu_vr_get_txmap(uint32_t cookie, uint64_t *dma_map)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- vdds_hv_niu_vrtx_set_ino(uint32_t cookie, uint64_t vch_idx, uint32_t ino)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- vdds_hv_niu_vrrx_set_ino(uint32_t cookie, uint64_t vch_idx, uint32_t ino)
- { return (0); }
-
- #else /* lint || __lint */
-
/*
* vdds_hv_niu_vr_getinfo(uint32_t cookie, uint64_t &real_start,
* uint64_t &size)
*/
ENTRY(vdds_hv_niu_vr_getinfo)
--- 39,48 ----
*** 126,131 ****
ta FAST_TRAP
retl
nop
SET_SIZE(vdds_hv_niu_vrtx_set_ino)
- #endif /* lint || __lint */
--- 95,99 ----