dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _LINUX_RPMSG_NS_H
|
|
#define _LINUX_RPMSG_NS_H
|
|
|
|
#include <linux/mod_devicetable.h>
|
|
#include <linux/rpmsg.h>
|
|
#include <linux/rpmsg/byteorder.h>
|
|
#include <linux/types.h>
|
|
|
|
/**
|
|
* struct rpmsg_ns_msg - dynamic name service announcement message
|
|
* @name: name of remote service that is published
|
|
* @addr: address of remote service that is published
|
|
* @flags: indicates whether service is created or destroyed
|
|
*
|
|
* This message is sent across to publish a new service, or announce
|
|
* about its removal. When we receive these messages, an appropriate
|
|
* rpmsg channel (i.e device) is created/destroyed. In turn, the ->probe()
|
|
* or ->remove() handler of the appropriate rpmsg driver will be invoked
|
|
* (if/as-soon-as one is registered).
|
|
*/
|
|
struct rpmsg_ns_msg {
|
|
char name[RPMSG_NAME_SIZE];
|
|
__rpmsg32 addr;
|
|
__rpmsg32 flags;
|
|
} __packed;
|
|
|
|
/**
|
|
* enum rpmsg_ns_flags - dynamic name service announcement flags
|
|
*
|
|
* @RPMSG_NS_CREATE: a new remote service was just created
|
|
* @RPMSG_NS_DESTROY: a known remote service was just destroyed
|
|
*/
|
|
enum rpmsg_ns_flags {
|
|
RPMSG_NS_CREATE = 0,
|
|
RPMSG_NS_DESTROY = 1,
|
|
};
|
|
|
|
/* Address 53 is reserved for advertising remote services */
|
|
#define RPMSG_NS_ADDR (53)
|
|
|
|
int rpmsg_ns_register_device(struct rpmsg_device *rpdev);
|
|
|
|
#endif
|