summaryrefslogtreecommitdiff
path: root/test/timer_jump.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2012-06-15 13:59:07 +0800
committerGerrit <chrome-bot@google.com>2012-06-15 23:54:45 -0700
commitb8be40607ef74fa8a91690219437c7519570050b (patch)
tree87c3f171e16172da51971d4d6a7a25d60c050f0d /test/timer_jump.tasklist
parent8c55761613bd5f0b2bcac6c769256842218d96c1 (diff)
downloadchrome-ec-b8be40607ef74fa8a91690219437c7519570050b.tar.gz
Add a test of checking timer value when system jump
This test checks the sanity of timer value when jumping between images. BUG=chrome-os-partner:9188 TEST=Test passed Change-Id: If264e28e4ceec6ddb8325f3496825a40e7a038d8 Reviewed-on: https://gerrit.chromium.org/gerrit/25371 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Ready: Vic Yang <victoryang@chromium.org> Tested-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'test/timer_jump.tasklist')
-rw-r--r--test/timer_jump.tasklist19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/timer_jump.tasklist b/test/timer_jump.tasklist
new file mode 100644
index 0000000000..652e8fb6bd
--- /dev/null
+++ b/test/timer_jump.tasklist
@@ -0,0 +1,19 @@
+/* Copyright (c) 2012 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(n, r, d) 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
+ */
+#define CONFIG_TASK_LIST \
+ TASK(WATCHDOG, watchdog_task, NULL) \
+ TASK(CONSOLE, console_task, NULL) \
+ TASK(HOSTCMD, host_command_task, NULL)