From 9ddb7e07086bf7724ac234c1e7844f435abc811c Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 18 Mar 2013 15:43:05 -0700 Subject: Rename tasks to HOOKS and CHIPSET Rename tasks TICK -> HOOKS The hooks task handles more than just the TICK hook now. X86POWER -> CHIPSET GAIAPOWER -> CHIPSET Kinda kludgy that the name of the task controls which chipset source gets included. Change this to a CONFIG_CHIPSET_{X86,GAIA} #define to make it easier to support future chipsets. Also, rename the task function to chipset_task() so ec.tasklist is chipset-agnostic. No code changes, just renaming constants and functions. BUG=none BRANCH=none TEST=build bds,link,daisy,snow,spring Change-Id: I163ce1cd27b2d8d030d42bb1f7eb46b880c244fb Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/45805 --- test/mutex.tasklist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/mutex.tasklist') diff --git a/test/mutex.tasklist b/test/mutex.tasklist index e27e9d385a..df7cb73e56 100644 --- a/test/mutex.tasklist +++ b/test/mutex.tasklist @@ -1,4 +1,4 @@ -/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2013 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. */ @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ + TASK(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ -- cgit v1.2.1