diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-11-04 11:24:30 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-11-05 02:32:40 +0000 |
commit | efb6bc76553ca8c425a3c6683fbf2790d030064e (patch) | |
tree | a7e60695e169f54e42abc592bfff53f48883c3bf /common/keyboard_8042.c | |
parent | 5d672b91a7f0d83e278b6f48dbd29105aabfb897 (diff) | |
download | chrome-ec-efb6bc76553ca8c425a3c6683fbf2790d030064e.tar.gz |
Pad jump tags to 4 bytes inside the system module
That way all the users of jump tags don't need to know about the
padding requirements.
BUG=chrome-os-partner:23851
BRANCH=none
TEST=enable CONFIG_CMD_JUMPTAGS, then 'jumptags'. Output should be
something like this:
20007fbc: 0x5550 UP.1 2
20007fc4: 0x4b42 KB.2 3
20007fcc: 0x4c50 LP.1 12
20007fdc: 0x4d54 MT.1 8
All the addresses in the first column should be word-aligned. The
sizes in the last column don't need to be a multiple of 4.
Change-Id: I91f9c29701a007ef8a56b5b7e0ea09930dfbea31
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175591
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/keyboard_8042.c')
-rw-r--r-- | common/keyboard_8042.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/keyboard_8042.c b/common/keyboard_8042.c index 566864e958..c3791e0068 100644 --- a/common/keyboard_8042.c +++ b/common/keyboard_8042.c @@ -148,7 +148,6 @@ struct kb_state { uint8_t codeset; uint8_t ctlram; uint8_t keystroke_enabled; - uint8_t pad; /* Pad to 4 bytes for system_add_jump_tag(). */ }; /* The standard Chrome OS keyboard matrix table. */ |