1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-17 07:21:44 +02:00

(flush_cache): Move to flush-cache.S.

(Logical change 1.68)
This commit is contained in:
mostang.com!davidm 2003-03-27 04:29:07 +00:00
parent feaf317bf2
commit 0e2f4866f2

View file

@ -67,20 +67,7 @@ struct fdesc
# define get_gp(fdesc) (0)
#endif
static void
flush_cache (void *addr, unsigned long len)
{
#ifdef __ia64__
void *end = (char *) addr + len;
while (addr < end)
{
asm volatile ("fc %0" :: "r"(addr));
addr = (char *) addr + 32;
}
asm volatile (";;sync.i;;srlz.i;;");
#endif
}
extern void flush_cache (void *addr, size_t len);
void
template (int i, template_t self,