Subversion Repositories Kolibri OS

Rev

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

Rev 8160 Rev 8176
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: 8160 $
74
$Revision: 8176 $
Line 3962... Line 3962...
3962
        pushad
3962
        pushad
Line 3963... Line 3963...
3963
 
3963
 
3964
        cmp     [hpet_base], 0
3964
        cmp     [hpet_base], 0
3965
        jz      .no_hpet
3965
        jz      .no_hpet
3966
        mov     eax, esi
3966
        mov     eax, esi
3967
        mov     edx, 10_000_000 ; cs to ns
3967
        mov     edx, 1_000_000 ; ms to ns
3968
        mul     edx
3968
        mul     edx
3969
        mov     ebx, edx
3969
        mov     ebx, edx
Line 3970... Line 3970...
3970
        mov     ecx, eax
3970
        mov     ecx, eax