Skip to content

Commit

Permalink
DfciPkg/DfciSettings.h: Add new DFCI settings (#240)
Browse files Browse the repository at this point in the history
## Description

Adding DFCI settings for two more power policies: After Power Loss, and
Always on.
- After Power Loss will boot the device back to the previous state
before power loss.
- Always on will always boot the device up to S0. 

The difference between the behaviors of the two modes is `Always On`
will boot it up even if power was yanked in the shutdown state.

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
  • Loading branch information
damonhunka authored Aug 5, 2024
1 parent 0262f7d commit 2dd22c3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions DfciPkg/Include/Settings/DfciSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
//
#define DFCI_STD_SETTING_ID_V4_ENABLE_WAKE_ON_POWER "Dfci4.WakeOnPower.Enable"

//
// Enable or Disable Wake After Power Loss.
//
#define DFCI_STD_SETTING_ID_V4_ENABLE_WAKE_AFTER_POWER_LOSS "Dfci4.WakeAfterPowerLoss.Enable"

//
// Enable or Disable Wake Always
//
#define DFCI_STD_SETTING_ID_V4_ENABLE_WAKE_ALWAYS "Dfci4.WakeAlways.Enable"

//
// Enable or Disable the Front Camera(s).
//
Expand Down

0 comments on commit 2dd22c3

Please sign in to comment.