On Sat, Sep 11, 2010 at 4:15 PM, Xiaofan Chen <[email protected]> wrote:
> On Sat, Sep 11, 2010 at 9:10 PM, Xiaofan Chen <[email protected]> wrote:
>> On Sat, Sep 11, 2010 at 9:04 PM, Ozkan Sezer <[email protected]> wrote:
>>> OK, reading wdm.h more carefully, the FASTCALL declarations are
>>> protected by an #ifdef NO_INTERLOCKED_INTRINSICS  guard:  For x86,
>>> can you please recompile by adding -DNO_INTERLOCKED_INTRINSICS
>>> and see if it links and works?
>>
>> Yes this works for building. Thanks for the fast help.
>> CFLAGS = -m32 -O2 -Wall -DWINVER=0x500 -DNO_INTERLOCKED_INTRINSICS 
>> $(DBG_DEFINE)
>>
>
> I will test the driver under 32bit Windows to see if it works.
> For the benefit of Travis, here is the zip archive of the source and binaries.
> http://code.google.com/p/picusb/downloads/list
> libusb-win32-src-1.2.1.20_mingw64_32bit.zip
>
> --
> Xiaofan
>

So far, good news from both of the x86 and x64 fronts.  Will wait
for the news about performance.

As for providing inlines for the ms intrinsics, the issue is a bit
tricky one:  WDM.h includes intrin.h and it is through that route
r/os provides the necessary inlines. We do provide an intrins.h but
we do not provide any inlines in it:  Ideal case is that we do that,
provide the inlines from within intrin.h which is what I would vote
for:  That way both userland and drivers will see it.  However, this
is an issue that project administrators should decide.

--
Ozkan

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to