diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-07-13 12:00:49 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-07-15 08:35:15 +0200 |
commit | b743b1a843e1204ca27deb04050b0a0f6c828add (patch) | |
tree | bf864861ec280290601bb00c2a1cebbec553dfa2 /src/include | |
parent | f1e22d5c39cd341f90463908a6cfe5db4fecacda (diff) |
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@chromium.org>
Reviewed-on: https://review.coreboot.org/15684
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/halt.h | 4 |
1 files changed, 4 insertions, 0 deletions
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__ */ |