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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] cdb: split cdb into arch independet/dependet par

To: Hollis Blanchard <hollisb@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] cdb: split cdb into arch independet/dependet part
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: 2006年1月13日 16:20:01 +0000
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年1月13日 16:20:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a2f180443ab3de60fe79e85cfe991138@xxxxxxxxxx>
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>
References: <20060110073119.GG9291@xxxxxxxxxxxxx> <07309113807ccf40f440881519bb6872@xxxxxxxxxx> <20060111085640.GB26980@xxxxxxxxxxxxx> <68037db070bd4ae1b51fa17639f17e6e@xxxxxxxxxxxx> <20060113112815.GD28858@xxxxxxxxxxxxx> <a2f180443ab3de60fe79e85cfe991138@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 13 Jan 2006, at 15:46, Hollis Blanchard wrote:
+ /* Try to make things a little more stable by disabling
+ interrupts while we're here. */
+ local_irq_save(flags);
...
+ local_irq_restore(flags);
Shouldn't we enter __trap_to_gdb with interrupts disabled already? That's how it's done on PPC, I believe x86 can choose in the IDT, and I'm sure IA64 can too?
That's true if it's a hardware-generated trap to debugger. Breakpoint exceptions, manual calls to trap into the debugger, etc all might enter the stub with ints enabled. So irqsave/restore is a reasonable safeguard.
Hmm, actually, how does this interact with interrupt-driven ns16550?
The serial subsystem supports a synchronous polled mode of operation. You can put a COM port in polled mode by calling serial_start_sync().
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] cdb: split cdb into arch independet/dependet part , Hollis Blanchard
Next by Date: RE: [Xen-devel] dom0_mem more flexible? , Ian Pratt
Previous by Thread: Re: [Xen-devel] [PATCH] cdb: split cdb into arch independet/dependet part , Hollis Blanchard
Next by Thread: Re: [Xen-devel] [PATCH] cdb: split cdb into arch independet/dependet part , Isaku Yamahata
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /