mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Mathieu Poirier](/assets/img/avatar_default.png)
Introduce __rpmsg{16|32|64} types along with byte order conversion functions based on an rpmsg_device operation as a foundation to make RPMSG modular and transport agnostic. Tested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Suggested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20201120214245.172963-2-mathieu.poirier@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
11 lines
303 B
C
11 lines
303 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPI_LINUX_RPMSG_TYPES_H
|
|
#define _UAPI_LINUX_RPMSG_TYPES_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
typedef __u16 __bitwise __rpmsg16;
|
|
typedef __u32 __bitwise __rpmsg32;
|
|
typedef __u64 __bitwise __rpmsg64;
|
|
|
|
#endif /* _UAPI_LINUX_RPMSG_TYPES_H */
|