Add missing cache.c
This commit is contained in:
parent
52f65ea0bc
commit
6f49d0aacb
2 changed files with 11 additions and 0 deletions
|
@ -158,6 +158,7 @@ kernel = {
|
|||
emu = kern/emu/misc.c;
|
||||
emu = kern/emu/mm.c;
|
||||
emu = kern/emu/time.c;
|
||||
emu = kern/emu/cache.c;
|
||||
|
||||
videoinkernel = lib/arg.c;
|
||||
videoinkernel = term/gfxterm.c;
|
||||
|
|
10
grub-core/kern/emu/cache.c
Normal file
10
grub-core/kern/emu/cache.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
#include <grub/cache.h>
|
||||
|
||||
void __clear_cache (char *beg, char *end);
|
||||
|
||||
void
|
||||
grub_arch_sync_caches (void *address, grub_size_t len)
|
||||
{
|
||||
__clear_cache (address, (char *) address + len);
|
||||
}
|
Loading…
Reference in a new issue