diff options
Diffstat (limited to 'include/host_command.h')
-rw-r--r-- | include/host_command.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h new file mode 100644 index 0000000000..9c2dda2a69 --- /dev/null +++ b/include/host_command.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2011 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. + */ + +/* Host command module for Chrome EC */ + +#ifndef __CROS_EC_HOST_COMMAND_H +#define __CROS_EC_HOST_COMMAND_H + +#include "common.h" + +/* Called by LPC module when a command is written to one of the + command slots (0=kernel, 1=user). */ +void host_command_received(int slot, int command); + +#endif /* __CROS_EC_HOST_COMMAND_H */ |