Print this page
de-linting of .s files

*** 22,46 **** /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - #pragma ident "%Z%%M% %I% %E% SMI" - /* * This file is through cpp before being used as * an inline. It contains support routines used * only by DR for the copy-rename sequence. */ - #if defined(lint) - #include <sys/types.h> - #include <sys/sbd_ioctl.h> - #include <sys/sbdp_priv.h> - #else #include "assym.h" - #endif /* lint */ #include <sys/asm_linkage.h> #include <sys/param.h> #include <sys/privregs.h> #include <sys/machasi.h> --- 22,38 ----
*** 56,67 **** #include <sys/asi.h> #include <sys/fsr.h> #include <sys/cheetahregs.h> #include <sys/cheetahasm.h> - #ifndef lint - /* * Invalidating the E$ tags is only needed on Cheetah following * the manual displacement flush. The internal flush ASI used by * Cheetahplus, Jaguar, and Panther will invalidate the cache lines. * --- 48,57 ----
*** 107,127 **** 1: ;\ set CH_ICACHE_SIZE, reg1 ;\ set CH_ICACHE_LSIZE, reg2 ;\ 2: - #endif /* !lint */ - - #if defined(lint) - - /*ARGSUSED*/ - void - sbdp_shutdown_asm(sbdp_shutdown_t *shutshown) - {} - - #else /* lint */ - ENTRY_NP(sbdp_shutdown_asm) ! %o0 = address of sbdp_shutdown_t structure passed in ! ! struct sbdp_shutdown { ! uint64_t estack; -> %o0 --- 97,106 ----
*** 213,247 **** .skip 2048 sbdp_shutdown_asm_end: - #endif /* lint */ - - #if defined(lint) - - #else /* lint */ #include "assym.h" - #endif /* lint */ #define TT_HSM 0x99 - #if defined(lint) - /* ARGSUSED */ - void - sgdr_mem_blkcopy(caddr_t src, caddr_t dst, u_int linecount, u_int linesize) - {} - - void - stdmcdecode(uint64_t physaddr, uint64_t value) - { - physaddr = physaddr; - value = value; - } - - #else /* !lint */ ! ! Move a single cache line of data. Survive UE and CE on the read ! ! i0 = src va ! i1 = dst va --- 192,206 ----
*** 320,325 **** membar #Sync retl wrpr %g0, %o4, %pstate ! restore earlier pstate register value SET_SIZE(stdmcdecode) - #endif /* lint */ --- 279,283 ----