On 1/22/25 15:59, Zhao Liu wrote:
          if size > 0 {
              debug_assert!(!buf.is_null());
-            state.as_mut().put_fifo(c_uint::from(buf.read_volatile()))

An extra question...here I'm not sure, do we really need read_volatile?

No, the buffer is not guest visible. It will certainly go away together with chardev bindings.

Paolo


Reply via email to