ti-msgmgr.h 1.1 KB

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