aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/elog/elog_internal.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-08-04 10:21:06 -0500
committerMartin Roth <martinroth@google.com>2016-08-08 22:02:50 +0200
commit422c440fa67d003a65196edac56318cd0da81bf6 (patch)
treea4300978edee6f1aac299a34102e7fda47a9733b /src/drivers/elog/elog_internal.h
parentbec07535ace0270a65d08e260ebfcd2f63ff5daf (diff)
drivers/elog: use offsets for checking cleared buffers
There's only 2 users of checking if the event buffer is cleared to the EOL value. Each were passing pointers of the in-memory mirror while also doing calculations for the size to check. Since the in-memory mirror is one big buffer the only thing required to know is the offset to start checking from. The check is always done through the end of the buffer. BUG=chrome-os-partner:55932 Change-Id: Icd4a7edc74407d6578fc93e9eb533abd3aa17277 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16096 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/elog/elog_internal.h')
0 files changed, 0 insertions, 0 deletions