amd64: add cache flushing mechanism
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
86091c6acb
commit
f0337ee0fd
4 changed files with 34 additions and 1 deletions
9
include/kernel/cache.h
Normal file
9
include/kernel/cache.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _CACHE_H_
|
||||
#define _CACHE_H_
|
||||
|
||||
#include <kernel/types.h>
|
||||
|
||||
void cache_flush_range(void *addr, size_t len);
|
||||
|
||||
#endif /* _CACHE_H */
|
||||
Loading…
Reference in a new issue