From 5e88b2cdeb209e56a108e18910ef8d926783a4e6 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sat, 11 May 2013 20:53:01 +0000 Subject: [PATCH] kernel: show cpu frequency in Mhz, not Hz git-svn-id: svn://kolibrios.org@3502 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 8d751e6a5d..72918eb722 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -843,6 +843,8 @@ end if shl eax, 2 mov dword [cpu_freq], eax mov dword [cpu_freq+4], edx + mov ebx, 1000000 + div ebx mov ebx, eax movzx ecx, word [boot_y]