Kernel: fn.26.10 get the time from kernel launch in nanoseconds

git-svn-id: svn://kolibrios.org@5794 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2015-09-04 16:27:40 +00:00
parent a10dac99de
commit b0a21af9f0

View File

@ -1922,8 +1922,18 @@ sys_getsetup:
ret
;--------------------------------------
@@:
; F.26.10 - get the time from kernel launch in nanoseconds
sub ebx, 1
jnz @f
call get_clock_ns
mov [esp+24], edx
mov [esp+32], eax
ret
;--------------------------------------
@@:
; F.26.11 - Find out whether low-level HD access is enabled
sub ebx, 2
sub ebx, 1
jnz @f
mov eax, [lba_read_enabled]