Kernel driver

Dec 10, 2010 at 12:11 PM
Edited Dec 10, 2010 at 12:12 PM

Hello,

I'm creating a driver to get SMBIOS info.

I used CEDriverWiz to generate a driver successfully. Now I need to map F0000:FFFFF addresses to get the data. I want to use MmMapIoSpace to do that but I think I need a kernel driver.

Checking the registry I found out that the flags are 0x10 which means it will be loaded in user mode, right? After removing this option, I was unable to connect to the driver stream.

How can I create a kernel driver using your tool? 

 

Best regards

José Ribeiro

Coordinator
Dec 17, 2010 at 1:56 AM
Edited Dec 17, 2010 at 1:57 AM

Jose,

Yes a flag of (or OR'd with ) 0x10 will cause it to be loaded in user mode.

Whereas 0x0 or no flag attempts to load it in kernel mode.

But the dll must be in the image in the kernel DLL space, as specified in the bib file.

See in the Downloads-Documentation  Using Release 1.00  Section D where this is covered.

Cheers David

 

Dec 17, 2010 at 9:58 AM
Edited Dec 17, 2010 at 10:13 AM

Hello David,

I managed to get the driver working in user mode setting the Membase/Memlen.
Thank you for this great tool!
Cheers
Coordinator
Dec 17, 2010 at 12:20 PM

That's great.

Happy to help.

David