Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/rmi - add sc_running flag to allow cpucore_rmi...
details: https://anonhg.NetBSD.org/src/rev/5a49f16dfc89
branches: trunk
changeset: 764212:5a49f16dfc89
user: cliff <cliff%NetBSD.org@localhost>
date: Thu Apr 14 05:15:22 2011 +0000
description:
- 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()
diffstat:
sys/arch/mips/rmi/rmixl_cpucorevar.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 2678bf8a57b0 -r 5a49f16dfc89 sys/arch/mips/rmi/rmixl_cpucorevar.h
--- a/sys/arch/mips/rmi/rmixl_cpucorevar.h Thu Apr 14 05:14:23 2011 +0000
+++ b/sys/arch/mips/rmi/rmixl_cpucorevar.h Thu Apr 14 05:15:22 2011 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index