blob: 84ccab5e4d37284d551933d84e5181590ee7cf09 [file] [log] [blame]
/********************************************************************************
* Marvell GPL License Option
*
* If you received this File from Marvell, you may opt to use, redistribute and/or
* modify this File in accordance with the terms and conditions of the General
* Public License Version 2, June 1991 (the "GPL License"), a copy of which is
* available along with the File in the license.txt file or by writing to the Free
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 or
* on the worldwide web at http://www.gnu.org/licenses/gpl.txt.
*
* THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE IMPLIED
* WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY
* DISCLAIMED. The GPL License provides additional details about this warranty
* disclaimer.
******************************************************************************/
#ifndef _TZ_NW_COMM_PROTOCOL_H_
#define _TZ_NW_COMM_PROTOCOL_H_
#include "types.h"
struct tz_nw_cmd {
/* task_id: for call, it's callee; for callback, it's caller */
uint32_t task_id;
uint32_t cmd_id;
uint32_t param;
uint32_t result;
uint32_t origin;
};
struct tz_nw_comm {
struct tz_nw_cmd call;
struct tz_nw_cmd callback;
};
#endif /* _TZ_NW_COMM_PROTOCOL_H_ */