From b743b1a843e1204ca27deb04050b0a0f6c828add Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 13 Jul 2016 12:00:49 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/15684 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/include/halt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/halt.h b/src/include/halt.h index d31c2ca181..7ecd41a6cd 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__ */ -- cgit v1.2.3