Files
RedBear-OS/local
vasilito 4d4f67a1b4 patches/syscall: add P1-acpiverb-enter-exit-s2idle.patch (Phase I)
Phase I: hardware-agnostic s2idle / Modern Standby support.

The patch adds two new AcpiVerb enum variants to upstream
redox-os/syscall 0.8.1:

* EnterS2Idle (= 3) — acpid requests the kernel enter s2idle.
* ExitS2Idle  (= 4) — acpid signals s2idle exit.

The kernel-side wire is in local/sources/kernel/src/scheme/acpi.rs
(see kernel master @ 7a38664 for the [patch.crates-io] update that
points Cargo at local/sources/syscall).

The patch is durable in the outer RedBear-OS repo so that:
* The upstream base is at local/sources/syscall/ (own git repo,
  no version change from 0.8.1).
* When upstream updates, the inner repo is rebased on
  upstream/master and this patch is re-applied to the new
  upstream HEAD.
* The same patch is also applied to local/sources/syscall/
  in the inner git history (commit cfa7f0c), so the local fork
  has the same content the build system uses.

Hardware-agnostic: works for any platform with Modern Standby
firmware (Dell, HP, Lenovo, LG Gram, etc.), not just LG Gram.
2026-07-01 04:53:55 +03:00
..