Re: i386 page fault clobbers error code in trap frame



On Sunday 30 July 2006 21:30, Kip Macy wrote:
si_addr doesn't contain the faulting pc, it contains the address
that

So either the comment is wrong, or that is a technically incorrect
kludge. However, given that a number of the other fields are not
filled out at all, the real objective should be to keep applications
working.

Well, the comment is correct except in case of a page fault. But this is
different from stable. In stable si_addr is a copy of tf_err, which,
because of the kludge, holds the fault address in case of a page
fault... I'm glad to see this code has been cleaned up.

Attachment: pgpKN7MilNmZT.pgp
Description: PGP signature