forked from M-Labs/artiq
1
0
Fork 0

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 a7d7e91188.
This commit is contained in:
Sebastien Bourdeauducq 2018-12-11 16:47:34 +08:00
parent a7d7e91188
commit e4ddfb303c
1 changed files with 3 additions and 7 deletions

View File

@ -183,19 +183,15 @@ mod imp {
unimplemented!("not(has_rtio)") unimplemented!("not(has_rtio)")
} }
pub extern fn get_destination_status(_destination: i32) -> bool {
unimplemented!("not(has_rtio)")
}
pub extern fn get_counter() -> i64 { pub extern fn get_counter() -> i64 {
unimplemented!("not(has_rtio)") 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)") unimplemented!("not(has_rtio)")
} }
pub extern fn output_wide(_target: i32, _data: CSlice<i32>) { pub extern fn output_wide(_timestamp: i64, _channel: i32, _addr: i32, _data: CSlice<i32>) {
unimplemented!("not(has_rtio)") unimplemented!("not(has_rtio)")
} }
@ -207,7 +203,7 @@ mod imp {
unimplemented!("not(has_rtio)") unimplemented!("not(has_rtio)")
} }
pub fn log(_data: &[u8]) { pub fn log(_timestamp: i64, _data: &[u8]) {
unimplemented!("not(has_rtio)") unimplemented!("not(has_rtio)")
} }
} }