diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-21 10:09:27 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-21 10:09:27 +0000 |
commit | 0b358c6489022e429d726588f4c29aec5893253c (patch) | |
tree | fd4b50279977cd0c0b101a08de67f5182c65d8b3 /sys/ia64/include/ia64_cpu.h | |
parent | 942ad86085c0bda43bf352c29dff443fc6489a96 (diff) | |
download | FreeBSD-src-0b358c6489022e429d726588f4c29aec5893253c.zip FreeBSD-src-0b358c6489022e429d726588f4c29aec5893253c.tar.gz |
Add ia64_fc().
Diffstat (limited to 'sys/ia64/include/ia64_cpu.h')
-rw-r--r-- | sys/ia64/include/ia64_cpu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/ia64/include/ia64_cpu.h b/sys/ia64/include/ia64_cpu.h index 1e6c320..1a550af 100644 --- a/sys/ia64/include/ia64_cpu.h +++ b/sys/ia64/include/ia64_cpu.h @@ -158,6 +158,15 @@ ia64_mf_a(void) } /* + * Flush Cache. + */ +static __inline void +ia64_fc(u_int64_t va) +{ + __asm __volatile("fc %0" :: "r"(va)); +} + +/* * Calculate address in VHPT for va. */ static __inline u_int64_t |