amd64: add cache flushing mechanism

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-15 00:27:15 -04:00
commit f0337ee0fd
4 changed files with 34 additions and 1 deletions

9
include/kernel/cache.h Normal file
View 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 */