shmem.h 593 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-11-26 GuEe-GUI first version
  9. */
  10. #ifndef __SCMI_SHMEM_H__
  11. #define __SCMI_SHMEM_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. struct scmi_shared_mem;
  15. rt_err_t scmi_shmem_msg_write(struct scmi_shared_mem *shmem, struct rt_scmi_msg *msg);
  16. rt_err_t scmi_shmem_msg_read(struct scmi_shared_mem *shmem, struct rt_scmi_msg *msg);
  17. void scmi_shmem_clear_channel(struct scmi_shared_mem *shmem);
  18. #endif /* __SCMI_SHMEM_H__ */