FYI, you can write an NT4/legacy style driver using KMDF. You still can
take advantage of WDFIOTARGETs and WDFQUEUEs to manage the hard problems
of cancelation and i/o synchronization.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, December 14, 2006 2:35 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] LDT access in 64bit Vista
PAUL:
A legacy driver is one that is written to one of the older driver
models. It used to, and very well may, still refer to an NT4 style
driver - pre WDM and pre KMDF; however, maybe now it means anything
before KDMF. So many acronyms make it hard to say. In any case, an
oversimplification of it would be a driver that as a DriverEntry,
DriverUnload and probably sets one or more of the MJ entry points in
DriverEntry, but does not handle power or PNP, or use WDM or KMDF in any
way.
As to your other question, the answer is that the 64-bit versions of
Windows do require that all drivers be built as 64-bit; 32-bit drivers
will not load.
I worked with something similar to what you are trying to do with the
LDT, but I think Jake gave the best advice that anyone is going to give
you or at least be allowed to give you - it will be very difficult, and,
for a variety of reasons, you’re pretty much going to have to go it
alone.
Best of luck.
mm
>> xxxxx@glidos.net 2006-12-14 04:01 >>>
Thanks Tim, that was exactly the sort of information I
was looking for. GENPORT.C from WDK sounds a great
starting point for what I want to do.
I realise I’m on “hardly, if at all” trodden ground,
but at the moment I’m just looking for the easiest
way to get some of my code into the kernel so I can
experiment.
Great shame about having to sign the driver. I was
hoping that wasn’t necessary for a legacy driver.
So you need a certificate before you can even
start development? Are there no tricks like self
signed certificates (the way you do if for secure
web sites, if you don’t mind the warnings)? How
much does one of these certificates cost?
Also I realise I’m talking about legacy drivers
when I don’t altogether know what that means. I
was thinking it meant (for example) that a 64bit
OS could load a driver built for NT say without
recompilation, but is it actually the case that
a 64 bit OS can load only drivers that have been
built with 64bit tools? (Sorry, this may be
completely obvious). So for 64bit OSes, is a
legacy driver old source compiled with new
tools?
Cheers,
Paul.
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