1*713Swesolows /* 2*713Swesolows * CDDL HEADER START 3*713Swesolows * 4*713Swesolows * The contents of this file are subject to the terms of the 5*713Swesolows * Common Development and Distribution License (the "License"). 6*713Swesolows * You may not use this file except in compliance with the License. 7*713Swesolows * 8*713Swesolows * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*713Swesolows * or http://www.opensolaris.org/os/licensing. 10*713Swesolows * See the License for the specific language governing permissions 11*713Swesolows * and limitations under the License. 12*713Swesolows * 13*713Swesolows * When distributing Covered Code, include this CDDL HEADER in each 14*713Swesolows * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*713Swesolows * If applicable, add the following below this CDDL HEADER, with the 16*713Swesolows * fields enclosed by brackets "[]" replaced with your own identifying 17*713Swesolows * information: Portions Copyright [yyyy] [name of copyright owner] 18*713Swesolows * 19*713Swesolows * CDDL HEADER END 20*713Swesolows */ 21*713Swesolows 22*713Swesolows /* 23*713Swesolows * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*713Swesolows * Use is subject to license terms. 25*713Swesolows */ 26*713Swesolows 27*713Swesolows #ifndef _ASM_SUNDDI_H 28*713Swesolows #define _ASM_SUNDDI_H 29*713Swesolows 30*713Swesolows #pragma ident "%Z%%M% %I% %E% SMI" 31*713Swesolows 32*713Swesolows #include <sys/types.h> 33*713Swesolows 34*713Swesolows #ifdef __cplusplus 35*713Swesolows extern "C" { 36*713Swesolows #endif 37*713Swesolows 38*713Swesolows #if !defined(__lint) && defined(__GNUC__) 39*713Swesolows 40*713Swesolows #if defined(_BOOT) 41*713Swesolows 42*713Swesolows extern __inline__ void sync_instruction_memory(caddr_t v,size_t len)43*713Swesolowssync_instruction_memory(caddr_t v, size_t len) 44*713Swesolows { 45*713Swesolows __asm__ __volatile__("nop"); 46*713Swesolows } 47*713Swesolows 48*713Swesolows #endif /* _BOOT */ 49*713Swesolows 50*713Swesolows #endif /* !__lint && __GNUC__ */ 51*713Swesolows 52*713Swesolows #ifdef __cplusplus 53*713Swesolows } 54*713Swesolows #endif 55*713Swesolows 56*713Swesolows #endif /* _ASM_SUNDDI_H */ 57