<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>Am I to understand you will repair 'all' occurrences
__ptr64 usage?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>Am I to understand the usage of the PtrToPtr64()
function for the assignment of __ptr64 Ioctl fields (only in user
space)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>will function correctly when built using the 'current' DDK
build environment?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
size=2><SPAN class=760520017-13022008><FONT face=Arial color=#0000ff size=2>The
point being the 'current' build environment will not be impacted by the removal
of __ptr64 and therefore the switch to</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
size=2><SPAN class=760520017-13022008><FONT face=Arial color=#0000ff size=2>the
WDK build environment can be handled separately as it's a connectX
issue?</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2><SPAN
class=760520017-13022008></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2><SPAN class=760520017-13022008>BTW, what is it about
connectX that requires the WDK environment?</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>The change to WDK is huge, I trust your testing with x64
& ia64 has been successful?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>What modules were exercised in your x64 and/or ia64
testing?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>What version of WDK are you using?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>With the exception of the removal of __ptr64, have the WDK
prompted file modifications been pushed back into SVN?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>What is your timeframe for pushing the __ptr64 removal back
into SVN?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>stan.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Leonid
Keller<BR><B>Sent:</B> Wednesday, February 13, 2008 1:45 AM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Cc:</B> Alex Naslednikov<BR><B>Subject:</B>
[ofw] Porting OFA stack to WDK<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>The new ConnectX
driver is being developed in WDF environment and requires WDK tools for its
build.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>While trying to
build OFA stack in WDK environment i've come across a __ptr64
problem.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>This attribute
causes the WDK compiler crash in checked x86
environment.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>Instead of searching
some workaround, i'm going to perform the following "drastic"
solution:</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial size=2>-
remove __ptr64 attribute from all the functions of the
stack;</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial size=2>-
remove __ptr64 attribute from all the structures except the Ioctl
ones;</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial size=2>-
use PtrToPtr64 function while the assignment of __ptr64 Ioctl fields (only in
user space);</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial size=2>-
remove unnecessary castings, related to __ptr64 attriubute all over the code, if
any;</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>The changes wrt
ioctls will be committed separately to facilitate the code
review.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>Any
comments/suggestions/objections ?</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2><FONT
face="Times New Roman"></FONT></FONT></SPAN> </DIV></BODY></HTML>