xref: /titanic_41/usr/src/uts/sun4u/opl/ml/mc-opl_asm.s (revision 07d06da50d310a325b457d6330165aebab1e0064)
1cfb9e062Shyw/*
2cfb9e062Shyw * CDDL HEADER START
3cfb9e062Shyw *
4cfb9e062Shyw * The contents of this file are subject to the terms of the
5cfb9e062Shyw * Common Development and Distribution License (the "License").
6cfb9e062Shyw * You may not use this file except in compliance with the License.
7cfb9e062Shyw *
8cfb9e062Shyw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9cfb9e062Shyw * or http://www.opensolaris.org/os/licensing.
10cfb9e062Shyw * See the License for the specific language governing permissions
11cfb9e062Shyw * and limitations under the License.
12cfb9e062Shyw *
13cfb9e062Shyw * When distributing Covered Code, include this CDDL HEADER in each
14cfb9e062Shyw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15cfb9e062Shyw * If applicable, add the following below this CDDL HEADER, with the
16cfb9e062Shyw * fields enclosed by brackets "[]" replaced with your own identifying
17cfb9e062Shyw * information: Portions Copyright [yyyy] [name of copyright owner]
18cfb9e062Shyw *
19cfb9e062Shyw * CDDL HEADER END
20cfb9e062Shyw */
21cfb9e062Shyw/*
22*07d06da5SSurya Prakki * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23cfb9e062Shyw * Use is subject to license terms.
24cfb9e062Shyw */
25cfb9e062Shyw/*
26cfb9e062Shyw * All Rights Reserved, Copyright (c) FUJITSU LIMITED 2006
27cfb9e062Shyw */
28cfb9e062Shyw
29cfb9e062Shyw#if defined(lint)
30cfb9e062Shyw#include <sys/types.h>
31cfb9e062Shyw#else
32cfb9e062Shyw#include <sys/asm_linkage.h>
33cfb9e062Shyw#endif	/* lint */
34cfb9e062Shyw
35cfb9e062Shyw#if defined(lint)
36cfb9e062Shyw
37cfb9e062Shyw/* ARGSUSED */
38cfb9e062Shywvoid
39*07d06da5SSurya Prakkimc_prefetch(caddr_t va)
40cfb9e062Shyw{ return; }
41cfb9e062Shyw
42cfb9e062Shyw#else
43cfb9e062Shyw	/* issue a strong prefetch to cause MI error */
44cfb9e062Shyw	ENTRY(mc_prefetch)
45cfb9e062Shyw	prefetch	[%o0],0x16
46cfb9e062Shyw	retl
47cfb9e062Shyw	nop
48cfb9e062Shyw	SET_SIZE(mc_prefetch)
49cfb9e062Shyw#endif
50