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] question on xenolinux use of ffs()

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] question on xenolinux use of ffs()
From: ron minnich <rminnich@xxxxxxxx>
Date: Tue, 29 Jun 2004 11:47:44 -0600 (MDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 29 Jun 2004 21:31:39 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BfLDt-00054M-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Tue, 29 Jun 2004, Keir Fraser wrote:

> Linux follows the libc convention of returning a 1-relative bit
> offset, or 0 for 'no bits set'.

this is weird. I'm beginning to worry about vmware. I had a printk on this
ffs() stuff in vmware and for ffs(1) I got a zero; on my laptop it just
got 1.

damn.

Also, I fixed another problem in hypervisor_callback by removing
PUSHW ES (push %es for linux folks).

Yep, if the callback pushed ES it would trap, otherwise not. 

arg. I really need to get off vmware soon :-)

ron



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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