rpmsg_env_specific.h 1019 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright 2021,2023 NXP
  3. * All rights reserved.
  4. *
  5. *
  6. * SPDX-License-Identifier: BSD-3-Clause
  7. */
  8. /**************************************************************************
  9. * FILE NAME
  10. *
  11. * rpmsg_env_specific.h
  12. *
  13. * DESCRIPTION
  14. *
  15. * This file contains QNX specific constructions.
  16. *
  17. **************************************************************************/
  18. #ifndef RPMSG_ENV_SPECIFIC_H_
  19. #define RPMSG_ENV_SPECIFIC_H_
  20. #include <stdint.h>
  21. #include "rpmsg_default_config.h"
  22. typedef struct rpmsg_env_init
  23. {
  24. void *user_input; /* Pointer to user init cfg */
  25. uint32_t pa; /* Physical address of memory pool reserved for rpmsg */
  26. void *va; /* Virtual address of the memory pool */
  27. } rpmsg_env_init_t;
  28. typedef struct
  29. {
  30. uint32_t src;
  31. void *data;
  32. uint32_t len;
  33. } rpmsg_queue_rx_cb_data_t;
  34. #if defined(RL_USE_STATIC_API) && (RL_USE_STATIC_API == 1)
  35. #error "This RPMsg-Lite port requires RL_USE_STATIC_API set to 0"
  36. #endif
  37. #endif /* RPMSG_ENV_SPECIFIC_H_ */