From: Keir Fraser Subject: Re: Trap Handler for NX violation. Date: Tue, 10 Jun 2008 14:18:01 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1365285248==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Necrosoft , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1365285248== Content-type: multipart/alternative; boundary="B_3295952283_24083558" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3295952283_24083558 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable As you might expect, it=B9s a type of page fault. See xen/arch/x86/traps.c:do_page_fault(). -- Keir On 10/6/08 14:15, "Necrosoft" wrote: > Hi >=20 > 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 b= y 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 proced= ure > is used? >=20 > Thank you very much! >=20 > Bye >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel --B_3295952283_24083558 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Trap Handler for NX violation. As yo= u 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@gmail.com> wrote= :

Hi

I have a question about NX trap handling in Xen. Assume that you have set t= he NX/XD bit for a PT entry. I would to know wich is the trap_handler used b= y 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_protec= tion procedure is used?

Thank you very much!

Bye


____________________= ___________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/x= en-devel

--B_3295952283_24083558-- --===============1365285248== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1365285248==--