summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64/common/libia64.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-06-07 00:39:15 +0000
committermarcel <marcel@FreeBSD.org>2011-06-07 00:39:15 +0000
commita37f8a9db40bc9fc463b113180b76dceb3589e73 (patch)
treeea099e71491d5de6dd226c929c8ef070d188b783 /sys/boot/ia64/common/libia64.h
parentabeb826d0315f8dd4f0788338535b990b453adb6 (diff)
downloadFreeBSD-src-a37f8a9db40bc9fc463b113180b76dceb3589e73.zip
FreeBSD-src-a37f8a9db40bc9fc463b113180b76dceb3589e73.tar.gz
Add ia64_sync_icache() and use it to make the I-cache coherent
after loading the kernel's text segment. The kernel will do the same for loaded modules, so don't worry about that.
Diffstat (limited to 'sys/boot/ia64/common/libia64.h')
-rw-r--r--sys/boot/ia64/common/libia64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/ia64/common/libia64.h b/sys/boot/ia64/common/libia64.h
index 29912f5..4bc7638 100644
--- a/sys/boot/ia64/common/libia64.h
+++ b/sys/boot/ia64/common/libia64.h
@@ -64,6 +64,7 @@ void ia64_loadseg(void *, void *, uint64_t);
ssize_t ia64_copyin(const void *, vm_offset_t, size_t);
ssize_t ia64_copyout(vm_offset_t, void *, size_t);
+void ia64_sync_icache(vm_offset_t, size_t);
ssize_t ia64_readin(int, vm_offset_t, size_t);
void *ia64_va2pa(vm_offset_t, size_t *);
OpenPOWER on IntegriCloud