mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 11:05:53 -04:00
rpmsg: Introduce __rpmsg{16|32|64} types
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>
This commit is contained in:
committed by
Bjorn Andersson
parent
3650b228f8
commit
6bef038011
11
include/uapi/linux/rpmsg_types.h
Normal file
11
include/uapi/linux/rpmsg_types.h
Normal file
@@ -0,0 +1,11 @@
|
||||
/* 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 */
|
||||
Reference in New Issue
Block a user