On 10/21/24 18:35, Paolo Bonzini wrote:
@@ -566,7 +563,6 @@ pub fn update(&self) { /// # Safety /// /// We expect the FFI user of this function to pass a valid pointer for `chr`. -#[no_mangle] pub unsafe extern "C" fn pl011_create( addr: u64, irq: qemu_irq,
This _needs_ to be no_mangle actually, because it is called from C.
Paolo