From 02bf8f5334e06ca8eb76a5857dbcf354ccbd0cd4 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 6 Sep 2015 11:32:52 +0000 Subject: [PATCH] Documentation for sysfn 26,10. git-svn-id: svn://kolibrios.org@5810 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/docs/sysfuncs.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/docs/sysfuncs.txt b/kernel/trunk/docs/sysfuncs.txt index 4c9c338bfa..367c0fec9c 100644 --- a/kernel/trunk/docs/sysfuncs.txt +++ b/kernel/trunk/docs/sysfuncs.txt @@ -1447,7 +1447,21 @@ Returned value: Remarks: * Counter takes modulo 2^32, that correspond to a little more than 497 days. - * To get system time use function 3. + * To get system time use function 3. + +====================================================================== +===================== Function 26, subfunction 10 ==================== +========== Get the value of the high precision time counter. ========= +====================================================================== +Parameters: + * eax = 26 - function number + * ebx = 10 - subfunction number +Returned value: + * eax = number of nanoseconds since system boot time (lower DWORD) + * edx = number of nanoseconds since system boot time (high DWORD) +Remarks: + * The counter is based on HPET, if HPET is not available, resolution + will be reduced to 10 000 000 nanoseconds. ====================================================================== ===================== Function 26, subfunction 11 ====================