/****************************************************************************
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
* Copyright 2014 QLogic Corporation
* The contents of this file are subject to the terms of the
* QLogic End User License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing permissions
* and limitations under the License.
*
*
* Name: mcp_multi_thread.h
*
* Description: Multi-thread definition and structures
*
* Created: 10 Oct 2011 yanivr
****************************************************************************/
/****************************************************************************
* Include *
****************************************************************************/
#ifndef MULTI_THREAD_DEF_H
#define MULTI_THREAD_DEF_H
typedef enum {
// This enum is just for the complete picture.
// The running thread knows it is running so the only interesting state is the SLEEPING one
typedef enum {
IDLE,
typedef struct papo_arg_t {
} papo_t;
struct eeprom_arg_t {
};
struct task_t {
union {
}args;
};
struct tasks_queue_t {
};
#ifdef MFW
#else
#endif
struct mt_thread_stat {
};
struct thread_t {
u32 time_slice_ticks; /* Const value initialized once during compilation (only for the Network Manager) */
};
struct scheduler_stat_t {
};
struct scheduler_t {
};
// Main structure
struct multi_thread_t {
};
#endif // MULTI_THREAD_DEF_H