mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
As the RPMSG_ADDR_ANY is a valid src or dst address that can be set by user applications, migrate its definition in user API. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Link: https://lore.kernel.org/r/20210311140413.31725-3-arnaud.pouliquen@foss.st.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
30 lines
590 B
C
30 lines
590 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Copyright (c) 2016, Linaro Ltd.
|
|
*/
|
|
|
|
#ifndef _UAPI_RPMSG_H_
|
|
#define _UAPI_RPMSG_H_
|
|
|
|
#include <linux/ioctl.h>
|
|
#include <linux/types.h>
|
|
|
|
#define RPMSG_ADDR_ANY 0xFFFFFFFF
|
|
|
|
/**
|
|
* struct rpmsg_endpoint_info - endpoint info representation
|
|
* @name: name of service
|
|
* @src: local address
|
|
* @dst: destination address
|
|
*/
|
|
struct rpmsg_endpoint_info {
|
|
char name[32];
|
|
__u32 src;
|
|
__u32 dst;
|
|
};
|
|
|
|
#define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
|
|
#define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
|
|
|
|
#endif
|