On Thu, 29 Nov 2007, Mladen Nikitovic wrote:

> Hi,
>
> I'm wondering if there are implementations in opensolaris that let you flush 
> the instruction and data caches as well as the tib's?
>
> I've found doflush so far, but it seems that it only flushes i-caches and 
> that you have to know which addresses are currently in the icache in order to 
> flush it.

That's a very platform-specific question.

Or do you mean "does OpenSolaris have a committed/documented, kernel- 
and/or userland-callable function that does ..." ?

In which case the answer is no, you'll probably need architecture-specific 
assembly.

(the hypervisors, both xVM and sun4v, will have hypercall equivalents for 
the operation, but these won't be callable from userland programs either)

FrankH.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to