@@ -25,22 +25,23 @@ extern "C" {
2525#endif
2626
2727/* Configurable parameters */
28- #define RPMSG_NAME_SIZE (32)
29- #define RPMSG_ADDR_BMP_SIZE (128)
28+ #define RPMSG_NAME_SIZE (32)
29+ #define RPMSG_ADDR_BMP_SIZE (128)
3030
31- #define RPMSG_NS_EPT_ADDR (0x35)
32- #define RPMSG_ADDR_ANY 0xFFFFFFFF
31+ #define RPMSG_NS_EPT_ADDR (0x35)
32+ #define RPMSG_RESERVED_ADDRESSES (1024)
33+ #define RPMSG_ADDR_ANY 0xFFFFFFFF
3334
3435/* Error macros. */
35- #define RPMSG_SUCCESS 0
36- #define RPMSG_ERROR_BASE -2000
37- #define RPMSG_ERR_NO_MEM (RPMSG_ERROR_BASE - 1)
38- #define RPMSG_ERR_NO_BUFF (RPMSG_ERROR_BASE - 2)
39- #define RPMSG_ERR_PARAM (RPMSG_ERROR_BASE - 3)
40- #define RPMSG_ERR_DEV_STATE (RPMSG_ERROR_BASE - 4)
41- #define RPMSG_ERR_BUFF_SIZE (RPMSG_ERROR_BASE - 5)
42- #define RPMSG_ERR_INIT (RPMSG_ERROR_BASE - 6)
43- #define RPMSG_ERR_ADDR (RPMSG_ERROR_BASE - 7)
36+ #define RPMSG_SUCCESS 0
37+ #define RPMSG_ERROR_BASE -2000
38+ #define RPMSG_ERR_NO_MEM (RPMSG_ERROR_BASE - 1)
39+ #define RPMSG_ERR_NO_BUFF (RPMSG_ERROR_BASE - 2)
40+ #define RPMSG_ERR_PARAM (RPMSG_ERROR_BASE - 3)
41+ #define RPMSG_ERR_DEV_STATE (RPMSG_ERROR_BASE - 4)
42+ #define RPMSG_ERR_BUFF_SIZE (RPMSG_ERROR_BASE - 5)
43+ #define RPMSG_ERR_INIT (RPMSG_ERROR_BASE - 6)
44+ #define RPMSG_ERR_ADDR (RPMSG_ERROR_BASE - 7)
4445
4546struct rpmsg_endpoint ;
4647struct rpmsg_device ;
0 commit comments