L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
cache.h
Go to the documentation of this file.
1
5/*
6 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
7 * economic rights: Technische Universität Dresden (Germany)
8 *
9 * License: see LICENSE.spdx (in this directory or the directories above)
10 */
11#ifndef __L4SYS__INCLUDE__ARCH_AMD64__CACHE_H__
12#define __L4SYS__INCLUDE__ARCH_AMD64__CACHE_H__
13
14L4_INLINE int
15l4_cache_clean_data(unsigned long start,
16 unsigned long end) L4_NOTHROW
17{
18 (void)start; (void)end;
19 return 0;
20}
21
22L4_INLINE int
23l4_cache_flush_data(unsigned long start,
24 unsigned long end) L4_NOTHROW
25{
26 (void)start; (void)end;
27 return 0;
28}
29
30L4_INLINE int
31l4_cache_inv_data(unsigned long start,
32 unsigned long end) L4_NOTHROW
33{
34 (void)start; (void)end;
35 return 0;
36}
37
38L4_INLINE int
39l4_cache_coherent(unsigned long start,
40 unsigned long end) L4_NOTHROW
41{
42 (void)start; (void)end;
43 return 0;
44}
45
46L4_INLINE int
47l4_cache_dma_coherent(unsigned long start,
48 unsigned long end) L4_NOTHROW
49{
50 (void)start; (void)end;
51 return 0;
52}
53
54L4_INLINE int
56{
57 return 0;
58}
59
60#endif /* ! __L4SYS__INCLUDE__ARCH_AMD64__CACHE_H__ */
int l4_cache_dma_coherent(unsigned long start, unsigned long end) L4_NOTHROW
Make memory coherent for use with external memory; writes back to PoC.
Definition cache.h:47
int l4_cache_dma_coherent_full(void) L4_NOTHROW
Make memory coherent for use with external memory; writes back to PoC.
Definition cache.h:55
int l4_cache_flush_data(unsigned long start, unsigned long end) L4_NOTHROW
Cache flush a range; writes back to PoC.
Definition cache.h:23
int l4_cache_coherent(unsigned long start, unsigned long end) L4_NOTHROW
Make memory coherent between I-cache and D-cache; writes back to PoU.
Definition cache.h:39
int l4_cache_clean_data(unsigned long start, unsigned long end) L4_NOTHROW
Cache clean a range in D-cache; writes back to PoC.
Definition cache.h:15
int l4_cache_inv_data(unsigned long start, unsigned long end) L4_NOTHROW
Cache invalidate a range; might write back to PoC.
Definition cache.h:31
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
Definition compiler.h:161
#define L4_INLINE
L4 Inline function attribute.
Definition compiler.h:51