diff options
author | Jett Rink <jettrink@chromium.org> | 2019-04-09 13:26:18 -0600 |
---|---|---|
committer | Jett Rink <jettrink@chromium.org> | 2019-04-24 21:06:49 +0000 |
commit | d6cc4f14205a00b6d17d22fb7e74a0c8b063ec85 (patch) | |
tree | 5657bcfb06db820159ebee8d46abe28688e38bf9 /include/host_command_heci.h | |
parent | 0f15b8e5a3583cac214ea93b97918e25d5ff88bc (diff) | |
download | chrome-ec-d6cc4f14205a00b6d17d22fb7e74a0c8b063ec85.tar.gz |
mkbp: take timestamp closer to hardware interrupt
We want to ensure that the timestamp we take for last mkbp is as close
to the actual hardware interrupt from EC->AP.
BRANCH=none
BUG=b:129159505
TEST=passing CTS sensor run (except test 133 nullptr) with this change
Change-Id: I94b214f021f0b63ff2883e5fe8e32acc83ce208f
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1560390
Tested-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Enrico Granata <egranata@chromium.org>
Reviewed-by: Mathew King <mathewk@chromium.org>
Commit-Queue: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Diffstat (limited to 'include/host_command_heci.h')
-rw-r--r-- | include/host_command_heci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/host_command_heci.h b/include/host_command_heci.h index af85178e8a..1dcb054ff6 100644 --- a/include/host_command_heci.h +++ b/include/host_command_heci.h @@ -7,6 +7,6 @@ #define __HOST_COMMAND_HECI_H /* send an event message to the ap */ -void heci_send_mkbp_event(void); +int heci_send_mkbp_event(uint32_t *timestamp); #endif /* __HOST_COMMAND_HECI_H */ |