Sending PCIe Message TLP (Vendor Defined Message) from windows Kernel mode driver

Srinath Prakash 0 Reputation points
2024-06-11T17:01:52.9166667+00:00

Hi, I'm trying to write a custom driver on windows 10 (with KMDF) to frame & send PCIe TLP packets to PCIe EndPoint with user-defined payload. I'm able to do PCIe CfgRead, CfgWrite operations with READ_REGISTER_ULONG and WRITE_REGISTER_ULONG APIs. Wanted to know if we can form Message TLP with TLP headers for sending Vendor Defined Message(VDM) from driver. do we have any APIs in driver framework or any other way to send Message TLP from driver ? Any help or reference would be appreciated. Thanks.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,870 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,628 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
53 questions
0 comments No comments
{count} votes