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"
-
/*
* Assembly language support for px driver
*/
#include <sys/asm_linkage.h>
--- 22,31 ----
*** 34,57 ****
#include <sys/machthread.h>
#include <sys/privregs.h>
/*LINTLIBRARY*/
- #if defined(lint)
-
- /*ARGSUSED*/
- int
- px_phys_peek_4u(size_t size, uint64_t paddr, uint64_t *value, int type)
- { return (0); }
-
- /*ARGSUSED*/
- int
- px_phys_poke_4u(size_t size, uint64_t paddr, uint64_t *value, int type)
- { return (0); }
-
- #else /* lint */
-
! px_phys_peek_4u: Do physical address read.
!
! %o0 is size in bytes - Must be 8, 4, 2 or 1. Invalid sizes default to 1.
! %o1 is address to read
! %o2 is address to save value into
--- 32,41 ----
*** 165,170 ****
membar #Sync
retl
mov %g0, %o0
SET_SIZE(px_phys_poke_4u)
- #endif
--- 149,153 ----