diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-12-09 16:05:28 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-12-17 21:27:53 +0000 |
commit | 616e70998d2ea08cc480baac6aa3be5964241bef (patch) | |
tree | 5d45045c4b3452895100895cb7782bc77d11a674 /include/ap_hang_detect.h | |
parent | 54b5c71f0d61d761b2b41635f0d5c13bc1a3445c (diff) | |
download | chrome-ec-616e70998d2ea08cc480baac6aa3be5964241bef.tar.gz |
Add AP hang detection
BUG=chrome-os-partner:24558
BRANCH=none
TEST=see procedure in bug
Change-Id: I42614a1da5f24c93b6267d81339ff9d721bf0d8f
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/180080
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/ap_hang_detect.h')
-rw-r--r-- | include/ap_hang_detect.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/ap_hang_detect.h b/include/ap_hang_detect.h new file mode 100644 index 0000000000..6c875887e5 --- /dev/null +++ b/include/ap_hang_detect.h @@ -0,0 +1,20 @@ +/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* Power button API for Chrome EC */ + +#ifndef __CROS_EC_AP_HANG_DETECT_H +#define __CROS_EC_AP_HANG_DETECT_H + +#include "common.h" + +/** + * If the hang detect timers were started and can be stopped by any host + * command, stop them. This is intended to be called by the the host command + * module. + */ +void hang_detect_stop_on_host_command(void); + +#endif /* __CROS_EC_AP_HANG_DETECT_H */ |