Add missing cache.c

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-01 15:53:31 +01:00
parent 52f65ea0bc
commit 6f49d0aacb
2 changed files with 11 additions and 0 deletions

View file

@ -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;

View 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);
}