Duhh … if I recall correctly, having stepped through this code numerous
times, but not for several weeks now, if you are on an x86 platform the
MapRegisterBase base passed to IoMapTransfer is NULL, where as the number of
map registers passed to IoAllocateAdapterChannel is a side affect returned
from the call to (Hal)GetAdapter. Granted the scatter/gather list is
normally built with the adapter channel call back, but is verifier really
complaining about a null map register base when on an x86 it IS null?
Methinks you have found a rotten fish, but not the one that is stinking.
Thus spracht das homophone. Gosh and for years I considered my self an
oxymoron. Hmmm though some I am sure would drop the oxy.
Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731
-----Original Message-----
From: Evan Hillman [mailto:xxxxx@attbi.com]
Sent: Wednesday, January 02, 2002 9:16 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Scatter-gather dma, XP driver verifier problem
-> Solved…
My thanks to Ntdev Reader and the little 300 pound homophone for replies.
Turns out, I was building the scatter-gather list before calling the driver
adapter control function through AllocateAdapterChannel. This meant that
MapRegisterBase was not defined, since this is passed in as a parameter to
the AdapterControl function. So, a NULL MapRegisterBase looks to the
verifier like a desperate need to call FlushAdapterBuffers even before a
transfer happens. Logical, no?
-Evan
I’ve looked through your message once more and realized you put
it there trying to fool the Verifier. I now think you should be
trying to explain why the Verifier said “(0 max)”. It looks very
suspicious.
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
You are currently subscribed to ntdev as: xxxxx@attbi.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com