Subversion Repositories Kolibri OS

Rev

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

Rev 5787 Rev 5791
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 5787 $
8
$Revision: 5791 $
9
 
9
 
10
 
10
 
Line 621... Line 621...
621
        movzx   eax, ah
621
        movzx   eax, ah
622
        mov     [hpet_timers-OS_BASE], eax
622
        mov     [hpet_timers-OS_BASE], eax
623
        mov     ecx, eax
623
        mov     ecx, eax
Line 624... Line 624...
624
 
624
 
625
        mov     eax, [ebx+HPET_PERIOD]
625
        mov     eax, [ebx+HPET_PERIOD]
626
        mov     edx, 0x431BDE83
626
        xor     edx, edx
627
        mul     edx
627
        shld    edx, eax, 10
-
 
628
        shl     eax, 10
-
 
629
        mov     esi, 1000000
628
        shr     edx, 18
630
        div     esi
Line 629... Line 631...
629
        mov     [hpet_period-OS_BASE], edx
631
        mov     [hpet_period-OS_BASE], eax
630
 
632
 
631
        mov     esi, [ebx+HPET_CFG]
633
        mov     esi, [ebx+HPET_CFG]