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 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] A useless short jmp?

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] A useless short jmp?
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Tue, 19 Jun 2007 14:59:16 +0800
Delivery-date: Mon, 18 Jun 2007 23:57:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C29D3B77.95CD%Keir.Fraser@xxxxxxxxxxxx>
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: <B30DA1341B0CFA4893EF8A36B40B5C5D01484F3D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C29D3B77.95CD%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcexsWxtRnqse1ngRRSVOXIcWSiSzwADXzoNABVnA0AACm38fQAAAE8Q
Thread-topic: [Xen-devel] A useless short jmp?
>But you never need a near jump *and* a long jump, it seems. 
>Makes sense!
>

Yeah, and I also saw Linux kernel i386 code uses a short jump after
enabling PE in wakeup.S, which is not necessary.
Acturally the code doesn't make anything wrong, but it's really
confusing if thinking about the CPU state at that time interval.
-Xin 

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

<Prev in Thread] Current Thread [Next in Thread>