Print this page
de-linting of .s files
*** 22,46 ****
/*
* Copyright 2003 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/machthread.h>
#include <sys/asi.h>
#include <sys/privregs.h>
#include <sys/spitregs.h>
- #if defined(lint)
-
- #else /* lint */
#include "assym.h"
- #endif /* lint */
/*
* fhc_shutdown_asm(u_longlong_t base, int size)
*
* Flush cpu E$ then shutdown.
--- 22,40 ----
*** 55,73 ****
* Rather it is copied to non-cacheable SRAM (hence the ..._end
* label at the bottom of the function). This implies that the
* function must be position independent code that doesn't reference
* cacheable real memory.
*/
- #if defined(lint)
- /*ARGSUSED*/
- void
- fhc_shutdown_asm(u_longlong_t base, int size)
- {}
-
- #else /* lint */
-
ENTRY(fhc_shutdown_asm)
! turn off errors (we'll be writing to non-existent memory)
stxa %g0, [%g0]ASI_ESTATE_ERR
membar #Sync ! SYNC
--- 49,59 ----
*** 92,97 ****
SET_SIZE(fhc_shutdown_asm)
.global fhc_shutdown_asm_end
fhc_shutdown_asm_end:
- #endif /* lint */
--- 78,82 ----