3 * \brief Cache functions
6 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
7 * economic rights: Technische Universität Dresden (Germany)
9 * This file is part of TUD:OS and distributed under the terms of the
10 * GNU General Public License 2.
11 * Please see the COPYING-GPL-2 file for details.
13 * As a special exception, you may use this file as part of a free software
14 * library without restriction. Specifically, if other files instantiate
15 * templates or use macros or inline functions from this file, or you compile
16 * this file and link it with other files to produce an executable, this
17 * file does not by itself cause the resulting executable to be covered by
18 * the GNU General Public License. This exception does not however
19 * invalidate any other reasons why the executable file might be covered by
20 * the GNU General Public License.
22 #ifndef __L4SYS__INCLUDE__ARCH_AMD64__CACHE_H__
23 #define __L4SYS__INCLUDE__ARCH_AMD64__CACHE_H__
25 #include_next <l4/sys/cache.h>
28 l4_cache_clean_data(unsigned long start,
29 unsigned long end) L4_NOTHROW
31 (void)start; (void)end;
35 l4_cache_flush_data(unsigned long start,
36 unsigned long end) L4_NOTHROW
38 (void)start; (void)end;
42 l4_cache_inv_data(unsigned long start,
43 unsigned long end) L4_NOTHROW
45 (void)start; (void)end;
49 l4_cache_coherent(unsigned long start,
50 unsigned long end) L4_NOTHROW
52 (void)start; (void)end;
56 l4_cache_dma_coherent(unsigned long start,
57 unsigned long end) L4_NOTHROW
59 (void)start; (void)end;
63 l4_cache_dma_coherent_full(void) L4_NOTHROW
67 #endif /* ! __L4SYS__INCLUDE__ARCH_AMD64__CACHE_H__ */