device and plugin boundary: kv_resolve, the streamed store rows, ABI 30

This commit is contained in:
C_Tamas committed 2026-10-24 19:19:19 +07:00
1 parent 5a9ce4912b
commit cce687bf2c
34 files changed
+3643 -29

No files matched your search

+7 -2
View File
@@ -549,6 +549,11 @@ void rad_event_destroy(RadEvent e) {
dev()->event_destroy(e);
}
int rad_event_record(RadEvent e, RadStream s) { return dev()->event_record(e, s); }
int rad_event_dma(RadEvent e, RadStream s, uint32_t** w) {
if (const auto f = dev()->event_dma) return f(e, s, w);
rad::device_set_error("rad_event_dma: the device backend has no DMA queue to complete an event");
return RAD_E_UNSUPPORTED;
}
int rad_event_wait(RadStream s, RadEvent e) { return dev()->event_wait(s, e); }
int rad_event_query(RadEvent e) { return dev()->event_query(e); }
int rad_event_sync(RadEvent e) {
@@ -630,8 +635,8 @@ void rad_ride_release(void* token, RadStream after, int64_t packets) {
if (const auto f = dev()->ride_release) f(token, after, packets);
}
int rad_xp_list(int device, void* mark, int n, const uint64_t* src, const uint64_t* dst, const uint64_t* bytes,
uint32_t* done, uint32_t done_val) {
if (const auto f = dev()->xp_list) return f(device, mark, n, src, dst, bytes, done, done_val);
uint32_t* done, uint32_t done_val, unsigned flags) {
if (const auto f = dev()->xp_list) return f(device, mark, n, src, dst, bytes, done, done_val, flags);
return RAD_E_UNSUPPORTED;
}
int64_t rad_xp_behind(int device) {