Date: Tue, 14 Feb 2006 07:41:03 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91736 for review Message-ID: <200602140741.k1E7f3I1069162@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91736 Change 91736 by kmacy@kmacy_storage:sun4v_work on 2006/02/14 07:40:01 remove references to non-existent version register Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/md_var.h#2 edit .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/identcpu.c#2 edit .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/machdep.c#2 edit .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tick.c#2 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/md_var.h#2 (text+ko) ==== @@ -54,10 +54,11 @@ void utrap_free(struct md_utrap *ut); struct md_utrap *utrap_hold(struct md_utrap *ut); -cpu_block_copy_t spitfire_block_copy; -cpu_block_zero_t spitfire_block_zero; extern cpu_block_copy_t *cpu_block_copy; extern cpu_block_zero_t *cpu_block_zero; +#define UNIMPLEMENTED panic("%s not implemented", __FUNCTION__) + + #endif /* !_MACHINE_MD_VAR_H_ */ ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/identcpu.c#2 (text+ko) ==== @@ -25,8 +25,6 @@ SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, cpu_model, 0, "Machine model"); -int cpu_impl; - void setPQL2(int *const size, int *const ways); void ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/machdep.c#2 (text+ko) ==== @@ -284,12 +284,6 @@ kmdp = NULL; /* - * Find out what kind of cpu we have first, for anything that changes - * behaviour. - */ - cpu_impl = VER_IMPL(rdpr(ver)); - - /* * Initialize Open Firmware (needed for console). */ OF_init(vec); ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tick.c#2 (text+ko) ==== @@ -192,8 +192,5 @@ void tick_stop(void) { - - if (cpu_impl >= CPU_IMPL_ULTRASPARCIII) - wr(asr25, 1L << 63, 0); - wrtickcmpr(1L << 63, 0); + UNIMPLEMENTED; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602140741.k1E7f3I1069162>