Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 19:15:36 +0000
From:      Miod Vallat <miod@online.fr>
To:        sson <sson@FreeBSD.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: [RFC] Cache control from user land (patch)
Message-ID:  <20150113191536.GA29344@tazenat.gentiane.org>
In-Reply-To: <1421175994697-5980362.post@n5.nabble.com>
References:  <1421175994697-5980362.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi all:
> 
> Below is a link to a patch that provides a sysarch() so that cache lines may
> be invalidated from userspace (via the sysarch() system call).   For
> convenience mips_cacheflush() is provided in the machine/cachectl.h header
> file:
> 
>    int mips_cacheflush(void *addr, size_t nbytes, int whichcache);

Why not provide an IRIX-compatible cacheflush() and _flush_cache()
aliases? Many 3rd-party software expects them if defined(__mips__).

Miod



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