Print this page
de-linting of .s files
*** 22,38 ****
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
- #if defined(lint)
- #include <sys/types.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,32 ----
*** 47,74 ****
#include <sys/clock.h>
#include <sys/asi.h>
#include <sys/fsr.h>
#include <sys/cheetahregs.h>
- #if defined(lint)
-
- /* ARGSUSED */
- uint64_t
- lddmcdecode(uint64_t physaddr)
- {
- return (0x0ull);
- }
-
- /* ARGSUSED */
- uint64_t
- lddsafaddr(uint64_t physaddr)
- {
- return (0x0ull);
- }
-
- #else /* !lint */
-
!
! Load the safari address for a specific cpu
!
!
ENTRY(lddsafaddr)
--- 41,50 ----
*** 91,96 ****
ldxa [%o0]ASI_MC_DECODE, %o0
retl
wrpr %g0, %o4, %pstate ! restore earlier pstate register value
SET_SIZE(lddmcdecode)
- #endif /* lint */
--- 67,71 ----