Print this page
de-linting of .s files
@@ -24,33 +24,15 @@
* Use is subject to license terms.
*
* Assembly code support for Memory Control driver
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#if !defined(lint)
#include "assym.h"
#include <sys/mc-us3.h>
-#endif /* lint */
#include <sys/asm_linkage.h>
-#if defined(lint)
-
-/*
- * routine to get value of Memory Control Registers
- */
-/* ARGSUSED */
-uint64_t
-get_mcr(int offset)
-{
- return ((uint64_t)0);
-}
-
-#else /* lint */
-
! This routine is to get content of Memory Control Registers
ENTRY(get_mcr)
! input
! %i0 is the VA for Memory Control Registers
!
@@ -57,6 +39,5 @@
ldxa [%o0]ASI_MCU_CTRL, %o0
retl
nop
SET_SIZE(get_mcr)
-#endif /* lint */