Skip to contentSkip to conversation

Trap Handler for NX violation.

DISCUSSION Necrosoft 2 participants 2 messages Jun 10, 2008

lore
Share & tools
lore

Necrosoft

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

As you might expect, it¹s a type of page fault. See xen/arch/x86/traps.c:do_page_fault().

-- Keir

Quoted 11 lines · Necrosoft

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!

Quoted 7 lines

Bye

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel