|
|
|
|
|
|
|
|
|
|
xen-arm
Re: [XenARM] [MINIOS] evtchn_pending_sel issue
It seems that there is a shift of one bit in the computation of l1i, since _ffs return 1 for the least significant bit (and not 0).
What do you think?
There is no shift of one bit in __ffs().. It returns the index of the first set bit in the 32-bit word.. So, it correctly returns 0 for your case.. You can check include/asm-arm/bitops.h for the definition of __ffs().. For input word = 1, all the if conditions will evaluate to true, and you will end up with k = 31-31 = 0..
-Rahul.
What I'm wondering is how it could work .. (and probably it could ;-) just something that probably I missed….
Thanks for your help
Daniel
_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm
_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm
|
|
|
|
|