[coreboot-gerrit] Patch set updated for coreboot: lib: add poweroff() declaration

Aaron Durbin (adurbin@chromium.org) gerrit at coreboot.org
Thu Jul 14 21:13:47 CEST 2016


Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15684

-gerrit

commit 712ce495aa1f06e5805e9ec7a50bcfa1c2ddc4d7
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Wed Jul 13 12:00:49 2016 -0500

    lib: add poweroff() declaration
    
    Add a function to power off the system within the halt.h header.
    
    BUG=chrome-os-partner:54977
    
    Change-Id: I21ca9de38d4ca67c77272031cc20f3f1d015f8fa
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/include/halt.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/include/halt.h b/src/include/halt.h
index d31c2ca..7ecd41a 100644
--- a/src/include/halt.h
+++ b/src/include/halt.h
@@ -25,4 +25,8 @@
  */
 void __attribute__((noreturn)) halt(void);
 #endif /* __ROMCC__ */
+
+/* Power off the system. */
+void poweroff(void);
+
 #endif /* __HALT_H__ */



More information about the coreboot-gerrit mailing list