forked from KolibriOS/kolibrios
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:
parent
a10dac99de
commit
b0a21af9f0
@ -1922,8 +1922,18 @@ sys_getsetup:
|
|||||||
ret
|
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
|
; F.26.11 - Find out whether low-level HD access is enabled
|
||||||
sub ebx, 2
|
sub ebx, 1
|
||||||
jnz @f
|
jnz @f
|
||||||
|
|
||||||
mov eax, [lba_read_enabled]
|
mov eax, [lba_read_enabled]
|
||||||
|
Loading…
Reference in New Issue
Block a user