[common] clipboard: define stream transport

Replace the single 1 MiB clipboard slot with a four-record 256 KiB
window while retaining a 1 MiB logical file-read limit.

Advertise transport capabilities and duplex stream descriptors in the
clipboard status. Make each claim select one data plane for its entire
owner generation so control and payload ordering cannot be mixed.

Bump the clipboard, KVMFR, and Helper mapping versions for the new
wire layouts and shared-memory geometry.
This commit is contained in:
Geoffrey McRae
2026-08-15 13:55:15 +10:00
parent 6c412e0307
commit 10b32cb883
3 changed files with 71 additions and 9 deletions

View File

@@ -26,7 +26,7 @@
#include <stdint.h>
static constexpr uint32_t LG_CLIPBOARD_MAPPING_MAGIC = 0x4c474342U;
static constexpr uint32_t LG_CLIPBOARD_MAPPING_VERSION = 4U;
static constexpr uint32_t LG_CLIPBOARD_MAPPING_VERSION = 5U;
struct ClipboardRingSlot
{