microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.83k stars 4.9k forks source link

Add Platform Runtime Mechanism (PRM) sample code #921

Open makubacki opened 1 year ago

makubacki commented 1 year ago

PRM is a feature that allows a subset of platform firmware code to move out of SMM and execute in OS context.

Support for a new PRM OpRegion type was added to the ACPI 6.4 Specification.

Functionality in PRM modules can be invoked via the "ACPI-specification defined interface" using the PRM OpRegion or through a "direct interface". While the former is documented in the ACPI Specification, the latter needs sample code.

This issue tracks the addition of that sample code to this repo.

makubacki commented 1 year ago

@yinghany, I believe you should be the owner?

guliteb commented 1 year ago

@yinghany Is there any plan to support PRM sample? Thanks.

yinghany commented 1 year ago

@guliteb The public direct-call interface has been revamped/simplified as part of the next Windows release. Documentation/samples around this interface will be coordinated with the OS release. We will have more information closer to the release date.

guliteb commented 1 year ago

@yinghany Is there any update on PRM driver sample? Do you have an estimation of the target timeline? Thanks.