mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 14:40:54 +00:00
sel4: reduce cache_invalidate_data warnings
Warn only once about the missing 'cache_invalidate_data' implementation to prevent the fec nic driver from spamming the log.
This commit is contained in:
parent
16e088a34e
commit
f79ff59619
@ -32,5 +32,10 @@ void Genode::cache_clean_invalidate_data(Genode::addr_t, Genode::size_t)
|
|||||||
|
|
||||||
void Genode::cache_invalidate_data(Genode::addr_t, Genode::size_t)
|
void Genode::cache_invalidate_data(Genode::addr_t, Genode::size_t)
|
||||||
{
|
{
|
||||||
error(__func__, " not implemented for this kernel!");
|
static bool warned_once;
|
||||||
|
|
||||||
|
if (!warned_once) {
|
||||||
|
error(__func__, " not implemented for this kernel!");
|
||||||
|
warned_once = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user