shithub: riscv

Download patch

ref: 080cc49f5000a4e82c015af79dd6e489a33d3f68
parent: ed294a65cb3c9ac529dc21368960520a6aa2778a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Dec 30 10:17:27 EST 2014

zynq: implement µs()

--- a/sys/src/9/zynq/timer.c
+++ b/sys/src/9/zynq/timer.c
@@ -49,8 +49,7 @@
 ulong
 µs(void)
 {
-	NOPE
-	return 0;
+	return fastticks2us(fastticks(nil));
 }
 
 void