Print this page
de-linting of .s files
*** 22,33 ****
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/asm_linkage.h>
#include <sys/vtrace.h>
#include <sys/machthread.h>
--- 22,31 ----
*** 34,46 ****
#include <sys/clock.h>
#include <sys/asi.h>
#include <sys/fsr.h>
#include <sys/privregs.h>
- #if !defined(lint)
#include "assym.h"
- #endif /* lint */
#define FP_USED 1
#define LOFAULT_SET 2
/*
--- 32,42 ----
*** 58,81 ****
* Zero a block of storage.
*
* uzero is used by the kernel to zero a block in user address space.
*/
- #if defined(lint)
-
- /* ARGSUSED */
- int
- kzero(void *addr, size_t count)
- { return(0); }
-
- /* ARGSUSED */
- void
- uzero(void *addr, size_t count)
- {}
-
- #else /* lint */
-
ENTRY(uzero)
!
! Set a new lo_fault handler only if we came in with one
! already specified.
!
--- 54,63 ----
*** 152,176 ****
jmp %o5 ! goto real handler
nop
SET_SIZE(kzero)
SET_SIZE(uzero)
- #endif /* lint */
-
/*
* Zero a block of storage.
*/
- #if defined(lint)
-
- /* ARGSUSED */
- void
- bzero(void *addr, size_t count)
- {}
-
- #else /* lint */
-
ENTRY(bzero)
wr %g0, ASI_P, %asi
ldn [THREAD_REG + T_LOFAULT], %o5 ! save old vector
tst %o5
--- 134,147 ----
*** 472,477 ****
1:
retl
clr %o0 ! return (0)
SET_SIZE(bzero)
- #endif /* lint */
--- 443,447 ----