Subversion Repositories Kolibri OS

Rev

Rev 5792 | Rev 5836 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5792 Rev 5794
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 5792 $
74
$Revision: 5794 $
Line 1920... Line 1920...
1920
        mov     eax, [timer_ticks]
1920
        mov     eax, [timer_ticks]
1921
        mov     [esp+32], eax
1921
        mov     [esp+32], eax
1922
        ret
1922
        ret
1923
;--------------------------------------
1923
;--------------------------------------
1924
@@:
1924
@@:
-
 
1925
; F.26.10 - get the time from kernel launch in nanoseconds
-
 
1926
        sub     ebx, 1
-
 
1927
        jnz     @f
-
 
1928
 
-
 
1929
        call    get_clock_ns
-
 
1930
        mov     [esp+24], edx
-
 
1931
        mov     [esp+32], eax
-
 
1932
        ret
-
 
1933
;--------------------------------------
-
 
1934
@@:
1925
; F.26.11 - Find out whether low-level HD access is enabled
1935
; F.26.11 - Find out whether low-level HD access is enabled
1926
        sub     ebx, 2
1936
        sub     ebx, 1
1927
        jnz     @f
1937
        jnz     @f
Line 1928... Line 1938...
1928
 
1938
 
1929
        mov     eax, [lba_read_enabled]
1939
        mov     eax, [lba_read_enabled]
1930
        mov     [esp+32], eax
1940
        mov     [esp+32], eax