Category "device-driver"

Windows 10 Driver EvtIoRead callback not scheduled frequently enough

I have inherited a Windows device driver that receives data packets using DMA. It's been working reliably for years on a 32 bit platform but I've had to port it

How to allocate heap in kernel space for an array of fix-sized arrays of characters?

I know that in kernel space one usually uses ExAllocatePoolWithTag function, but I don't know how to allocate memory for a dynamically-sized array of fixed-size

What is an OS' HAL?

The hardware abstraction layer (HAL) is (AFAIK) the lowest level software within a computing system. Thus, is it a set of functions implemented in assembly lang

wait_for_completion for submit_bio in make_request not returning

I am writing a custom block driver in the Linux kernel and in my make_request routine, on writes I need to read the data of the bio's specified sector (from the