[ofw] Porting OFA stack to WDK

Fab Tillier ftillier at windows.microsoft.com
Wed Feb 13 08:59:28 PST 2008


The size of structures would change, so yes, apps would need to recompile.  You could add #ifdef'd padding to keep the 32-bit structures the same size and preserve binary compatibility.

-Fab

-----Original Message-----
From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Sean Hefty
Sent: Wednesday, February 13, 2008 8:12 AM
To: 'Leonid Keller'; ofw at lists.openfabrics.org
Cc: Alex Naslednikov
Subject: RE: [ofw] Porting OFA stack to WDK

>    - remove __ptr64 attribute from all the functions of the stack;
>    - remove __ptr64 attribute from all the structures except the
>        Ioctl ones;
>    - use PtrToPtr64 function while the assignment of __ptr64 Ioctl
>        fields (only in user space);
>    - remove unnecessary castings, related to __ptr64 attriubute all
>        over the code, if any;

I think this would require that apps re-compile, but...

I also don't think __ptr64 should be in any user interface functions or
structures.

Do we know if apps would need to recompile?  And, if so, are we okay with that?
Do we want to consider this change for a 2.0 release?

- Sean

_______________________________________________
ofw mailing list
ofw at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list