All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: fast system calls
       [not found] ` <4955D344.9070202@goop.org>
@ 2008-12-27  8:50   ` pallavi jk
  2008-12-27 10:39     ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 2+ messages in thread
From: pallavi jk @ 2008-12-27  8:50 UTC (permalink / raw)
  To: Jeremy Fitzhardinge, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 1204 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fast system calls
  2008-12-27  8:50   ` fast system calls pallavi jk
@ 2008-12-27 10:39     ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2008-12-27 10:39 UTC (permalink / raw)
  To: pallavi jk; +Cc: xen-devel

pallavi jk wrote:
> 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)  ??

No, I shouldn't think so.  Xen doesn't care what purpose the guest is 
using int 0x80 for; without the special case, it should Just Work.

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

I don't know off the top of my head.  There could be some other 
complication.

    J

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-27 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <a55a39a90812250640o47b62926oed7816cd21fdc44c@mail.gmail.com>
     [not found] ` <4955D344.9070202@goop.org>
2008-12-27  8:50   ` fast system calls pallavi jk
2008-12-27 10:39     ` Jeremy Fitzhardinge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.