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] Cs/ 14346 breaks 64bit hv

To: "Woller, Thomas" <thomas.woller@xxxxxxx>
Subject: Re: [Xen-devel] Cs/ 14346 breaks 64bit hv
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: 2007年3月14日 09:34:04 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年3月14日 02:33:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <683860AD674C7348A0BF0DE3918482F6048FB5F7@xxxxxxxxxxxxxxxxx>
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: <683860AD674C7348A0BF0DE3918482F6048FB5BC@xxxxxxxxxxxxxxxxx> <683860AD674C7348A0BF0DE3918482F6048FB5F7@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006年08月11日)
At 01:47 -0500 on 14 Mar (1173836821), Woller, Thomas wrote:
> Took a look at the rombios.s code generated in both cases (14344 and
> 14345) and seems like the "jump to the boot vector" code is not executed
> on the failing case. There is a "default: return" in the function
> immediately above an "#if BX_TCGBIOS", and then the non-executed asm
> code. 
> Is bcc not understanding that the asm code following should be executed?
> Seems like there is added a default "return" so that the "jump to boot
> vector" code is never executed? appears to be the case..but not sure. 
That would be terrifying. Presumably there's a jmp past that ret
somewhere. I got the impression from your first email that some
guests do boot, and that can only happen through that iret. 
Does adding an explicit "return;" in C after the asm block change the
behaviour?
> Code snippets are below. Using gcc 3.3.5, but will try 4.x compiler,
> although looks like bcc is used to generate the rombios.s file if I read
> the Makefile correctly.
Yep. What version of bcc are you using? (bcc -v says 0.16.14 for me)
Cheers,
Tim.
-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508
_______________________________________________
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] vram_dirty vs. shadow paging dirty tracking , Zhai, Edwin
Next by Date: Re: [Xen-devel] Cs/ 14346 breaks 64bit hv , Tim Deegan
Previous by Thread: RE: [Xen-devel] Cs/ 14346 breaks 64bit hv , Woller, Thomas
Next by Thread: Re: [Xen-devel] Cs/ 14346 breaks 64bit hv , Tim Deegan
Indexes: [Date] [Thread] [Top] [All Lists]

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

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