1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Texas Instruments' Message Manager 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 5*4882a593Smuzhiyun * Nishanth Menon 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * This program is free software; you can redistribute it and/or modify 8*4882a593Smuzhiyun * it under the terms of the GNU General Public License version 2 as 9*4882a593Smuzhiyun * published by the Free Software Foundation. 10*4882a593Smuzhiyun * 11*4882a593Smuzhiyun * This program is distributed "as is" WITHOUT ANY WARRANTY of any 12*4882a593Smuzhiyun * kind, whether express or implied; without even the implied warranty 13*4882a593Smuzhiyun * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14*4882a593Smuzhiyun * GNU General Public License for more details. 15*4882a593Smuzhiyun */ 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun #ifndef TI_MSGMGR_H 18*4882a593Smuzhiyun #define TI_MSGMGR_H 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun /** 21*4882a593Smuzhiyun * struct ti_msgmgr_message - Message Manager structure 22*4882a593Smuzhiyun * @len: Length of data in the Buffer 23*4882a593Smuzhiyun * @buf: Buffer pointer 24*4882a593Smuzhiyun * 25*4882a593Smuzhiyun * This is the structure for data used in mbox_send_message 26*4882a593Smuzhiyun * the length of data buffer used depends on the SoC integration 27*4882a593Smuzhiyun * parameters - each message may be 64, 128 bytes long depending 28*4882a593Smuzhiyun * on SoC. Client is supposed to be aware of this. 29*4882a593Smuzhiyun */ 30*4882a593Smuzhiyun struct ti_msgmgr_message { 31*4882a593Smuzhiyun size_t len; 32*4882a593Smuzhiyun u8 *buf; 33*4882a593Smuzhiyun }; 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun #endif /* TI_MSGMGR_H */ 36