cache.h revision 302408
121308Sache/*- 221308Sache * Copyright (c) 2014 The FreeBSD Foundation 321308Sache * All rights reserved. 421308Sache * 521308Sache * This software was developed by Semihalf under 621308Sache * the sponsorship of the FreeBSD Foundation. 721308Sache * Redistribution and use in source and binary forms, with or without 821308Sache * modification, are permitted provided that the following conditions 921308Sache * are met: 1058310Sache * 1. Redistributions of source code must retain the above copyright 1121308Sache * notice, this list of conditions and the following disclaimer. 1221308Sache * 2. Redistributions in binary form must reproduce the above copyright 1321308Sache * notice, this list of conditions and the following disclaimer in the 1421308Sache * documentation and/or other materials provided with the distribution. 1521308Sache * 1621308Sache * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1721308Sache * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1821308Sache * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1921308Sache * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2021308Sache * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2158310Sache * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2221308Sache * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2321308Sache * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2421308Sache * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2521308Sache * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2621308Sache * SUCH DAMAGE. 2721308Sache * 2821308Sache * $FreeBSD: stable/11/sys/boot/arm64/libarm64/cache.h 281526 2015-04-14 13:55:01Z andrew $ 2921308Sache */ 3021308Sache 3121308Sache#ifndef _CACHE_H_ 3221308Sache#define _CACHE_H_ 3321308Sache 3421308Sache/* cache.c */ 3521308Sachevoid cpu_flush_dcache(const void *, size_t); 3621308Sachevoid cpu_inval_icache(const void *, size_t); 3721308Sache 3821308Sache#endif /* _CACHE_H_ */ 3921308Sache