Print this page
de-linting of .s files
*** 21,35 ****
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
- #if !defined(lint)
#include "assym.h"
- #endif
/*
* Niagara processor specific assembly routines
*/
--- 21,31 ----
*** 40,62 ****
#include <sys/niagararegs.h>
#include <sys/machasi.h>
#include <sys/niagaraasi.h>
#include <vm/hat_sfmmu.h>
- #if defined(lint)
- /*ARGSUSED*/
- uint64_t
- hv_niagara_getperf(uint64_t perfreg, uint64_t *datap)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niagara_setperf(uint64_t perfreg, uint64_t data)
- { return (0); }
-
- #else /* lint */
-
/*
* hv_niagara_getperf(uint64_t perfreg, uint64_t *datap)
*/
ENTRY(hv_niagara_getperf)
mov %o1, %o4 ! save datap
--- 36,45 ----
*** 77,107 ****
ta FAST_TRAP
retl
nop
SET_SIZE(hv_niagara_setperf)
- #endif /* !lint */
-
- #if defined (lint)
- /*
- * Invalidate all of the entries within the TSB, by setting the inv bit
- * in the tte_tag field of each tsbe.
- *
- * We take advantage of the fact that the TSBs are page aligned and a
- * multiple of PAGESIZE to use ASI_BLK_INIT_xxx ASI.
- *
- * See TSB_LOCK_ENTRY and the miss handlers for how this works in practice
- * (in short, we set all bits in the upper word of the tag, and we give the
- * invalid bit precedence over other tag bits in both places).
- */
- /*ARGSUSED*/
- void
- cpu_inv_tsb(caddr_t tsb_base, uint_t tsb_bytes)
- {}
-
- #else /* lint */
-
ENTRY(cpu_inv_tsb)
/*
* The following code assumes that the tsb_base (%o0) is 256 bytes
* aligned and the tsb_bytes count is multiple of 256 bytes.
--- 60,69 ----
*** 139,163 ****
membar #Sync
retl
nop
SET_SIZE(cpu_inv_tsb)
- #endif /* lint */
- #if defined(lint)
- /*ARGSUSED*/
- uint64_t
- hv_niagara_mmustat_conf(uint64_t buf, uint64_t *prev_buf)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niagara_mmustat_info(uint64_t *buf)
- { return (0); }
-
- #else /* lint */
-
/*
* hv_niagara_mmustat_conf(uint64_t buf, uint64_t *prev_buf)
*/
ENTRY(hv_niagara_mmustat_conf)
mov %o1, %o4 ! save prev_buf
--- 101,111 ----
*** 176,181 ****
ta FAST_TRAP
retl
stx %o1, [%o4]
SET_SIZE(hv_niagara_mmustat_info)
- #endif /* !lint */
--- 124,128 ----