Module Name: src Committed By: cliff Date: Thu Apr 14 05:15:22 UTC 2011
Modified Files: src/sys/arch/mips/rmi: rmixl_cpucorevar.h Log Message: - add sc_running flag to allow cpucore_rmixl_run() to do once-per-core initializations once we know what threads are configured - add sc_threads_enb and sc_threads_dis to track what threads are enabled by firmware and configured and attach, or not. - add prototype for cpucore_rmixl_run() To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/rmi/rmixl_cpucorevar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/rmi/rmixl_cpucorevar.h diff -u src/sys/arch/mips/rmi/rmixl_cpucorevar.h:1.2 src/sys/arch/mips/rmi/rmixl_cpucorevar.h:1.3 --- src/sys/arch/mips/rmi/rmixl_cpucorevar.h:1.2 Sun Feb 20 07:48:37 2011 +++ src/sys/arch/mips/rmi/rmixl_cpucorevar.h Thu Apr 14 05:15:22 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rmixl_cpucorevar.h,v 1.2 2011/02/20 07:48:37 matt Exp $ */ +/* $NetBSD: rmixl_cpucorevar.h,v 1.3 2011/04/14 05:15:22 cliff Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. * All rights reserved. @@ -38,7 +38,10 @@ struct cpucore_softc { device_t sc_dev; bool sc_attached; + bool sc_running; u_int sc_core; + u_int sc_threads_enb; + u_int sc_threads_dis; bool sc_hatched; #ifdef MULTIPROCESSOR struct pmap_tlb_info *sc_tlbinfo; @@ -52,5 +55,6 @@ }; extern void cpucore_rmixl_hatch(device_t); +extern void cpucore_rmixl_run(device_t); #endif /* _ARCH_MIPS_RMI_RMIXL_CPUCOREVAR_H_ */