[idd] lgmp: expose stream allocation

Expose LGMP stream creation through the existing IDD host wrapper so
subsystem transports do not reach through its ownership boundary.

Keep stream lifetime and binding under each transport while the host
continues to own the underlying shared-memory allocator.
This commit is contained in:
Geoffrey McRae
2026-08-15 13:46:31 +10:00
parent 5ddaa98ea9
commit 6c412e0307
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
extern "C" {
#include "lgmp/host.h"
#include "lgmp/stream.h"
}
class CIVSHMEM;
@@ -54,6 +55,8 @@ public:
LGMP_STATUS CreateQueue(const struct LGMPQueueConfig& config,
PLGMPHostQueue * queue);
LGMP_STATUS CreateStream(const struct LGMPStreamConfig& config,
PLGMPHostStream * stream);
LGMP_STATUS Allocate(uint32_t size, PLGMPMemory * memory);
LGMP_STATUS AllocateAligned(uint32_t size, uint32_t alignment,
PLGMPMemory * memory);