History log of /netbsd/sys/arch/powerpc/powerpc/genassym.cf (Results 1 – 11 of 11)
Revision Date Author Comments
# 14f6a1f0 08-Jan-2020 ad <ad@NetBSD.org>

Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
calling

Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
calling cpu_switchto(). It's not safe to let other actors mess with the
LWP (in particular l->l_cpu) while it's still context switching. This
removes l->l_ctxswtch.

- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
it's now covered by the LWP's lock.

- Ditch lwp_exit_switchaway() and just call mi_switch() instead. Everything
is in cache anyway so it wasn't buying much by trying to avoid saving old
state. This means cpu_switchto() will never be called with prevlwp ==
NULL.

- Remove some KERNEL_LOCK handling which hasn't been needed for years.

show more ...


# e0c5fc4a 23-Nov-2019 ad <ad@NetBSD.org>

cpu_need_resched():

- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is requ

cpu_need_resched():

- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is required on another CPU, have the IPI set it locally.
- Expunge cpu_did_resched().

show more ...


# 0aba8f6d 30-Aug-2013 matt <matt@NetBSD.org>

Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h


# 00b0f335 01-Aug-2012 matt <matt@NetBSD.org>

Add diagnostic code emptyidlespin verifying that the current IPL
is IPL_NONE and EE is set in the MSR.


# 24c5333a 20-Jun-2011 matt <matt@NetBSD.org>

If this is a MODULAR kernel, export USRSTACK and CPU_MAXNUM as linker symbols
so modules can access them.


# a2c12836 18-Jun-2011 matt <matt@NetBSD.org>

Make a common genassym.cf (powerpc/genassym.cf) and then
only put specific stuff in foo/genassym.cf


# a0356cae 19-Jan-2003 matt <matt@NetBSD.org>

Add CALLFRAMELEN and use it.


# f91b0bb3 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 7202dc2f 19-May-2002 augustss <augustss@NetBSD.org>

Add CPU_CI symbol so that bzero.S actually compiles on ports other than walnut.


# 90acd67a 29-Nov-2001 mjl <mjl@NetBSD.org>

Need CACHELINESIZE for libkern memset.


# ac9333ee 16-Apr-1997 thorpej <thorpej@NetBSD.org>

Use genassym.sh to facilitate cross-compiling.