Guide to Windows PCI Device Driver Development: Interrupt Handling

Guide to Windows PCI Device Driver Development: Interrupt Handling

In this article, we add a periodic Timer to the PCIe device previously simulated in Qemu. Once this Timer is enabled, it will trigger an MSI interrupt to the Qemu virtual machine every second. To verify that this interrupt function works correctly, we need to add interrupt handling capabilities to the driver for this PCIe … Read more

X86 Kernel Notes_2_Driver Development

X86 Kernel Notes_2_Driver Development

This article is a highlight from the Kanxue ForumAuthor from Kanxue ForumID: SSH Landscape Painting 1 Creating a Driver Project Creating the Project Reference article for WDK and VS installation: X86 Kernel Notes 0 Configuring Dual Machine Debugging Environment Open VS2017, create a new project, select Visual C++ -> Windows Drivers -> Legacy -> Empty … Read more

Windows PCI Device Driver Development Guide: How to Bind Context to WDF Objects

Windows PCI Device Driver Development Guide: How to Bind Context to WDF Objects

When writing WDF drivers, we often need to bind some driver-defined data structures to WDF objects (such as device objects, queue objects, request objects). These data structures provide the driver with the capability to store and manage state information specific to the object, which we commonly refer to as context. These contexts are essentially data … Read more

Windows PCI Device Driver Development Guide: Accessing PCI Configuration Space and MMIO Registers

Windows PCI Device Driver Development Guide: Accessing PCI Configuration Space and MMIO Registers

In the previous article, we implemented some PnP callbacks in PCI drivers, allowing the driver to load onto the PCIe device and enabling the device to enter the D3 low power state. In essence, writing a driver involves using the APIs provided by the operating system’s driver framework to create device objects and implement various … Read more

Windows PCI Device Driver Development Guide: PnP Callback

Windows PCI Device Driver Development Guide: PnP Callback

In the previous article, we introduced the driver code generated by the VS KMDF template, providing a preliminary understanding of the driver code. It should be evident that this driver is quite simple, essentially lacking any real functionality. After installing the driver we wrote, this PCIe device remains in the D0 state (if you are … Read more

Windows PCI Device Driver Development Guide: Building Your First Device Driver from Scratch

Windows PCI Device Driver Development Guide: Building Your First Device Driver from Scratch

The Windows WDF (Windows Driver Framework) is a driver development architecture introduced by Microsoft, designed to simplify the kernel driver development process and enhance system stability. WDF drivers are divided into KMDF (Kernel-Mode Driver Framework) and UMDF (User-Mode Driver Framework). KMDF provides an object-oriented interface for kernel-mode drivers, such as Device Objects, Queue Objects, Request … Read more

Windows PCI Device Driver Development Guide: Introduction to Driver Template Code

Windows PCI Device Driver Development Guide: Introduction to Driver Template Code

In the previous article, we introduced how to “write” a Windows PCI device driver from scratch. The term “write” is in quotes because we didn’t actually write any code; the driver code was generated using the KMDF template in Visual Studio. In this article, we will introduce the generated driver code. The first function to … Read more

Robot Unicorn Dalu Denies Bankruptcy Amid Workforce Reductions

Robot Unicorn Dalu Denies Bankruptcy Amid Workforce Reductions

Dalu Technology founder Huang Xiaoqing, image source: Visual China Interface News Reporter | Li BiaoInterface News Editor | Wen Shuqing In 2025, leveraging the concept of “AI + Embodied Intelligence”, the domestic robotics industry entered a peak period of financing. However, Dalu, a well-established robotics unicorn founded nearly ten years ago, is facing a survival … Read more

Frontier Hotspots in AI and Robotics: Exploring Infinite Possibilities for the Future

Frontier Hotspots in AI and Robotics: Exploring Infinite Possibilities for the Future

In the rapidly advancing world of technology, innovations in the fields of AI and robotics are continuously emerging, profoundly changing our ways of life and work. Today, the AI Exploration Office will focus on the latest news and developments in AI and robotics both domestically and internationally, exploring the infinite possibilities in this field together. … Read more

The World’s First DIY Biomimetic Robot

The World's First DIY Biomimetic Robot

In recent years, with the development of artificial intelligence and open-source hardware, there has been a surge of interest in “robots” in society. However, the robots that most people are familiar with seem to require extensive engineering and computer knowledge. So, are there any robots that are easy to DIY and accessible to the general … Read more