From e4ddfb303cd14be1275d1b0381696fccf4f7b426 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 11 Dec 2018 16:47:34 +0800 Subject: [PATCH] Revert "firmware/ksupport: Update `cfg(not(has_rtio))` stub signatures" release-4 does not have DRTIO switching nor the new RTIO CSR interface. This reverts commit a7d7e91188846669939c634818e8d6ff5056fff8. --- artiq/firmware/ksupport/rtio.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/artiq/firmware/ksupport/rtio.rs b/artiq/firmware/ksupport/rtio.rs index ccb6691ae..123d15d07 100644 --- a/artiq/firmware/ksupport/rtio.rs +++ b/artiq/firmware/ksupport/rtio.rs @@ -183,19 +183,15 @@ mod imp { unimplemented!("not(has_rtio)") } - pub extern fn get_destination_status(_destination: i32) -> bool { - unimplemented!("not(has_rtio)") - } - pub extern fn get_counter() -> i64 { unimplemented!("not(has_rtio)") } - pub extern fn output(_target: i32, _data: i32) { + pub extern fn output(_timestamp: i64, _channel: i32, _addr: i32, _data: i32) { unimplemented!("not(has_rtio)") } - pub extern fn output_wide(_target: i32, _data: CSlice) { + pub extern fn output_wide(_timestamp: i64, _channel: i32, _addr: i32, _data: CSlice) { unimplemented!("not(has_rtio)") } @@ -207,7 +203,7 @@ mod imp { unimplemented!("not(has_rtio)") } - pub fn log(_data: &[u8]) { + pub fn log(_timestamp: i64, _data: &[u8]) { unimplemented!("not(has_rtio)") } }