MmMapIoSpace DISPATCH_LEVEL revisited

A few years ago, I asked a question about calling MmMapIoSpace at
DISPATCH_LEVEL because DriverVerifier would complain about calling it
above DISPATCH_LEVEL, but did not complain when calling it at
DISPATCH_LEVEL, yet the docs said that it must be called at
PASSIVE_LEVEL.

Eliyas Yakub (from MS) responded that it was safe to call it at
DISPATCH_LEVEL and that he would have the docs updated.

See
http://groups.google.com/group/microsoft.public.development.device.drive
rs/browse_thread/thread/f3b544ca35667095/51ea2943a911b77f?lnk=st&q=&rnum
=2#51ea2943a911b77f for reference.

I noticed that the current docs still say PASSIVE_LEVEL, yet driver
verifier doesn’t seem to be complaining.

Was Eliyas wrong or did something change since his reply? If it’s not
OK, then why isn’t DV complaining (I’m running on XP64)?

Beverly

The docs in the 2003 DDK SP1 as well as the online docs on the Microsoft site state:

Callers of MmMapIoSpace must be running at IRQL <= DISPATCH_LEVEL.

That’s odd. The docs that were installed with my version of w2k3sp1 say
PASSIVE_LEVEL.

For some reason I wasn’t able to access theonline page for that function
yesterday, but I just checked it today and you are right. The online
docs do say that.

I also got confirmation from Eliyas Yakub via email that <=
DISPATCH_LEVEL is correct.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@email.com
Sent: Wednesday, July 26, 2006 11:57 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] MmMapIoSpace DISPATCH_LEVEL revisited

The docs in the 2003 DDK SP1 as well as the online docs on the Microsoft
site state:

Callers of MmMapIoSpace must be running at IRQL <= DISPATCH_LEVEL.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Interesting. I just checked the docs on my system and the docs installed
for 3790.1830 are the same docs that are in the 3790 directory.
Apparently they didn’t get installed correctly. Is it wrong to assume
that a side-by-side installation with previous versions should work? I
know it’s not possible with WDF but I thought it was OK with the DDK.

Before anyone asks "Whay are you keeping the older version…
I need to keep the previous version around for support of product that
has already shipped (customer-specific and customer wants minimal
changes when bug fixes are released). This will become a problem for me
with WDF in the future since I can’t keep older versions around when new
ones become available. None of the WDF drivers have shipped yet so I’m
OK for now.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, July 27, 2006 8:57 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] MmMapIoSpace DISPATCH_LEVEL revisited

That’s odd. The docs that were installed with my version of w2k3sp1 say
PASSIVE_LEVEL.

For some reason I wasn’t able to access theonline page for that function
yesterday, but I just checked it today and you are right. The online
docs do say that.

I also got confirmation from Eliyas Yakub via email that <=
DISPATCH_LEVEL is correct.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@email.com
Sent: Wednesday, July 26, 2006 11:57 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] MmMapIoSpace DISPATCH_LEVEL revisited

The docs in the 2003 DDK SP1 as well as the online docs on the Microsoft
site state:

Callers of MmMapIoSpace must be running at IRQL <= DISPATCH_LEVEL.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Brown, Beverly wrote:

Interesting. I just checked the docs on my system and the docs installed
for 3790.1830 are the same docs that are in the 3790 directory.
Apparently they didn’t get installed correctly. Is it wrong to assume
that a side-by-side installation with previous versions should work? I
know it’s not possible with WDF but I thought it was OK with the DDK.

I have 2600, 3790, 3790.1830, 5456, and WDF all in my C:\DDK directory,
without problems. The docs in 3790/help are dated 02/21/2003, the docs
in 3790.1830\help are dated 02/18/2005.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

This is bizaare. How could this have happened on my drive? I installed
the w2k3 sp1 ddk with the KMDF 1.1 release. When I get some time, I’ll
try uninstalling it and re-installing it to see if I get the right docs.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, July 27, 2006 12:04 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] MmMapIoSpace DISPATCH_LEVEL revisited

Brown, Beverly wrote:

Interesting. I just checked the docs on my system and the docs
installed for 3790.1830 are the same docs that are in the 3790
directory.
Apparently they didn’t get installed correctly. Is it wrong to assume
that a side-by-side installation with previous versions should work? I
know it’s not possible with WDF but I thought it was OK with the DDK.

I have 2600, 3790, 3790.1830, 5456, and WDF all in my C:\DDK directory,
without problems. The docs in 3790/help are dated 02/21/2003, the docs
in 3790.1830\help are dated 02/18/2005.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer