diff options
author | Aymeric Wibo <obiwac@FreeBSD.org> | 2025-06-14 15:29:25 +0000 |
---|---|---|
committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2025-08-08 09:42:44 +0000 |
commit | 84bbfc32a3f47bd2e32741247afe516cbeff7789 (patch) | |
tree | 53b13b371a306a9db97df302d7b1f6f31e997d6a /bin/sh/tests/builtins/return8.0 | |
parent | 7988e7e1675d8414f2694c1ee4ed73ac214abfc4 (diff) |
Cherry-pick commit 0b76c0a from ACPICA (actypes: Distinguish between
D3hot/cold, and default `ACPI_STATE_D3` to D3cold).
The same distinction is made between `PCI_POWERSTATE_D3_HOT` and
`PCI_POWERSTATE_D3_COLD`, as they're defined by ACPI (and are asserted
to be the same).
D3cold is essentially the same as D3hot except the power resources are
turned off. Add support for D3cold to `acpi_pwr_switch_consumer`.
`acpi_d_state_to_str` replaces the `printf("D%d", d_state)` pattern,
allowing for "D3hot" and "D3cold" strings to be printed instead of just
"D3".
Reviewed by: markj, ziaee, mckusick (mentor)
Approved by: markj, mckusick (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48384
Diffstat (limited to 'bin/sh/tests/builtins/return8.0')
0 files changed, 0 insertions, 0 deletions