WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Trap Handler for NX violation.

To: Necrosoft <necrosoft82@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Trap Handler for NX violation.
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 10 Jun 2008 14:18:01 +0100
Delivery-date: Tue, 10 Jun 2008 06:18:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b1399c5e0806100615vbd9b551ye042989fcf6acdba@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjK/GhFpux3rjbvEd2k+wAX8io7RQ==
Thread-topic: [Xen-devel] Trap Handler for NX violation.
User-agent: Microsoft-Entourage/11.4.0.080122
As you might expect, it’s a type of page fault. See xen/arch/x86/traps.c:do_page_fault().

 -- Keir


On 10/6/08 14:15, "Necrosoft" <necrosoft82@xxxxxxxxx> wrote:

Hi

I have a question about NX trap handling in Xen. Assume that you have set the NX/XD bit for a PT entry. I would to know wich is the trap_handler used by Xen when NX violation is triggered.
I'm looking for trap handlers inside entry.S file for X86_32 architecture, but I see no "specific" procedure for that. My be a general_protection procedure is used?

Thank you very much!

Bye


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>