cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw/*
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * CDDL HEADER START
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw *
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * The contents of this file are subject to the terms of the
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * Common Development and Distribution License (the "License").
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * You may not use this file except in compliance with the License.
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw *
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * or http://www.opensolaris.org/os/licensing.
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * See the License for the specific language governing permissions
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * and limitations under the License.
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw *
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * When distributing Covered Code, include this CDDL HEADER in each
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * If applicable, add the following below this CDDL HEADER, with the
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * fields enclosed by brackets "[]" replaced with your own identifying
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * information: Portions Copyright [yyyy] [name of copyright owner]
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw *
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * CDDL HEADER END
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw */
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw/*
07d06da50d310a325b457d6330165aebab1e0064Surya Prakki * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * Use is subject to license terms.
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw */
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw/*
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw * All Rights Reserved, Copyright (c) FUJITSU LIMITED 2006
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw */
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#if defined(lint)
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#include <sys/types.h>
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#else
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#include <sys/asm_linkage.h>
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#endif /* lint */
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#if defined(lint)
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw/* ARGSUSED */
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hywvoid
07d06da50d310a325b457d6330165aebab1e0064Surya Prakkimc_prefetch(caddr_t va)
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw{ return; }
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#else
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw /* issue a strong prefetch to cause MI error */
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw ENTRY(mc_prefetch)
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw prefetch [%o0],0x16
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw retl
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw nop
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw SET_SIZE(mc_prefetch)
cfb9e06246189a19958ae6c1a6f3bcb07f06c191hyw#endif