Subject: Re: CVS commit: src/sys/arch/arm/arm32
To: Richard Earnshaw <rearnsha@arm.com>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 10/16/2003 11:18:19
On Thursday 16 October 2003 10:52 am, Richard Earnshaw wrote:
> Assuming for the moment that the address being
> accessed is permitted for that process, then if it's a permission
> fault it must be as a result of an attempt to write.
True, although I'd have to double-check this is workable for kernel
faults too.
> A failure to
> read the location will always result in a domain or translation
> fault.
A failure to write the location may also result in a domain/translation
fault due to page reference tracking, if the first operation on an
unreferenced page is a write.
> If that will work, then it really would be a GOOD THING. Since it
> would mean no further work is needed in this area to handle Thumb.
I don't think it's going to be quite that easy. :-/
Cheers, Steve