[ofw] WDK build environment migration thoughts

Sean Hefty sean.hefty at intel.com
Thu May 1 09:22:36 PDT 2008


Q5. Let's remove all void *PTR64 macro!

It's a key idea of our solution :-)

TO_LONG_PTR macro comes to replace __ptr64 inside ioctls.

The rest of macros were defined according to place where __ptr64 had been removed.

FUNC_PTR64 - inside function signature

VOID_PTR64 - inside raw code

STRUCT_PTR64 - inside struct that is know (for sure) it is not used inside ioctls

Etc.

These temporarily macros will be removed in the next release (or even after). Now, I'd like to preserve them for the
case of debug: one can easily redefine them back to __ptr64 or just compare to old code. Please, do not remove this now!

These macros never should have been committed, and absolutely should be removed.  They do nothing, and serve no purpose
in the code except to make it confusing.  This is why patches must be self contained.  If the patch breaks something,
then reverting it is the correct solution.

- Sean

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080501/2fb6f20c/attachment.html>


More information about the ofw mailing list