diff --git a/src/runtime/batches.rs b/src/runtime/batches.rs new file mode 100644 index 0000000000000000000000000000000000000000..4dabc257a3f3c51a6e407d24a37b8454d5acf749 --- /dev/null +++ b/src/runtime/batches.rs @@ -0,0 +1,19 @@ +use std::ptr::NonNull; + +#[repr(C)] +pub struct PortOp { + port: u32, + buf_len: u32, + buf: Option>, +} + + +#[no_mangle] +pub extern "C" fn do_sync( + _ops_ptr: Option>, + _ops_len: usize, + _batch_ptr: Option>, + _batch_len: usize) +{ + // TODO +} \ No newline at end of file