diff options
Diffstat (limited to 'include/host_command.h')
-rw-r--r-- | include/host_command.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h new file mode 100644 index 0000000000..fc39683c06 --- /dev/null +++ b/include/host_command.h @@ -0,0 +1,19 @@ +/* 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" + +/* Initializes the module. */ +int host_command_init(void); + +/* Called by LPC module when a command is written to port 66h. */ +void host_command_received(int command); + +#endif /* __CROS_EC_HOST_COMMAND_H */ |