diff options
author | marcel <marcel@FreeBSD.org> | 2014-07-02 23:57:55 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-07-02 23:57:55 +0000 |
commit | 780c455ef488570c16e2b029e6c20d597c612e43 (patch) | |
tree | 850958e69b58dffd8259bafd695d0496e480d40d /sys/ia64/ia64/machdep.c | |
parent | 67e9cbff48903898d61c28c885d0ae3c2bf633d5 (diff) | |
download | FreeBSD-src-780c455ef488570c16e2b029e6c20d597c612e43.zip FreeBSD-src-780c455ef488570c16e2b029e6c20d597c612e43.tar.gz |
MFC r263380 & r268185: Add KTR events for the PMAP interface functions.
Diffstat (limited to 'sys/ia64/ia64/machdep.c')
-rw-r--r-- | sys/ia64/ia64/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index 814517a..bccfcd1 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -133,6 +133,7 @@ SYSCTL_UINT(_hw_freq, OID_AUTO, itc, CTLFLAG_RD, &itc_freq, 0, "ITC frequency"); int cold = 1; +int unmapped_buf_allowed = 0; struct bootinfo *bootinfo; @@ -746,8 +747,8 @@ ia64_init(void) mdlen = md->md_pages * EFI_PAGE_SIZE; switch (md->md_type) { case EFI_MD_TYPE_IOPORT: - ia64_port_base = (uintptr_t)pmap_mapdev(md->md_phys, - mdlen); + ia64_port_base = pmap_mapdev_priv(md->md_phys, + mdlen, VM_MEMATTR_UNCACHEABLE); break; case EFI_MD_TYPE_PALCODE: ia64_pal_base = md->md_phys; |