History

rpmsg: Add short description of the IOCTL defined in UAPI.

Add a description of the IOCTLs and provide information on the default value of the source and destination addresses.

Arnaud Pouliquen committed 5 years ago

Commit 809328b1 parent 3093c3c1 file · +9 −2Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/rpmsg.h+9−2
@@ -14,8 +14,8 @@ · 13 unmodified lines
1414 /**
1515 * struct rpmsg_endpoint_info - endpoint info representation
1616 * @name: name of service
17− * @src: local address
18− * @dst: destination address
17+ * @src: local address. To set to RPMSG_ADDR_ANY if not used.
18+ * @dst: destination address. To set to RPMSG_ADDR_ANY if not used.
1919 */
2020 struct rpmsg_endpoint_info {
2121 char name[32];
@@ -23,7 +23,14 @@ struct rpmsg_endpoint_info { · 1 unmodified line
2323 __u32 dst;
2424 };
2525
26+/**
27+ * Instantiate a new rmpsg char device endpoint.
28+ */
2629 #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
30+
31+/**
32+ * Destroy a rpmsg char device endpoint created by the RPMSG_CREATE_EPT_IOCTL.
33+ */
2734 #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
2835
2936 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t