Date: Mon, 3 Apr 2006 07:57:42 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94529 for review Message-ID: <200604030757.k337vgoI059998@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94529 Change 94529 by kmacy@kmacy_storage:sun4v_work on 2006/04/03 07:56:52 declare init_mondo() define cpu_spinwait() Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/cpu.h#4 edit .. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/sun4v_cpufunc.h#4 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/cpu.h#4 (text+ko) ==== @@ -45,7 +45,7 @@ #define cpu_getstack(td) ((td)->td_frame->tf_sp) #define cpu_setstack(td, sp) ((td)->td_frame->tf_sp = (sp)) -#define cpu_spinwait() /* nothing */ +#define cpu_spinwait() hv_cpu_yield(); /* * CTL_MACHDEP definitions. ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/sun4v_cpufunc.h#4 (text+ko) ==== @@ -37,7 +37,7 @@ void set_tsb_user_scratchpad(uint64_t); void set_hash_kernel_scratchpad(uint64_t); void set_tsb_kernel_scratchpad(uint64_t); - +void init_mondo(uint64_t func, uint64_t arg1, uint64_t arg2); static __inline void * set_tba(void *ntba)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604030757.k337vgoI059998>