diff options
author | Randall Spangler <rspangler@chromium.org> | 2011-12-08 14:16:03 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2011-12-08 16:18:20 -0800 |
commit | 20886cb9c0b0f6bed0a404a73c0d9787f4879598 (patch) | |
tree | 698947b11624a67cc700c6e236a279eefb0ec801 /include/host_command.h | |
parent | 9a545441d76eb308c85446042098d5c096548add (diff) | |
download | chrome-ec-20886cb9c0b0f6bed0a404a73c0d9787f4879598.tar.gz |
Add user-mode LPC endpoint
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=none
TEST='ectool hello' on target system
Change-Id: I39845c2ea107ea6f85ef556d58e49343f5a0e9c0
Diffstat (limited to 'include/host_command.h')
-rw-r--r-- | include/host_command.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/host_command.h b/include/host_command.h index fc39683c06..9c2dda2a69 100644 --- a/include/host_command.h +++ b/include/host_command.h @@ -10,10 +10,8 @@ #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); +/* 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 */ |