rpmsg_env_specific.h 780 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2021 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 baremetal 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
  23. {
  24. uint32_t src;
  25. void *data;
  26. uint32_t len;
  27. } rpmsg_queue_rx_cb_data_t;
  28. #if defined(RL_USE_STATIC_API) && (RL_USE_STATIC_API == 1)
  29. typedef uint8_t LOCK_STATIC_CONTEXT;
  30. typedef uint8_t rpmsg_static_queue_ctxt;
  31. #endif
  32. #endif /* RPMSG_ENV_SPECIFIC_H_ */