Kernel/armv7 - [realview_pb] Implemented basic timekeeping
[tpg/acess2.git] / KernelLand / Kernel / arch / armv7 / time.c
index d4ae4fa..7be097f 100644 (file)
@@ -6,11 +6,14 @@
  */
 #include <acess.h>
 
+// === IMPORTS ===
+extern tTime   Time_GetTickOffset(void);
+
 // === GLOBALS ===
 tTime  giTimestamp;
 
 // === CODE ===
 tTime now(void)
 {
-       return giTimestamp;
+       return giTimestamp + Time_GetTickOffset();
 }

UCC git Repository :: git.ucc.asn.au