forked from KolibriOS/kolibrios
kernel: show cpu frequency in Mhz, not Hz
git-svn-id: svn://kolibrios.org@3502 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b9d4fa554f
commit
5e88b2cdeb
@ -843,6 +843,8 @@ end if
|
|||||||
shl eax, 2
|
shl eax, 2
|
||||||
mov dword [cpu_freq], eax
|
mov dword [cpu_freq], eax
|
||||||
mov dword [cpu_freq+4], edx
|
mov dword [cpu_freq+4], edx
|
||||||
|
mov ebx, 1000000
|
||||||
|
div ebx
|
||||||
mov ebx, eax
|
mov ebx, eax
|
||||||
|
|
||||||
movzx ecx, word [boot_y]
|
movzx ecx, word [boot_y]
|
||||||
|
Loading…
Reference in New Issue
Block a user