Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 15:26:22 +0200
From:      Johan Karlsson <k@numeri.campus.luth.se>
To:        "Christopher Harrer" <charrer@alacritech.com>
Cc:        "Freebsd-Hackers" <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Cache Questions 
Message-ID:  <200010231326.PAA07547@numeri.campus.luth.se>
In-Reply-To: Your message of "Mon, 23 Oct 2000 08:33:04 EDT." <POELKPJGDHAPIPMEMHGAGEHOCIAA.charrer@alacritech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 23 Oct 2000 08:33:04 EDT, "Christopher Harrer" wrote:
> Hello All,
> 
> We're working on a driver for a PCI card, we're currently running into a
> problem that's symptomatic of a cache coherency problem.  We have a area of
> memory that we manipulate and pass a physical address to our card.  In other
> OS's (Linux, NT), before we manipulate this memory area, we mark the area as
> non-cachable.  Are there similar operations/system calls we can use in
> FreeBSD?  Are there any FAQ's, Docs or man-pages that explain memory
> usage/attributes?

See (in 4-Stabel and current)
/usr/include/sys/memrange.h
which has functions for setting 
memory regions uncachable.

/Johan K


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010231326.PAA07547>