[OpenBIOS] [PATCH 5/5] ciface.fs: implement milliseconds service

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun May 4 19:29:43 CEST 2014


Now that all platforms have at least some implementation of get-msecs we can
just call it in order to implement the milliseconds service.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 openbios-devel/forth/system/ciface.fs |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/openbios-devel/forth/system/ciface.fs b/openbios-devel/forth/system/ciface.fs
index 727f0a3..1a2f5ee 100644
--- a/openbios-devel/forth/system/ciface.fs
+++ b/openbios-devel/forth/system/ciface.fs
@@ -296,8 +296,9 @@ external
 \ 6.3.2.7 Time
 \ -------------------------------------------------------------
 
-\ : milliseconds ( -- ms ) ;
-
+: milliseconds ( -- ms )
+  get-msecs
+;
 
 \ -------------------------------------------------------------
 \ arch?
-- 
1.7.10.4




More information about the OpenBIOS mailing list