From owner-freebsd-hackers Mon Oct 23 6:24:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by hub.freebsd.org (Postfix) with ESMTP id CF60D37B4C5 for ; Mon, 23 Oct 2000 06:24:16 -0700 (PDT) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) by numeri.campus.luth.se (8.9.3/8.9.3) with ESMTP id PAA07547; Mon, 23 Oct 2000 15:26:22 +0200 (CEST) (envelope-from k@numeri.campus.luth.se) Message-Id: <200010231326.PAA07547@numeri.campus.luth.se> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Christopher Harrer" Cc: "Freebsd-Hackers" Subject: Re: Cache Questions In-Reply-To: Your message of "Mon, 23 Oct 2000 08:33:04 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 23 Oct 2000 15:26:22 +0200 From: Johan Karlsson Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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