summaryrefslogtreecommitdiff
path: root/test/thermal.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2012-05-31 21:34:25 +0800
committerGerrit <chrome-bot@google.com>2012-06-25 07:15:50 -0700
commit7ae80c05522afb393eac816e5e4e9f3993e1b1ed (patch)
tree1c070402690ce658908ec659beab63c6f72cb4e1 /test/thermal.tasklist
parent80c635ecabdd398c20441cfd4dadb00c7eb76720 (diff)
downloadchrome-ec-7ae80c05522afb393eac816e5e4e9f3993e1b1ed.tar.gz
Thermal engine unit test
This test checks for the functionality of thermal engine. BUG=chrome-os-partner:10241 TEST=Test passed Disable thermal engine overheating warning and test failed Change-Id: Ideb0ff9ee4bd1617b11c56dfa2578a3f406381ff Reviewed-on: https://gerrit.chromium.org/gerrit/25370 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Vic Yang <victoryang@chromium.org> Commit-Ready: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'test/thermal.tasklist')
-rw-r--r--test/thermal.tasklist22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/thermal.tasklist b/test/thermal.tasklist
new file mode 100644
index 0000000000..87f1d0d302
--- /dev/null
+++ b/test/thermal.tasklist
@@ -0,0 +1,22 @@
+/* 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(TEMPSENSOR, temp_sensor_task, NULL) \
+ TASK(THERMAL, thermal_task, NULL) \
+ TASK(PWM, pwm_task, NULL) \
+ TASK(X86POWER, x86_power_task, NULL) \
+ TASK(CONSOLE, console_task, NULL)