A forum for reverse engineering, OS internals and malware analysis 

 #10349  by _Lynn
 Tue Dec 13, 2011 8:03 pm
Since i began learning kernel development over the past few weeks, I want to touch on something that I know nothing about, hoping to gain some insight so I can learn it. So far I have learned about basic kernel structures, IRQ's defining ioctl's and major read/write functions for driver control, but now I would like to learn how specifically a driver communicates with a certain device, say a NIC.

I know hardware interrupts are dispatched over the IDT, but where/how can I learn to read and send data buffers to devices.

I have windows internals 5th edition so if there is any information in there that someone would like to point out to me, go ahead.

for instance, is it possible to do int vector 13h from driver for disk services like from a bootloader? or no.

thanks for the help ^_^
 #10353  by rkhunter
 Wed Dec 14, 2011 5:25 am
If you want see working model (code), look WDK sources, for example, WDK contains sample source code for help you
WinDDK\7600.16385.1\src\general\pcidrv\wdm\hw\.