From owner-freebsd-hackers Wed Aug 29 18:36:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from aramis.rutgers.edu (aramis.rutgers.edu [128.6.4.2]) by hub.freebsd.org (Postfix) with ESMTP id 214C737B401; Wed, 29 Aug 2001 18:36:24 -0700 (PDT) (envelope-from muralir@aramis.rutgers.edu) Received: from localhost (muralir@localhost) by aramis.rutgers.edu (8.8.8/8.8.8) with SMTP id VAA19558; Wed, 29 Aug 2001 21:35:47 -0400 (EDT) Date: Wed, 29 Aug 2001 21:35:46 -0400 (EDT) From: Murali Rangarajan To: freebsd-hackers@FreeBSD.org Subject: Fault type in the page fault handler Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Is it possible to figure out the fault type(READ or WRITE fault) from inside the page fault handler in user space? I can get the faulting address fine but I have trouble figuring out the fault type. I looked at the i386/i386/machdep.c but couldn't find anything about the access/fault type. Any help would be appreciated. Thanks, Murali To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message