From: "pallavi jk" Subject: Re: fast system calls Date: Sat, 27 Dec 2008 14:20:45 +0530 Message-ID: References: <4955D344.9070202@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0600559094==" Return-path: In-Reply-To: <4955D344.9070202@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0600559094== Content-Type: multipart/alternative; boundary="----=_Part_88083_33522448.1230367845296" ------=_Part_88083_33522448.1230367845296 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanx a lot Jeremy! In addition to removing the special case for 0x80 in arch/x86/traps.c:do_set_trap_table(), will I also have to define an entry point in xen/arch/x86/x86_32/entry.S as ENTRY(system_call) ?? Could you please tell me other required modifications that I will have to make? -Pallavi On Sat, Dec 27, 2008 at 12:33 PM, Jeremy Fitzhardinge wrote: > pallavi jk wrote: > >> I want to modify xen 3.3.0 so that control transfers to xen after system >> calls. How can I disable fast system call handlers, so that int 0x80h >> functions just like all other interrupts. >> > > It should just be a matter of removing the special case for 0x80 in > arch/x86/traps.c:do_set_trap_table(). > > J > ------=_Part_88083_33522448.1230367845296 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanx a lot Jeremy!

In addition to removing the special case for 0x80 in arch/x86/traps.c:do_set_trap_table(), will I also have to define an entry point in xen/arch/x86/x86_32/entry.S as ENTRY(system_call)  ??

Could you please tell me other required modifications that I will have to make?

-Pallavi

On Sat, Dec 27, 2008 at 12:33 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
pallavi jk wrote:
I want to modify xen 3.3.0 so that control transfers to xen after system calls. How can I disable fast system call handlers, so that int 0x80h functions just like all other interrupts.

It should just be a matter of removing the special case for 0x80 in arch/x86/traps.c:do_set_trap_table().

  J

------=_Part_88083_33522448.1230367845296-- --===============0600559094== 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 --===============0600559094==--