[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] little feed-back from the libre softawre meeting



On Sun, Jul 14, 2002 at 08:48:44PM +0200, Christophe Avoinne wrote:
> Seriously,
> 
> 'x' : executable -> ICACHE, because it is the instruction fetcher which
> needs to access bytes in code page : IT NEVER WRITES !!! so 'x' is in fact a
> disguised 'r' and 'w' a non-sense.
> 
> 'r','w' : readable, writable -> DCACHE, because it is the LSU which needs to
> access bytes in data page : IT NEVER EXECUTES !!!
> 
> When you write code in page you are indeed using LSU for that purpose so you
> handle its page like a data page not as a code page.

Vice versa:

	- when the r-bit is set, the LSU may read the page.
	- when the w-bit is set, the LSU may write the page.
	- when the x-bit is set, the fetcher may read the page.

It's still the same old page, though.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/