svn commit: r273647 - head/sys/dev/acpica

Rui Paulo rpaulo at me.com
Sun Oct 26 07:09:00 UTC 2014


On Oct 25, 2014, at 14:01, Konstantin Belousov <kib at FreeBSD.org> wrote:
> 
> 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);
> }

Thanks!

--
Rui Paulo





More information about the svn-src-all mailing list