From 74a4aba2572fcf3bf6aab73226c2b38248a9df9d Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 13 Jan 2021 09:57:29 +0000 Subject: [PATCH] devices: Add notification value for power button Add a value to the ACPI notification type to indicate the power button is to be triggered. Signed-off-by: Rob Bradford --- devices/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/devices/src/lib.rs b/devices/src/lib.rs index 21378fc42..4d2f260a0 100644 --- a/devices/src/lib.rs +++ b/devices/src/lib.rs @@ -43,5 +43,6 @@ bitflags! { const CPU_DEVICES_CHANGED = 0b1; const MEMORY_DEVICES_CHANGED = 0b10; const PCI_DEVICES_CHANGED = 0b100; + const POWER_BUTTON_CHANGED = 0b1000; } }