From 66c2b8b255d145d2f5a6a7c5435220b7a2e8bd89 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 13 Sep 2018 20:33:53 +0000 Subject: [PATCH] Process: remove duplicated function git-svn-id: svn://kolibrios.org@7357 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/process/process.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/programs/cmm/process/process.c b/programs/cmm/process/process.c index 507c4e6aa2..949660d2ac 100644 --- a/programs/cmm/process/process.c +++ b/programs/cmm/process/process.c @@ -47,19 +47,12 @@ checkbox show_system = { T_SHOW_SYSTEM_PROCESSES, false }; // // //===================================================// -void GetCpuFrequency() { - EAX = 18; - EBX = 5; - $int 0x40 - maxcpu = EAX; -} - void main() { int btn; load_dll(boxlib, #box_lib_init,0); SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER); - GetCpuFrequency(); + maxcpu = GetCpuFrequency(); loop() { WaitEventTimeout(50);