Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/mips/conf/files.mips
RevisionDateAuthorComments
 1.84  25-May-2021  simonb Alignment nit.
 1.83  23-Mar-2021  simonb branches: 1.83.2; 1.83.4;
Work in progress for MIPS modules. Only tested on mipseb64, not yet
enabled anywhere.
 1.82  23-Mar-2021  simonb Remove duplicate out-of-place comment.
 1.81  21-Oct-2020  christos branches: 1.81.2; 1.81.4;
make process_machdep.c included always since it provides register i/o used by
sys_process_getlwpstatus.c which is always included.
 1.80  20-Oct-2020  christos harmonize process_machdep.c inclusion.
 1.79  15-Aug-2020  mrg move stacktrace_subr() from trap.c into new mips_stacktrace.c so
it can be shared between ddb, other mips kernel components (see
locore), and an upcoming crash(8) port.

remove second copy of kdbpeek() (hidden by old DDB_TRACE
option, but they're functionally equivalent.)

tested on octeon.

ok simonb@
 1.78  09-Aug-2020  skrll More whitespace
 1.77  09-Aug-2020  skrll defflag foo on each line to make searching easier.

sort some lines and fix some indentation while I'm here.
 1.76  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.75  11-Jul-2016  matt branches: 1.75.16; 1.75.18;
Use sdcache routines.
Remove old cache support.
Switch to new cache routines.
 1.74  11-Jul-2016  matt Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch
 1.73  29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.72  16-Aug-2011  matt branches: 1.72.12; 1.72.30;
Add support for the MIPS DSP ASE (as a second PCU).
 1.71  31-Jul-2011  matt Add support for a loongson2_subr.S. This is needed since that chip needs
special handling to manually flush the ITLB on TLB updates.
 1.70  12-Jun-2011  rmind Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
 1.69  26-Apr-2011  joerg branches: 1.69.2;
Remove IRIX emulation
 1.68  14-Apr-2011  cliff - option MIPS_DDB_WATCH is deprecated, removed
 1.67  06-Apr-2011  matt slight reordering. no functional change.
 1.66  15-Mar-2011  matt Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.
 1.65  20-Feb-2011  matt Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU
 1.64  14-Dec-2009  matt branches: 1.64.2; 1.64.4; 1.64.6; 1.64.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.63  09-Aug-2009  matt Add latent ENABLE_MIPS_16KB_PAGE option.
 1.62  07-Aug-2009  matt Add loongson2 specific cache ops
 1.61  06-Aug-2009  matt Change MIPS64_LOONGSON2 to MIP3_LOONGSON2 since it's a MIPS3 and not MIPS64.
 1.60  01-Aug-2009  matt Add MIPS64_LOONGSON2F since it needs some special help in various places.
 1.59  19-Nov-2008  ad Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.58  25-Jan-2008  joerg branches: 1.58.6; 1.58.10; 1.58.16; 1.58.18; 1.58.24;
Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
They call a backend function cpu_in_cksum after possibly
computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
The default implementation is moderate fast on most platforms
and provides a 32bit accumulator with 16bit addends for L32 platforms
and a 64bit accumulator with 32bit addends for L64 platforms.
It handles edge cases like very large mbuf chains (could happen with
native IPv6 in the future) and provides a good base for new native
implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.
 1.57  17-Oct-2007  garbled branches: 1.57.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.56  07-Jul-2007  tsutsui branches: 1.56.2; 1.56.10;
Remove leftover netns stuff.
 1.55  09-Feb-2007  ad branches: 1.55.6; 1.55.8; 1.55.14;
Merge newlock2 to head.
 1.54  25-Mar-2006  tsutsui branches: 1.54.8;
Update FPE trapsignal functions for new siginfo,
based on a patch provided by Matthias Drochner.

Ok'ed by christos, and fixes PR port-mips/26410.
 1.53  11-Dec-2005  christos branches: 1.53.4; 1.53.6; 1.53.8; 1.53.10; 1.53.12;
merge ktrace-lwp.
 1.52  05-Nov-2005  tsutsui Add MI mips3 wired map functions based on patch in port-mips/31915
from Garrett D'Amore of Tadpole Computer Inc.
Please refer discussion filed in the PR for details.
 1.51  24-Jan-2005  drochner branches: 1.51.6; 1.51.8; 1.51.14;
-remove definition of "struct sigframe" -- haven't found a use of it
(should fix build problems w/o COMPAT_16 reported by Markus W Kilbinger
per PR port-mips/29041 and by Havard Eidnes)
-further shuffle COMPAT_* conditionals to allow COMPAT_ULTRIX
w/o COMPAT_16
 1.50  04-Mar-2004  drochner branches: 1.50.8;
fix some problems with FPU exception signaling:
-The MachFPTrap did generate pre-siginfo arguments to trapsignal(),
leading to an immediate crash.
Put the siginfo generation into a separate .c file for simplicity.
-The exception bits in MIPS_FPU_CSR didn't get cleared, leading to
trouble later ("kernel used FPU" on pmax).
XXX This should probably be done for the "unimplemented fpu instruction"
case as well, but I don't know how to test this. Or, even better -
centralize the CSR clearing before the branch in MachFPTrap.
 1.49  12-Dec-2003  sekiya Remove preprocessor conditional MIPS3_L2CACHE_ABSENT, which was rendered
superfluous by Tsutsui-san's previous changes.

(this change differs slightly from that posted to port-mips@, as
mips_flushcache_allpvh should be compiled iff MIPS3_PLUS is defined and
MIPS3_L2CACHE_ABSENT should be removed from files.mips as well)
 1.48  29-Oct-2003  christos add compat_16_machdep.c
 1.47  05-Oct-2003  tsutsui Add R10000 cache ops, written by KIYOHARA Takashi and posted on port-sgimips.
Enabled by options ENABLE_MIPS4_CACHE_R10K for now.
 1.46  08-Mar-2003  rafal branches: 1.46.2;
Add support for R5k secondary caches, from code Chris Sekiya sent me a long
time ago, with small tweaks by me. Since the R5k doesn't do VCE, the pmap
still needs to be whacked for R5kSC CPUs to work correctly, but this is a
start.
 1.45  15-Nov-2002  simonb Put the MIPS64_SB1 option in opt_cputype.h.
 1.44  09-Nov-2002  nisimura - Make monolistic files into smaller manageable pieces, resulting
three new files;
sig_machdep.c (from mips_machdep.c)
copy.S and sigcode.S (from locore.S)
- Nuke the local use of struct sigframe, which is now identical to
struct sigcontext, from sendsig() as the consequence of new signal
trampoline.
 1.43  08-Nov-2002  simonb Note a new MIPS64_SB1 option that should be included in opt_cputype.h
one day.
 1.42  06-Jul-2002  gmcgarry Overhaul the emulation facility. We do this by:

- accumulating all emulation code (including floating-point) in one place
- steal MachFPInterrupt() back from SOFTFLOAT for use only with interrupts
and traps from *real* FPUs
- introducing MachEmulateInst() as a common dispatch point for all
emulated instructions
- cleaning up emulation dispatch in trap()

Also, while we're here, implement MIPS2 LL/SC/SYNC emulation for MIPS1.

Tested on r3k with and without SOFTFLOAT enabled.
 1.41  01-Jun-2002  simonb Use the current MIPS in_cksum for in4_cksum too.
 1.40  03-Apr-2002  simonb branches: 1.40.2;
Don't make arch/mips/mips/mips_mcclock.c mandatory for all mips ports
with an mcclock - pmax is the only one currently using this.
 1.39  13-Mar-2002  simonb All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
 1.38  05-Mar-2002  simonb Add support for MIPS32 and MIPS64 architectures:
- Build mips3/5900/32/64 support subroutines.
- Move arch/mips/mips/fp.S to central location.
- Move NOFPU to opt_cputype.h.
 1.37  14-Jan-2002  soren Options MIPS3_5200 and MIPS3_L2CACHE_PRESENT are gone.
 1.36  02-Dec-2001  uch TX39, R5900 cache configuration.
 1.35  28-Nov-2001  lukem - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
 1.34  26-Nov-2001  manu Added COMPAT_IRIX (being developped, not functionnal at that time)
 1.33  20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.32  14-Nov-2001  thorpej branches: 1.32.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.31  23-Sep-2001  manu branches: 1.31.2;
Moved COMPAT_LINUX config stuff from arch/sgimips to arch/mips, so that it's
available on all Mips ports.
 1.30  16-Jan-2001  thorpej branches: 1.30.2; 1.30.4;
New syscall entry implementation based on the Alpha version
as hacked by mycroft.
- Use syscall_intern() to give a process a plain or fancy
syscall based on ktrace flags.
- Avoid copying from the trapframe into a local array as much
as possible.

Yields roughly 5% improvement on a 25MHz R3000 (DECstation 5000/200)
on a simple syscall benchmark.

There's still some work that can be done using __HAVE_MINIMAL_EMUL.
 1.29  31-Oct-2000  jeffs Add MIPS3_NO_PV_UNCACHED option to handle virtual coherency issues by
only allowing one mapping at a time instead of mapping uncached. Done
by removing conflicting mappings from the pmap when entering a new
mapping. UVM will remember and re-fault the requested page when needed
for the original mapping. Originally done to support our internal machine
that does not support uncached memory completely. Not enabled by default
currently. It may make sense to try on the cobalt or sgi ports.
 1.28  04-Oct-2000  cgd provide indicators of a few more things that might go in opt_cputype.h
 1.27  17-Jul-2000  jeffs Pull in geocast mips ddb improvements and start bringing in kgdb support.
Add ddb support for QED opcodes, fill in enough routines so "next" usually
works, kdbpoke support for any size. Add callback that ports can hook when
entering and leaving ddb. This can be used for things like turning
off watchdogs while in ddb.
 1.26  23-May-2000  soren MachForceCacheUpdate and cacheflush_bug have never been used in NetBSD,
so remove references them, and do a little other cleanup.
 1.25  21-May-2000  soren Populate the cputype defopt (not enabled yet).
 1.24  29-Apr-2000  soren Allow non-pmax to use COMPAT_ULTRIX.
 1.23  14-Feb-2000  thorpej Allow arch-specific code to specify in4_cksum() like it can specify
in_cksum().
 1.22  22-Dec-1999  jun FIX:
port-mips/9016 [serious/medium]:
MIPS FPU emulator points wrong epc on exception case

Responsible: port-mips-maintainer (NetBSD/mips Portmasters)
State: open
Class: sw-bug
Originator: Shuichiro URATA
Release: current 12/11/1999
Arrival-Date: Fri Dec 17 10:18:00 1999
commit patch
http://www.a-r.org/~ur/softfloat1211.diff.gz
by Shuichiro URATA (ur@a-r.org)
 1.21  18-Nov-1999  jun on port-mips@netbsd.org:
Shuichiro URATA <ur@a-r.org> makes kernel softfloat emulation code.

http://www.a-r.org/~ur/softfloat1116.diff.gz

is Patch for
sys/arch/mips/conf/files.mips
sys/arch/mips/mips/fp.S
sys/arch/mips/mips/fpemu.c
sys/arch/mips/mips/genassym.cf
sys/arch/mips/mips/locore.S
sys/arch/mips/mips/mips_machdep.c
sys/arch/mips/mips/process_machdep.c
sys/arch/mips/mips/trap.c
sys/arch/mips/mips/vm_machdep.c
After apply this patch,pmax package binary works on hpcmips!
 1.20  24-Apr-1999  simonb branches: 1.20.2; 1.20.8;
Nuke register and remove trailling white space.
 1.19  14-Jan-1999  castor branches: 1.19.4;
Add defopt opt_mips_cache.h and allow 'clock' device to not require the mc6xx files
 1.18  02-Oct-1998  drochner compat_13_sigreturn is needed for compat_ultrix too
 1.17  13-Sep-1998  thorpej Make signal delivery work again.
 1.16  15-Jul-1998  jonathan Add empty opt_cputype.h to satisfy changes committed during
defopt'ing of network options.
 1.15  19-Apr-1998  jonathan Configure mips_mclock if "clock|mccclock".

All(?) ARC boxes use mcclock, but QBus decstations use the same
time-of-year clock architecturally mandated for VAXes.
 1.14  05-Jan-1998  perry RCSID Police.
 1.13  12-Aug-1997  jonathan Fix for mbufs that start on odd-byte-aligned boundaries, and use.
 1.12  09-Aug-1997  jonathan MIPS cpu-speed detection using mc146818 clock.

Compute CPU speed(MHz) and loop multiplier for DELAY() based on
counting empty loop between mcclock ticks. New global: cpu_mhz.
Change pmax/pmax/machdep.c to build baseboard model names from cpu_mhz.
Set 'cpuspeed' for more realistic DELAY() on mips3 models.

Mips CPU constants, testing, and calibration from D. Sean Davidson
<davidson@zk3.dec.com> and Simon Burge <simonb@telstra.com.au>.
 1.11  25-Jul-1997  jonathan branches: 1.11.2;
revert to MI in_cksum code.
 1.10  20-Jul-1997  jonathan mips-tuned bcopy from Jon Kay (UCSD) released under BSD copyright,
with standard BSD in_cksum() interface by Jonathan Stone.
 1.9  20-Jul-1997  jonathan Add ddb to mips/conf/files.mips. Garbage-collect mdb.
 1.8  28-Jun-1997  mhitch Fix typo.
Include minidebug.c with options MDB.
 1.7  16-Jun-1997  jonathan Use generic MIPS pmap vm_machdep.c
 1.6  09-Jun-1997  jonathan Move the mips sys_machdep.c from pmax/pmax to mips/mips, to enforce a
common sysarch on all mips ports.
 1.5  11-Nov-1996  jonathan Eliminate old mips/mips/elf.c ELF exec code.
Don't call into from the a.out exec hook; don't configure it into kernels.
 1.4  13-Oct-1996  jonathan Change pmax port over to using ``mips MI'' trap handler.
 1.3  12-Oct-1996  mhitch Add arch/mips/mips/mips_machdep.c, it's now compiled as a separate file.
 1.2  26-Mar-1996  jonathan Add mips/mips/mem.c and mips/mips/process_machdep.c
 1.1  19-Mar-1996  jonathan Kernel config file for source code shared by mips-based NetBSD ports.
 1.11.2.1  23-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.19.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.20.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.20.2.3  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.20.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.20.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.30.4.5  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.30.4.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.30.4.3  16-Mar-2002  jdolecek Catch up with -current.
 1.30.4.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.30.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.30.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.31.2.1  24-Oct-2001  thorpej Pull in new cache code, conditional on which CPU arch's are configured
into the kernel.
 1.32.2.9  11-Dec-2002  thorpej Sync with HEAD.
 1.32.2.8  11-Nov-2002  nathanw Catch up to -current
 1.32.2.7  01-Aug-2002  nathanw Catch up to -current.
 1.32.2.6  20-Jun-2002  nathanw Catch up to -current.
 1.32.2.5  17-Apr-2002  nathanw Catch up to -current.
 1.32.2.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.32.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.32.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.32.2.1  14-Nov-2001  nathanw file files.mips was added on branch nathanw_sa on 2002-01-08 00:26:15 +0000
 1.40.2.2  16-Jul-2002  gehenna catch up with -current.
 1.40.2.1  14-Jul-2002  gehenna catch up with -current.
 1.46.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.46.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.46.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.46.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.46.2.1  03-Aug-2004  skrll Sync with HEAD
 1.50.8.1  29-Apr-2005  kent sync with -current
 1.51.14.1  19-Apr-2006  tron Pull up following revision(s) (requested by tsutsui in ticket #1260):
sys/arch/mips/mips/fp.S: revision 1.31
sys/arch/mips/mips/mips_fputrap.c: revision 1.3
sys/arch/mips/conf/files.mips: revision 1.54
Update FPE trapsignal functions for new siginfo,
based on a patch provided by Matthias Drochner.
Ok'ed by christos, and fixes PR port-mips/26410.
 1.51.8.4  04-Feb-2008  yamt sync with head.
 1.51.8.3  03-Sep-2007  yamt sync with head.
 1.51.8.2  26-Feb-2007  yamt sync with head.
 1.51.8.1  21-Jun-2006  yamt sync with head.
 1.51.6.1  19-Apr-2006  tron Pull up following revision(s) (requested by tsutsui in ticket #1260):
sys/arch/mips/mips/fp.S: revision 1.31
sys/arch/mips/mips/mips_fputrap.c: revision 1.3
sys/arch/mips/conf/files.mips: revision 1.54
Update FPE trapsignal functions for new siginfo,
based on a patch provided by Matthias Drochner.
Ok'ed by christos, and fixes PR port-mips/26410.
 1.53.12.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.53.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.53.8.1  01-Apr-2006  yamt sync with head.
 1.53.6.1  22-Apr-2006  simonb Sync with head.
 1.53.4.1  09-Sep-2006  rpaulo sync with head
 1.54.8.1  29-Dec-2006  ad Checkpoint work in progress.
 1.55.14.1  03-Oct-2007  garbled Sync with HEAD
 1.55.8.1  11-Jul-2007  mjf Sync with head.
 1.55.6.1  15-Jul-2007  ad Sync with head.
 1.56.10.2  23-Mar-2008  matt sync with HEAD
 1.56.10.1  06-Nov-2007  matt sync with HEAD
 1.56.2.1  18-Jul-2007  matt Add netbsd32 entry
 1.57.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.58.24.20  27-Feb-2012  matt Add option NOMIPSEMUL so disable (almost) all emulation.
 1.58.24.19  27-Dec-2011  matt Add core_r4k_pcache*.S files.
 1.58.24.18  23-Dec-2011  matt Split syncicache functions into separate file: pmap_syncicache.
Support up to 1024 ASIDs.
Always use atomic ops for manipulating pm_shootdown_pending
Nuke PMAP_POOLPAGE_DEBUG
defparam MIPS_PAGE_SHIFT
Track colors of execpages.
 1.58.24.17  02-Dec-2011  matt Add support for 8KB pages.
 1.58.24.16  29-Nov-2011  matt Take part of the KSEG2 space and use it to "almost" direct another 256MB
of memory so that N32 kernels can make use of ram outside of KSEG0. This
allows N32 kernels to be useful on systems with 4GB of RAM or more.
 1.58.24.15  26-May-2011  matt Add MIPS64_RMIXL (XLR/XLS) and MIPS64R2_RMIXL (XLP). This allows the kernel
to treat this special which is needed for MP support. When accessing the TLB,
always lock the TLB before hand. If in the miss handlers, the TLB is already
locked let trap deal with the exeception.
 1.58.24.14  29-Apr-2011  matt Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code. (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.
 1.58.24.13  05-Feb-2011  cliff - define config options flag MIPS_DDB_WATCH, enables COP0 watchpoint support in ddb
 1.58.24.12  29-Dec-2010  matt Break out break slot instruction emualtion into its own .S file.
Redo that and simplify
 1.58.24.11  28-Feb-2010  matt Split FPU support into separate file and keep internals private to that file.
Make it MPSAFE. Change interface to be very similar to what's used on other
architectures.
Add l_md.md_fpcpu to mdlwp (needed for MPSAFE)
Move pridtab from <mips/cpu.h> to <mips/locore.h>
Add initial common IPI dispatcher.
Split cpu_* routines from mips_machdep.c into cpu_subr.c
Add cpu_startup_common which has the code replicated in half-dozen
plus machdep.c files.
 1.58.24.10  28-Feb-2010  matt Add spl_stubs.c
 1.58.24.9  27-Feb-2010  matt Add mipsXX_tlb_enter which modifies/sets a specific TLB entry with a new
mapping (useful for wired TLB entries).
Add mips_fixup_exceptions which will walk through the exception vectors
and allows the fixup of any cpu_info references to be changed to a more
MP-friendly incarnation.
Define a common fixup method to use a wired TLB entry at -PAGE_SIZE allowing
direct loads using a negative based from the zero register.
Change varible pmap_tlb_info t pmap_tlb0_info.
 1.58.24.8  06-Feb-2010  cliff add entry for mips/spl.S so kernel can compile
 1.58.24.7  05-Feb-2010  matt Add __HAVE_FAST_SOFTINTS support.
Add routine to remap an uarea via a direct-mapped address. This avoids
TLB machinations when swtching to/from the softint thread. This can only
be done for lwp which won't exit.
 1.58.24.6  29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.58.24.5  22-Jan-2010  matt Seperate the pmap TLB functions into their own file.
For 32 bit kernels, make sure that mips_virtual_end doesn't go past
VM_MAX_KERNEL_ADDRESS.
 1.58.24.4  30-Dec-2009  matt Please segtab lookups into separate file.
Add mips_add_physload
Add mips_init_lwp0_uarea
cleanup lwp0/cpu_info_store initialization.
 1.58.24.3  13-Sep-2009  cliff add MIPS64_XLP MIPS64_XLR MIPS64_XLS to list of flags in opt_cputype.h
 1.58.24.2  12-Sep-2009  matt Add COMPAT_NETBSD32 support
 1.58.24.1  23-Aug-2009  uebayasi Make ddb(4) trace work on 64-bit ABIs.

For now:

- Values are shown in 32-bit.
- Only 4 arguments are shown.
- DDB_TRACE (heuristic version) is left as is.


Reviewed By: matt
 1.58.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.58.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.58.10.3  11-Mar-2010  yamt sync with head
 1.58.10.2  19-Aug-2009  yamt sync with head.
 1.58.10.1  04-May-2009  yamt sync with head.
 1.58.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.64.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.64.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.64.4.4  31-May-2011  rmind sync with head
 1.64.4.3  21-Apr-2011  rmind sync with head
 1.64.4.2  05-Mar-2011  rmind sync with head
 1.64.4.1  18-Mar-2010  rmind Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.
 1.64.2.2  30-Oct-2010  uebayasi Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).
 1.64.2.1  28-Aug-2010  uebayasi xmd(4) glue for mips. Not tested.
 1.69.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.72.30.2  05-Oct-2016  skrll Sync with HEAD
 1.72.30.1  06-Jun-2015  skrll Sync with HEAD
 1.72.12.1  03-Dec-2017  jdolecek update from HEAD
 1.75.18.1  10-Jun-2019  christos Sync with HEAD
 1.75.16.1  29-Sep-2018  pgoyette Add glue for netbsd32 compat_13 and _16 modules
 1.81.4.1  03-Apr-2021  thorpej Sync with HEAD.
 1.81.2.1  03-Apr-2021  thorpej Sync with HEAD.
 1.83.4.1  31-May-2021  cjep sync with head
 1.83.2.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed