mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
base-sel4: implement clean cache operations
This commit uses the seL4_BenchmarkFlushCaches syscall to partly implement cache maintaince for this kernel. Ref genodelabs/genode#4651
This commit is contained in:
parent
a670c2a674
commit
d8d9f94075
@ -14,15 +14,19 @@
|
||||
#include <base/log.h>
|
||||
#include <cpu/cache.h>
|
||||
|
||||
/* seL4 includes */
|
||||
#include <sel4/arch/syscalls.h>
|
||||
|
||||
|
||||
void Genode::cache_coherent(Genode::addr_t, Genode::size_t)
|
||||
{
|
||||
error(__func__, " not implemented for this kernel!");
|
||||
seL4_BenchmarkFlushCaches();
|
||||
}
|
||||
|
||||
|
||||
void Genode::cache_clean_invalidate_data(Genode::addr_t, Genode::size_t)
|
||||
{
|
||||
error(__func__, " not implemented for this kernel!");
|
||||
seL4_BenchmarkFlushCaches();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user