Author: kib
Date: Sat Oct 25 21:01:50 2014
New Revision: 273647
URL: https://svnweb.freebsd.org/changeset/base/273647

Log:
  Set the caching mode for the usermode mapping of the HPET registers
  page to uncached.
  
  Reviewed by:  rpaulo
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Modified:
  head/sys/dev/acpica/acpi_hpet.c

Modified: head/sys/dev/acpica/acpi_hpet.c
==============================================================================
--- head/sys/dev/acpica/acpi_hpet.c     Sat Oct 25 20:42:47 2014        
(r273646)
+++ head/sys/dev/acpica/acpi_hpet.c     Sat Oct 25 21:01:50 2014        
(r273647)
@@ -356,6 +356,7 @@ hpet_mmap(struct cdev *cdev, vm_ooffset_
        if (!sc->mmap_allow_write && (nprot & PROT_WRITE))
                return (EPERM);
        *paddr = rman_get_start(sc->mem_res) + offset;
+       *memattr = VM_MEMATTR_UNCACHEABLE;
 
        return (0);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to