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 physical big/little endian access of pcitool
* in the PCI drivers.
*/
--- 22,31 ----
*** 35,55 ****
#include <sys/machthread.h>
#include <sys/privregs.h>
/*LINTLIBRARY*/
- #if defined(lint)
-
- /*ARGSUSED*/
- int pci_do_phys_peek(size_t size, uint64_t paddr, uint64_t *value, int type)
- { return (0); }
-
- int pci_do_phys_poke(size_t size, uint64_t paddr, uint64_t *value, int type)
- { return (0); }
-
- #else /* lint */
-
! pci_do_phys_peek: 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
--- 33,42 ----
*** 162,167 ****
membar #Sync
retl
mov %g0, %o0
SET_SIZE(pci_do_phys_poke)
- #endif
--- 149,153 ----