Date: Sat, 8 Sep 2007 16:00:07 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 126181 for review Message-ID: <200709081600.l88G07Ws055366@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126181 Change 126181 by gonzo@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709081600.l88G07Ws055366>