Subversion Repositories Kolibri OS

Rev

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

Rev 3481 Rev 3486
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
 
Line 74... Line 74...
74
$Revision: 3481 $
74
$Revision: 3486 $
Line 840... Line 840...
840
        xor     edx, edx
840
        xor     edx, edx
841
        shld    edx, eax, 2
841
        shld    edx, eax, 2
842
        shl     eax, 2
842
        shl     eax, 2
843
        mov     dword [cpu_freq], eax
843
        mov     dword [cpu_freq], eax
844
        mov     dword [cpu_freq+4], edx
844
        mov     dword [cpu_freq+4], edx
845
        mov     ebx, 1000000
-
 
846
        div     ebx
-
 
847
; ¢®®¡é¥-â® ¯à®¨§¢®¤¨â¥«ì­®áâì ¢ ¤ ­­®¬ ª®­ªà¥â­®¬ ¬¥áâ¥
-
 
848
; ᮢ¥à襭­® ­¥ªà¨â¨ç­ , ­® çâ®¡ë § âª­ãâì «î¡¨â¥«¥©
-
 
849
; ®¯â¨¬¨§¨àãîé¨å ª®¬¯¨«ïâ®à®¢ Ÿ‚“...
-
 
850
;        mov     edx, 2251799814
-
 
851
;        mul     edx
-
 
852
;        shr     edx, 19
-
 
853
        mov     [stall_mcs], edx
-
 
854
; PRINT CPU FREQUENCY
845
; PRINT CPU FREQUENCY
855
        mov     esi, boot_cpufreq
846
        mov     esi, boot_cpufreq
856
        call    boot_log
847
        call    boot_log
Line 857... Line 848...
857
 
848