PERFORCE change 126181 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sat Sep 8 09:00:08 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126181
Change 126181 by gonzo at gonzo_jeeves on 2007/09/08 15:59:39
o Use hardcoded frequency settings
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips32/idt/idt_machdep.c#3 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips32/idt/idt_machdep.c#3 (text+ko) ====
@@ -152,7 +152,7 @@
platform_start(int argc, char **argv)
{
vm_offset_t kernend;
- uint64_t platform_counter_freq = 175 * 1000 * 1000;
+ uint64_t platform_counter_freq;
/* clear the BSS and SBSS segments */
kernend = round_page((vm_offset_t)&end);
@@ -161,7 +161,7 @@
cninit();
mips_init();
/* Set counter_freq for tick_init_params() */
- platform_counter_freq = 175 * 1000 * 1000;
+ platform_counter_freq = 330000000UL;
- tick_init_params(platform_counter_freq, 0);
+ tick_init_params(platform_counter_freq, 1);
}
More information about the p4-projects
mailing list