diff options
author | Yuval Peress <peress@chromium.org> | 2020-11-02 12:11:11 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-08 19:31:12 +0000 |
commit | c47740eca17a2fe652b7bb13f5b2949687884e79 (patch) | |
tree | e8efbfdac3fc0f01520e0997560f0095297d4b79 /test/irq_locking.tasklist | |
parent | 25ae7edffcceb662d5d2ebe92d19bf6f191d8bd5 (diff) | |
download | chrome-ec-c47740eca17a2fe652b7bb13f5b2949687884e79.tar.gz |
Zephyr: add more compliant implementation for irq_(un)lock
This change replaces the stubbed irq_(un)lock static functions
defined in task.h with new functions that behave more like the
Zephyr implementation of irq_(un)lock functions. This should
make the migration from interrupt_(dis|en)able to Zephyr more
seamless.
BRANCH=none
BUG=b:172060699
TEST=Added unit tests, make runtests -j, and built for various
boards: eve, volteer, arcada_ish, atlas, hatch, kohaku,
nocturne, samus, and scarlet
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ia7ad2b8d7d411a11699353bf5d3cc36a261fad14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2511720
Diffstat (limited to 'test/irq_locking.tasklist')
-rw-r--r-- | test/irq_locking.tasklist | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/irq_locking.tasklist b/test/irq_locking.tasklist new file mode 100644 index 0000000000..2d7fbb0541 --- /dev/null +++ b/test/irq_locking.tasklist @@ -0,0 +1,9 @@ +/* Copyright 2020 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. + */ + +/** + * See CONFIG_TASK_LIST in config.h for details. + */ +#define CONFIG_TEST_TASK_LIST /* No test task. */ |