-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add power limit policy and client sample driver (#1152)
This PR adds power limit policy and client driver as samples to use OS native power limit interfaces.
- Loading branch information
1 parent
13d4792
commit 04e03ee
Showing
24 changed files
with
3,236 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
page_type: sample | ||
description: "Demonstrates a simulated power limit device." | ||
languages: | ||
- cpp | ||
products: | ||
- windows | ||
- windows-wdk | ||
--- | ||
|
||
# plclient - Simulated Power Limit Client Driver | ||
|
||
This sample is a driver for a simulated power limit client device. | ||
|
||
## Universal Windows Driver Compliant | ||
|
||
The plclient sample provides the source code for a power limit device that supports power limit management by the operating system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DefinitionBlock ("ACPITABL.DAT", "SSDT", 0x02, "MSFT", "simulatr", 0x1) { | ||
Device (\_SB.SOC0) { | ||
Name (_HID, "PLCL0001") | ||
Name (_UID, 1) | ||
} | ||
Device (\_SB.GPU1) { | ||
Name (_HID, "PLCL0001") | ||
Name (_UID, 2) | ||
} | ||
} |
Oops, something went wrong.