diff options
author | Marius Schilder <mschilder@google.com> | 2018-02-23 15:41:27 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-23 23:13:01 -0800 |
commit | 3c4800e59452a7124c34f563d548e09849d59b8d (patch) | |
tree | 24d3662e78c60791366d3761f54d5a615ca0fb7d /test/crc32.tasklist | |
parent | d57e5eb3128774732e3b3fe40c0f939d9aaeff1a (diff) | |
download | chrome-ec-3c4800e59452a7124c34f563d548e09849d59b8d.tar.gz |
ec: add crc32_ctx..() to take context parameter.
Add crc32_ctx.. functions to take context parameter.
This allows for multiple instances to exist in parallel.
Signed-off-by: mschilder@google.com
TEST=make buildall -j8 succeeds
BRANCH=none
BUG=b:73832883
Change-Id: I66bbc56377eeebf01c790caad0bc4c7a51a1bc58
Reviewed-on: https://chromium-review.googlesource.com/935825
Commit-Ready: Marius Schilder <mschilder@chromium.org>
Tested-by: Marius Schilder <mschilder@chromium.org>
Reviewed-by: Marius Schilder <mschilder@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'test/crc32.tasklist')
-rw-r--r-- | test/crc32.tasklist | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/crc32.tasklist b/test/crc32.tasklist new file mode 100644 index 0000000000..30e5f7fc22 --- /dev/null +++ b/test/crc32.tasklist @@ -0,0 +1,17 @@ +/* Copyright 2016 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. + */ + +/** + * List of enabled tasks in the priority order + * + * The first one has the lowest priority. + * + * For each task, use the macro TASK_TEST(n, r, d, s) where : + * 'n' in the name of the task + * 'r' in the main routine of the task + * 'd' in an opaque parameter passed to the routine at startup + * 's' is the stack size in bytes; must be a multiple of 8 + */ +#define CONFIG_TEST_TASK_LIST |