From 31fb76dc641dfdcdbde2fd6447168967d6c5c1c2 Mon Sep 17 00:00:00 2001 From: Mathew King Date: Wed, 6 Mar 2019 10:41:38 -0700 Subject: arcada_ish: Send MKBP events over HECI This adds a 4 byte header to the HECI messages so that host commands and MKBP events can share the same HECI client. BUG=b:123634700 TEST=make buildall -j, turning on the FIFO and to enable these events is in the next cl BRANCH=none Change-Id: I3fe8dd4356bceba26ef3bf1fbff7906c5c4bf75e Signed-off-by: Mathew King Reviewed-on: https://chromium-review.googlesource.com/1506414 Tested-by: Jett Rink Reviewed-by: Jett Rink --- include/host_command_heci.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/host_command_heci.h (limited to 'include/host_command_heci.h') diff --git a/include/host_command_heci.h b/include/host_command_heci.h new file mode 100644 index 0000000000..af85178e8a --- /dev/null +++ b/include/host_command_heci.h @@ -0,0 +1,12 @@ +/* Copyright 2018 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. + */ + +#ifndef __HOST_COMMAND_HECI_H +#define __HOST_COMMAND_HECI_H + +/* send an event message to the ap */ +void heci_send_mkbp_event(void); + +#endif /* __HOST_COMMAND_HECI_H */ -- cgit v1.2.1