Hi All ,
I’m developing a NT driver + RTOS firmware. To have communication between the driver & firmware, I’ve to use PCI shared memory.
Where this PCI shared memory resides ?
How to access PCI shared memory through driver ?
Please help me to solve the above problem.
Thanks in advance.
swati
>Hi All ,
I’m developing a NT driver + RTOS firmware. To have communication
between the driver & firmware, I’ve to use PCI shared memory.
Where this PCI shared memory resides ?
How to access PCI shared memory through driver ?
Use HalAllocateCommonBuffer in your driver.
Report the physical address returned by the HalAllocateCommonBuffer to the
hardware as the start of the shared memory.
Use the virtual address returned by the HalAllocateCommonBuffer in your code
to access the buffer.
Max