The NetBSD Project

CVS log for src/sys/arch/mips/mips/db_interface.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / mips / mips

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.99 / (download) - annotate - [select for diffs], Sun Feb 19 11:19:51 2023 UTC (12 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.98: +4 -8 lines
Diff to previous 1.98 (colored)

Adjust userspace comments in db_read_bytes() and db_write_bytes() to
match current reality.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Feb 19 10:48:06 2023 UTC (12 months ago) by mlelstv
Branch: MAIN
Changes since 1.97: +4 -4 lines
Diff to previous 1.97 (colored)

Only copyin/copyout from and to user addresses.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Oct 26 23:38:08 2022 UTC (15 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.96: +3 -2 lines
Diff to previous 1.96 (colored)

ddb/db_active.h: New home for extern db_active.

This can be included unconditionally, and db_active can then be
queried unconditionally; if DDB is not in the kernel, then db_active
is a constant zero.  Reduces need for #include opt_ddb.h, #ifdef DDB.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Jan 15 10:32:32 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.95: +68 -2 lines
Diff to previous 1.95 (colored)

Add 'mach cpuinfo' support

Revision 1.95 / (download) - annotate - [select for diffs], Sat Jan 15 08:56:41 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.94: +4 -4 lines
Diff to previous 1.94 (colored)

sort

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:22 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.93: +31 -2 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync w/ HEAD.

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:14 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.93: +31 -2 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Sun May 23 23:22:55 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.93: +31 -2 lines
Diff to previous 1.93 (colored)

Improve ddb disassembly for mips (and riscv, cribbed from mips).

- use db_read_bytes to get instructions
- move the address check logic previously attached only to fetching
  instructions for disassembly to db_read_bytes (and db_write_bytes)

Motivated by related x86 changes this afternoon.

Note that the address check logic is not as sophisticated as what the
x86 code does, but it's what we had before. (Except that riscv will
now also try to fetch usermode instructions instead of just failing.)

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:14 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.92: +4 -2 lines
Diff to previous 1.92 (colored) next main 1.93 (colored)

Sync with HEAD.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Apr 12 02:23:41 2021 UTC (2 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-cfargs-base, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.92: +4 -2 lines
Diff to previous 1.92 (colored)

avoid duplicate "ddb_regs" in crash with GCC 10 and -fcommon default.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:31 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Sync with HEAD.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Feb 23 07:13:52 2021 UTC (3 years ago) by mrg
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

introduce DDB_END_CMD and replace more than 20 copies of the same
list of NULLs and 0.  idea from rillig@.

all touched ports built, several booted.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Aug 23 03:21:57 2020 UTC (3 years, 6 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.90: +28 -16 lines
Diff to previous 1.90 (colored)

Add /v to show only valid TLBs.
Align tlb display nicely if > 100 TLBs.
Sort commands in the command dispatch function.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Aug 17 03:19:35 2020 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.89: +8 -2 lines
Diff to previous 1.89 (colored)

port crash(8) to mips.  (most of the kernel side.)

- expose parts of _KERNEL to _KMEMUSER as well
- hide more things for _KERNEL
- avoid DB_MACHINE_COMMANDS in crash(8)
- XXX add mips_label_t for !_KERNEL and use it in the pcb to
  avoid conflicting with the ddb/crash one
- enable dumppcb

some changes to make stack trace fail instead of SEGV and
the userland changes to crash itself not part of this change.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Aug 15 07:42:07 2020 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.88: +2 -14 lines
Diff to previous 1.88 (colored)

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@

Revision 1.88 / (download) - annotate - [select for diffs], Wed Aug 12 07:37:39 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.87: +2 -3 lines
Diff to previous 1.87 (colored)

Don't include mips/asm.h from a C file

Revision 1.87 / (download) - annotate - [select for diffs], Sat Aug 1 09:29:18 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.86: +11 -11 lines
Diff to previous 1.86 (colored)

Trailing whitespace

Revision 1.86 / (download) - annotate - [select for diffs], Sun Jul 26 07:57:06 2020 UTC (3 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.85: +24 -20 lines
Diff to previous 1.85 (colored)

Rework "machine cp0" command and support macros to use CP0 reg defines
instead of magic numbers for CP0 regs with a select number.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jul 13 12:56:58 2020 UTC (3 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Make sure declaration of db_mach_reset_cmd() is available always, not
just #ifdef OCTEON.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Jul 13 05:20:45 2020 UTC (3 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.83: +11 -8 lines
Diff to previous 1.83 (colored)

Copy "mach reset" logic from arm32 recently added by jmcneill@.  The
previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
CPUs only.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Jun 14 06:50:31 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Retire MIPS_CP0FL_USERLOCAL and MIPS_CP0FL_HWRENA and the flawed
logic that tried to deal with a MIPS processor that supports the ULR
CP0 register.  Probe correctly and save probed info somewhere we can
actually use it.  Avoids problems where libc expects ULR set to a
value but the CPU definition in the CPU table didn't have the right
combination of magic flags and thus never set ULR in the first place.

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:30 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.80: +16 -16 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Sync with HEAD

Revision 1.82 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:26 2019 UTC (4 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.81: +5 -5 lines
Diff to previous 1.81 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Apr 4 22:49:46 2019 UTC (4 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.80: +13 -13 lines
Diff to previous 1.80 (colored)

Consistently use db_printf() instead of printf() for machine specific
commands.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Feb 8 19:16:24 2018 UTC (6 years ago) by bouyer
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat
Branch point for: phil-wifi
Changes since 1.79: +7 -6 lines
Diff to previous 1.79 (colored)

Allow kdbpeek() to return failure. If it does, stop the stack trace.
Prevents an infinite loop in ddb if something goes wrong.

Revision 1.75.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:28 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.75: +99 -14 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

update from HEAD

Revision 1.75.30.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:32 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.75.30.2: +11 -10 lines
Diff to previous 1.75.30.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jul 11 16:15:36 2016 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.78: +11 -10 lines
Diff to previous 1.78 (colored)

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

Revision 1.75.30.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:47 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.75.30.1: +16 -14 lines
Diff to previous 1.75.30.1 (colored) to branchpoint 1.75 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jun 9 09:18:37 2015 UTC (8 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.77: +6 -4 lines
Diff to previous 1.77 (colored)

Fix printf formats for db_expr_t on 32bit kernels

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jun 6 22:19:07 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Make db_expr_t long long when using the N32 ABI.

Revision 1.75.30.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:02 2015 UTC (8 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.75: +89 -7 lines
Diff to previous 1.75 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jun 6 04:38:52 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.75: +89 -7 lines
Diff to previous 1.75 (colored)

Add octeon mach commands nmi and reset.  Teach DDB about Cavium BBIT branch
instructions.

Revision 1.64.16.25 / (download) - annotate - [select for diffs], Mon Feb 27 17:00:28 2012 UTC (11 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.24: +1 -1 lines
Diff to previous 1.64.16.24 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Make sure to properly cast pointers.

Revision 1.64.16.24 / (download) - annotate - [select for diffs], Thu Feb 16 10:45:17 2012 UTC (12 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.23: +3 -3 lines
Diff to previous 1.64.16.23 (colored) to branchpoint 1.64 (colored)

Change db_expr_t to an register_t so we can see the full register contents
on N32 kernels.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Aug 18 21:04:23 2011 UTC (12 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

Change bcond/BCOND to regimm/REGIMM to better match the MIPS nomenclature.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:05 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.67: +422 -258 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

Revision 1.66.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:09 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66.4.2: +10 -12 lines
Diff to previous 1.66.4.2 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

sync with head

Revision 1.64.16.23 / (download) - annotate - [select for diffs], Thu May 26 19:21:56 2011 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.22: +14 -14 lines
Diff to previous 1.64.16.22 (colored) to branchpoint 1.64 (colored)

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.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Apr 29 22:14:35 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.73: +12 -14 lines
Diff to previous 1.73 (colored)

KNF cleanup.

Revision 1.64.16.22 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:24 2011 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.21: +144 -312 lines
Diff to previous 1.64.16.21 (colored) to branchpoint 1.64 (colored)

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.

Revision 1.66.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:11 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66.4.1: +102 -177 lines
Diff to previous 1.66.4.1 (colored) to branchpoint 1.66 (colored)

sync with head

Revision 1.73 / (download) - annotate - [select for diffs], Thu Apr 14 17:43:07 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.72: +8 -15 lines
Diff to previous 1.72 (colored)

Fix printing of watch{lo,hi} and make mipsNN_watchlo_* use intptr_t so that
sign extention happens.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Apr 14 09:25:05 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Use .set arch=xlr to access RMI specific instructions.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 14 05:09:34 2011 UTC (12 years, 10 months ago) by cliff
Branch: MAIN
Changes since 1.70: +97 -162 lines
Diff to previous 1.70 (colored)

- option MIPS_DDB_WATCH is dedprecated, removed; now using
(MIPS32 + MIPS32R2 + MIPS64 + MIPS64R2) > 0 for conditional
compile of db_mach_watch stuff
- MIPS CPU (COP0) watchpoint support moved from db_interface.c
to cpu_subr.c, cpu.h; ddb_mach_watch &etc now use those cpu functions.
- ddb_cpu now volatile
- 'struct db_mach_watch' definition &etc moved to mips/include/db_machdep.h
- db_mach_watch_tab is replaced by curcpu()->ci_watch_tab
to allow per-cpu watchpoint control
- improve MP function in kdb_trap()
- fix conditions for printing cp0 regs

Revision 1.70 / (download) - annotate - [select for diffs], Wed Apr 6 05:53:27 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.69: +14 -17 lines
Diff to previous 1.69 (colored)

minor cleanups.  foo -> foo_p.  add some whitespace.

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:05 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66: +473 -316 lines
Diff to previous 1.66 (colored)

sync with head

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:49 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.67: +465 -224 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Thu Mar 3 18:44:58 2011 UTC (12 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.68: +26 -32 lines
Diff to previous 1.68 (colored)

Change MIPS_CP0FL_CONFIG*
Add MIPS_CP0FL_HWRENA and USERLOCAL

Revision 1.68 / (download) - annotate - [select for diffs], Sun Feb 20 07:45:47 2011 UTC (13 years ago) by matt
Branch: MAIN
Changes since 1.67: +450 -203 lines
Diff to previous 1.67 (colored)

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

Revision 1.64.16.21 / (download) - annotate - [select for diffs], Tue Feb 8 22:42:32 2011 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.20: +10 -9 lines
Diff to previous 1.64.16.20 (colored) to branchpoint 1.64 (colored)

- cpu index variables (ddb_cpu, cpu_me) are now type u_int
- can now cpu_number() instead of cpu_index(curcpu())
since they are the same.

Revision 1.64.16.20 / (download) - annotate - [select for diffs], Tue Feb 8 19:18:22 2011 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.19: +3 -5 lines
Diff to previous 1.64.16.19 (colored) to branchpoint 1.64 (colored)

- rename ddb_running_on_this_cpu to ddb_running_on_this_cpu_p
according to pedicate unction naming style convention

Revision 1.64.16.19 / (download) - annotate - [select for diffs], Sat Feb 5 06:07:07 2011 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.18: +399 -15 lines
Diff to previous 1.64.16.18 (colored) to branchpoint 1.64 (colored)

- add suport for MP ddb
- add 'mach watch' command and related to enable ddb use of MIPS CP0 watchpoint
operator may specify one or more of rwx access mode qualifiers,
optional mask, and optional asid.  with no args, 'mach watch' dumps the
CP0 watchpoints table.
- 'mach unwatch' command deletes entries from the table; either
a) all entries matching an optional address, or
b) with no address specified, deletes all entries.
- fix 'mach cp0' dump of CP0 watchhi, watchlo regs
- fix opcode in 'mach mtcr' command function

Revision 1.64.16.18 / (download) - annotate - [select for diffs], Wed Dec 29 00:48:22 2010 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.64.16.17: +29 -47 lines
Diff to previous 1.64.16.17 (colored) to branchpoint 1.64 (colored)

Move away from StudlyCaps.  Simply a few routines.

Revision 1.64.16.17 / (download) - annotate - [select for diffs], Fri Dec 24 07:11:25 2010 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.16: +3 -3 lines
Diff to previous 1.64.16.16 (colored) to branchpoint 1.64 (colored)

Just use the generic tlb_read_indexed instead of the mips1 specific version.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:52 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66: +10 -94 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.63.20.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:23 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.63.20.2: +10 -94 lines
Diff to previous 1.63.20.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

sync with head.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jul 7 01:22:12 2010 UTC (13 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.66: +10 -94 lines
Diff to previous 1.66 (colored)

fix db_{read,write}_bytes() for unaligned addresses
(just copy a byte at a time, this isn't a performance path).

Revision 1.63.20.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:39 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.63.20.1: +192 -52 lines
Diff to previous 1.63.20.1 (colored) to branchpoint 1.63 (colored)

sync with head

Revision 1.64.16.16 / (download) - annotate - [select for diffs], Mon Feb 1 04:16:19 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.64.16.15: +7 -95 lines
Diff to previous 1.64.16.15 (colored) to branchpoint 1.64 (colored)

Merge frame into trapframe.  While this costs a bit more stack space on
kernel exceptions, the resulting simplifications are worth it.  This is
a step to fast softints and kernel preemption.

trapframe now includes a struct reg instead of a separate array of registers.

Revision 1.64.16.15 / (download) - annotate - [select for diffs], Tue Jan 26 04:37:38 2010 UTC (14 years, 1 month ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.14: +11 -29 lines
Diff to previous 1.64.16.14 (colored) to branchpoint 1.64 (colored)

fix macros used for printing cp0 regs

Revision 1.64.16.14 / (download) - annotate - [select for diffs], Wed Jan 20 09:04:35 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.13: +3 -3 lines
Diff to previous 1.64.16.13 (colored) to branchpoint 1.64 (colored)

Adjust things to the new world order.

Revision 1.64.16.13 / (download) - annotate - [select for diffs], Wed Jan 20 06:58:36 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.12: +8 -8 lines
Diff to previous 1.64.16.12 (colored) to branchpoint 1.64 (colored)

Revamp things a bit.  Move of the globals mips uses into either cpu_info,
mips_options, or mips_cache_info.  Make MALT64 be able to boot MULTIPROCESSOR.
(some pmap MP work).

Revision 1.64.16.12 / (download) - annotate - [select for diffs], Fri Jan 15 06:46:59 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.11: +11 -26 lines
Diff to previous 1.64.16.11 (colored) to branchpoint 1.64 (colored)

Get rid of most of the studly caps.
First to MULTIPROCESSOR support for pmap: move some pmap globals to cpu_info.
Define per-cpu ASID number spaces.
Remove some mips1/!mips1 difference in db_interface.c
Add mips32/64 knowledge to stacktrace.

Revision 1.64.16.11 / (download) - annotate - [select for diffs], Mon Dec 28 22:56:46 2009 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.10: +6 -6 lines
Diff to previous 1.64.16.10 (colored) to branchpoint 1.64 (colored)

Use MIPS64_XLS for mtcr/mfcr commands

Revision 1.66 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:06 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.65: +192 -56 lines
Diff to previous 1.65 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Nov 21 17:40:28 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored)

Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

Revision 1.64.16.10 / (download) - annotate - [select for diffs], Tue Nov 17 07:34:37 2009 UTC (14 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20091211
Changes since 1.64.16.9: +9 -3 lines
Diff to previous 1.64.16.9 (colored) to branchpoint 1.64 (colored)

Made mfcr/mtcf dependent on MIPS64

Revision 1.64.16.9 / (download) - annotate - [select for diffs], Mon Nov 16 23:59:19 2009 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.8: +10 -10 lines
Diff to previous 1.64.16.8 (colored) to branchpoint 1.64 (colored)

fix some typos in asm()'s

Revision 1.64.16.8 / (download) - annotate - [select for diffs], Fri Nov 13 05:24:43 2009 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.7: +71 -44 lines
Diff to previous 1.64.16.7 (colored) to branchpoint 1.64 (colored)

- in SHOW64 macro remove extraneous 'x' in printf format
- in MIPS64_SHOW32 macro add push and pop directives
- use mycpu->cpu_cp0flags to determine whether various CP0 regs exist
- use CPU_MIPS_HAVE_MxCR to determine whether mfcr, mtcr insns are available
- use asm() to inline mfcr, mtcr ops instead of calling
MIPS-implementation-specific subroutines

Revision 1.64.16.7 / (download) - annotate - [select for diffs], Mon Nov 9 10:00:02 2009 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.6: +118 -12 lines
Diff to previous 1.64.16.6 (colored) to branchpoint 1.64 (colored)

arch/mips/mips/db_interface.c
- add MIPS64_SHOW32() and MIPS64_SHOW64()  macros
  to show MIPS64 specific cp0 regs
- add EIRR, EIMR, EBASE, CONFIG[0,1,7] to show regs
  >>> these switched by runtime vairable  is_rmi_xls
        is there a better variable to use ???
        cpu_arch == 64 ??
- add mach mtcr, mfcr MD ddb commande
  >>> these are not runtime switched based on cpu arch,
      they are just 'there'
      if you use them on the wrong CPU, it's your problem!

Revision 1.64.16.6 / (download) - annotate - [select for diffs], Tue Sep 15 05:12:53 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.5: +10 -10 lines
Diff to previous 1.64.16.5 (colored) to branchpoint 1.64 (colored)

Add a CPU_MIPS_NO_LLADDR flag / MIPS_HAS_LLADDR macro.  And use to determine
whether to printf lladdr COP0 register

Revision 1.64.16.5 / (download) - annotate - [select for diffs], Sun Sep 13 03:31:05 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.64.16.4: +6 -2 lines
Diff to previous 1.64.16.4 (colored) to branchpoint 1.64 (colored)

CP0 ECC and CACHE_ERR "not implemented" on RMI XLS, so avoid accessing them

Revision 1.64.16.4 / (download) - annotate - [select for diffs], Mon Sep 7 21:54:39 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.64.16.3: +26 -25 lines
Diff to previous 1.64.16.3 (colored) to branchpoint 1.64 (colored)

Use the new symbolic constants for label_t.
Use label_t where appropriate.
Add some LP64 KASSERTs

Revision 1.64.16.3 / (download) - annotate - [select for diffs], Sun Sep 6 23:01:59 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64.16.2: +3 -3 lines
Diff to previous 1.64.16.2 (colored) to branchpoint 1.64 (colored)

Use VM_MIN_KERNEL_ADDRESS and VM_MAX_KERNEL_ADDRESS instead of MIPS_KSEG2_START

Revision 1.64.16.2 / (download) - annotate - [select for diffs], Sun Aug 23 03:25:09 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u1-k1-k5
Changes since 1.64.16.1: +3 -3 lines
Diff to previous 1.64.16.1 (colored) to branchpoint 1.64 (colored)

taken curlwp == NULL check.

Revision 1.64.16.1 / (download) - annotate - [select for diffs], Thu Aug 20 21:49:24 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored)

No need to cast to (struct frame *) anymore.

Revision 1.63.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:31 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.63: +12 -5 lines
Diff to previous 1.63 (colored)

sync with head.

Revision 1.63.22.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:32 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.63: +12 -5 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.63.18.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:50 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.63: +12 -5 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

sync with head

Revision 1.63.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:24 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63: +12 -5 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Fri May 23 17:01:32 2008 UTC (15 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: matt-nb5-mips64
Changes since 1.63: +12 -5 lines
Diff to previous 1.63 (colored)

Add simple help messages for MD machine commands on ddb(4).
PR port-mips/38306

Revision 1.61.20.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:19:05 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

sync with HEAD

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:27:15 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.4: +6 -6 lines
Diff to previous 1.53.2.4 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:37 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

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.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:13 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with head.

Revision 1.61.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:22 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.61.18.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:33 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Sep 22 18:40:23 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored)

Add a new option DDB_VERBOSE_HELP that adds online help to ddb.
From Adam Hamsik.
Minor modifications by me, all bugs are probably mine.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:59 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.3: +3 -3 lines
Diff to previous 1.53.2.3 (colored) to branchpoint 1.53 (colored)

sync with head.

Revision 1.58.8.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:22 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.58.8.1: +3 -3 lines
Diff to previous 1.58.8.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Feb 28 04:21:53 2007 UTC (16 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, ppcoea-renovation, matt-armv6, jmcneill-pm
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

TRUE -> true, FALSE -> false

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:52:04 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.58: +17 -17 lines
Diff to previous 1.58 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:28 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.2: +17 -17 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored)

sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Feb 22 05:28:53 2007 UTC (17 years ago) by matt
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.59: +8 -8 lines
Diff to previous 1.59 (colored)

Fix more boolean_t -> bool lossage

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:48 2007 UTC (17 years ago) by thorpej
Branch: MAIN
Changes since 1.58: +11 -11 lines
Diff to previous 1.58 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:33 2006 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.1: +3 -3 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

sync with head.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:26 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.55: +15 -12 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:21 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.56.2.1: +3 -3 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Aug 26 20:14:51 2006 UTC (17 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Use PRIx64 instead of llx

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:44 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53: +16 -13 lines
Diff to previous 1.53 (colored)

sync with head.

Revision 1.55.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:04 2006 UTC (17 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.55.6.1: +7 -5 lines
Diff to previous 1.55.6.1 (colored) next main 1.56 (colored)

Sync with head.

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:13 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.56: +7 -5 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:56:59 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.56: +7 -5 lines
Diff to previous 1.56 (colored)

sync with head.

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Thu May 11 23:26:59 2006 UTC (17 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.56: +7 -5 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Wed May 10 06:24:03 2006 UTC (17 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.56: +7 -5 lines
Diff to previous 1.56 (colored)

Fix a bunch of cast lvalues.

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:42 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.55: +9 -8 lines
Diff to previous 1.55 (colored)

Sync with head.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:27:59 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.55: +9 -8 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Feb 21 08:25:49 2006 UTC (18 years ago) by gdamore
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.55: +9 -8 lines
Diff to previous 1.55 (colored)

Show all 36-bits of paddr_t.
Approved by simonb@

Revision 1.55 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:19 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:09 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

merge ktrace-lwp.

Revision 1.49.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:33 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.4: +21 -18 lines
Diff to previous 1.49.2.4 (colored) next main 1.50 (colored)

Sync with HEAD. Here we go again...

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jun 1 16:26:59 2005 UTC (18 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.52: +21 -18 lines
Diff to previous 1.52 (colored)

adapt to DDB constification, and fix a shadow warning

Revision 1.49.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:29:58 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.3: +3 -3 lines
Diff to previous 1.49.2.3 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jan 1 03:25:46 2005 UTC (19 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Use "NULL" instead of "(something-or-other *)0".

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:48 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.2: +2 -2 lines
Diff to previous 1.49.2.2 (colored)

Fix the sync with head I botched.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:37:25 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49.2.1: +0 -0 lines
Diff to previous 1.49.2.1 (colored)

Sync with HEAD.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:47 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.49: +70 -67 lines
Diff to previous 1.49 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Wed Nov 26 08:36:49 2003 UTC (20 years, 3 months ago) by he
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-base, kent-audio1
Changes since 1.50: +68 -68 lines
Diff to previous 1.50 (colored)

Hide the register number constants behind an _R_ prefix, and also
rename FPBASE to _FPBASE, so that we avoid polluting the user's
name space when e.g. <sys/ptrace.h> is included.  Previously, the
PC symbol in mips/regnum.h would conflict with the declaration of
the external variable by the same name in termcap.h, as discovered
by the ``okheaders'' regression test.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jul 15 02:43:38 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored)

__KERNEL_RCSID()

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:37 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 29 11:35:15 2003 UTC (20 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Don't use "extern" with functions.

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 24 14:37:31 2003 UTC (20 years, 9 months ago) by kristerw
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

Make lint happy by changing asm to __asm.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jan 17 23:36:11 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Merge the nathanw_sa branch.

Revision 1.38.2.9 / (download) - annotate - [select for diffs], Mon Nov 11 22:00:37 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.38.2.8: +45 -45 lines
Diff to previous 1.38.2.8 (colored) next main 1.39 (colored)

Catch up to -current

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 4 20:02:09 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.44: +11 -13 lines
Diff to previous 1.44 (colored)

Use named indices for RA, SR, MULLO, MULHI, and EPC in the
trapframe.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 4 19:51:05 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +37 -35 lines
Diff to previous 1.43 (colored)

Use named indices for trapframe slots, and use the TA0-TA3 names
where appropriate.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Sun Jul 14 18:37:14 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

catch up with -current.

Revision 1.38.2.8 / (download) - annotate - [select for diffs], Mon Jun 24 22:05:43 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.38.2.7: +4 -4 lines
Diff to previous 1.38.2.7 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.36.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:38:03 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.36.2.4: +5 -3 lines
Diff to previous 1.36.2.4 (colored) next main 1.37 (colored)

catch up with -current on kqueue branch

Revision 1.38.2.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:39:47 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.38.2.6: +5 -3 lines
Diff to previous 1.38.2.6 (colored)

Catch up to -current.

Revision 1.43 / (download) - annotate - [select for diffs], Fri May 31 21:09:03 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored)

Fix printf format issues.

Revision 1.38.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:41:02 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.38.2.5: +150 -4 lines
Diff to previous 1.38.2.5 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.36.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 15:58:38 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.36.2.3: +153 -6 lines
Diff to previous 1.36.2.3 (colored)

Catch up with -current.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 11 16:39:40 2002 UTC (21 years, 11 months ago) by uch
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.41: +5 -1 lines
Diff to previous 1.41 (colored)

make this compile and work with MIPS3_5900.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 5 15:43:25 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.40: +146 -4 lines
Diff to previous 1.40 (colored)

Add support for MIPS32 and MIPS64 architectures:
 - Move away from using CPUISMIPS3; use MIPS_HAS_R4K_MMU instead.
 - Add a command to dump cp0 state.

Revision 1.38.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:10:44 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.38.2.4: +5 -4 lines
Diff to previous 1.38.2.4 (colored)

Catch up to -current.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Feb 15 07:32:35 2002 UTC (22 years ago) by simonb
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored)

Make the ddb_regs declaration an extern in db_machdep.h and declare it on
db_interface.c.

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:08:36 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.36.2.2: +2 -2 lines
Diff to previous 1.36.2.2 (colored)

Sync w/ -current.

Revision 1.38.2.4 / (download) - annotate - [select for diffs], Fri Feb 1 04:57:45 2002 UTC (22 years ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.38.2.3: +2 -2 lines
Diff to previous 1.38.2.3 (colored)

Pull-up cache ops from -current

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jan 12 01:40:37 2002 UTC (22 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Define new macro to access FSR register and use it.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:46:07 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.36.2.1: +4 -11 lines
Diff to previous 1.36.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:26:18 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.38.2.2: +1 -1 lines
Diff to previous 1.38.2.2 (colored)

Catch up to -current.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sat Nov 17 23:43:41 2001 UTC (22 years, 3 months ago) by wdk
Branch: nathanw_sa
Changes since 1.38.2.1: +578 -0 lines
Diff to previous 1.38.2.1 (colored)

Inital support for Scheduler Activation on MIPS architectures.

Compiles for sgimips.  Needs more work in locore.S in order to reach
single user and beyond.

Revision 1.38.2.1, Wed Nov 14 18:15:21 2001 UTC (22 years, 3 months ago) by wdk
Branch: nathanw_sa
Changes since 1.38: +0 -578 lines
FILE REMOVED

file db_interface.c was added on branch nathanw_sa on 2001-11-17 23:43:41 +0000

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 14 18:15:21 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.37: +4 -11 lines
Diff to previous 1.37 (colored)

Merge the thorpej-mips-cache branch onto the trunk.  This is an
overhaul of how caches are handled for NetBSD's MIPS ports.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Wed Oct 24 17:38:08 2001 UTC (22 years, 4 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.37: +4 -11 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Update for the new cache code.  Some careful code review is needed
here, esp. by people who have done recent MIPS pmap hacking.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:59 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.36: +44 -64 lines
Diff to previous 1.36 (colored)

Update the kqueue branch to HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 27 06:18:08 2001 UTC (22 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.36: +44 -64 lines
Diff to previous 1.36 (colored)

ANSIfy, KNF.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:28:03 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Catch up to -current.

Revision 1.36 / (download) - annotate - [select for diffs], Wed May 30 15:24:33 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Branch point for: kqueue
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:11:06 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20.2.2: +3 -8 lines
Diff to previous 1.20.2.2 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 22 13:56:57 2001 UTC (23 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.34: +3 -8 lines
Diff to previous 1.34 (colored)

Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:00:44 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20.2.1: +9 -4 lines
Diff to previous 1.20.2.1 (colored)

Sync with HEAD.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:13:33 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20: +240 -114 lines
Diff to previous 1.20 (colored)

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.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Nov 9 06:02:40 2000 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +9 -4 lines
Diff to previous 1.33 (colored)

Use 64-bit printf formats for paddr_t's (for arc port).

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 5 00:53:00 2000 UTC (23 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

tweak cpu_arch.  Eliminate all direct checks of it (making them
use the macro CPUISMIPS3 -- which is badly misnamed), and set it
from #defines named CPU_ARCH_N (where N is 1..5, 32, 64).

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 10 08:01:24 2000 UTC (23 years, 6 months ago) by jeffs
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Tweak to compile with printf format changes.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 17 19:57:50 2000 UTC (23 years, 7 months ago) by jeffs
Branch: MAIN
Changes since 1.30: +1 -5 lines
Diff to previous 1.30 (colored)

Move platform db_trap callback from arch/mips into ddb as suggested by
jhawk.  This callback is used by platform code to manage things like
watchdogs that should be disabled while in ddb.  Done as a callback
for processors such as mips that support lots of different systems.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jul 17 07:04:20 2000 UTC (23 years, 7 months ago) by jeffs
Branch: MAIN
Changes since 1.29: +221 -95 lines
Diff to previous 1.29 (colored)

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.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jun 29 08:11:27 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:01:32 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 9 06:30:35 2000 UTC (23 years, 8 months ago) by soda
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

rename
	vad_to_pfn() -> mips_paddr_to_tlbpfn()
	pfn_to_vad() -> mips_tlbpfn_to_paddr()
as suggested by thorpej on port-mips Mar 27.

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 21 05:41:25 2000 UTC (23 years, 9 months ago) by soren
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.26: +1 -18 lines
Diff to previous 1.26 (colored)

MIPS 'mach halt' does nothing MD, so nuke it.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 28 02:58:48 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

Don't `extern' function declarations.  While we're there, remove trailing
blank lines and white space.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 18 00:02:43 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.24: +12 -1 lines
Diff to previous 1.24 (colored)

Take a whack at allowing sN, sp and gp to be set from DDB, too.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 17 23:52:23 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.23: +28 -2 lines
Diff to previous 1.23 (colored)

Allow vN, aN, tN, ra, sr, mul[lo,hi] and pc to be set from DDB.  sN requires
more work.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 26 13:36:05 2000 UTC (24 years, 1 month ago) by soren
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.22: +1 -18 lines
Diff to previous 1.22 (colored)

We don't really have 'mach trapdump'.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:32:46 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up to last week's -current.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 29 11:12:13 1999 UTC (24 years, 3 months ago) by uch
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

TX3912/22 support. ENABLE_MIPS_TX3900 enables it.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:38:38 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with -current

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 28 06:54:16 1999 UTC (24 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

sort mips_db_command_table

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 12 17:08:58 1999 UTC (24 years, 4 months ago) by jdolecek
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()

Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 11 05:11:02 1999 UTC (24 years, 4 months ago) by shin
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

fix mips3 TLB printf format

Revision 1.18 / (download) - annotate - [select for diffs], Sat Sep 25 00:00:38 1999 UTC (24 years, 5 months ago) by shin
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Changes for NetBSD/hpcmips.

	Support VR4100.
	Support 16KB page.
	Support CPU without FPU.

Fix virtual alias problem(physio() case).

[new options]

options		MIPS3_4100	/* VR4100 core */
options		MIPS_16K_PAGE	/* enable kernel support for 16k pages  */
options		SOFTFLOAT 	/* No FPU; avoid touching FPU registers */

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:52:06 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.14: +13 -13 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync w/ -current.

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 27 01:56:34 1999 UTC (24 years, 9 months ago) by nisimura
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

- Change a symbolic name of TLB entrylo from 'PG_M' to 'PG_D' to reflect
processor design.  MIPS 'dirty bit' is not the same as i386 'dirty bit'.
There is a growing concern of misuse in NetBSD/mips.

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 20 03:34:06 1999 UTC (24 years, 9 months ago) by nisimura
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

- Make tlb dump DDB command have 'D' indication for TLB 'dirty bit'.  MIPS
processor is one of processors with no 'referenced bit' nor 'modified bit'
processor machinary.  Those functions are implemented combining two
hardware bits, 'dirty bit' and 'valid bit', with TLBmod exception handler.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 24 08:10:39 1999 UTC (24 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored)

Nuke register and remove trailling white space.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 23 22:15:36 1999 UTC (24 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Include <machine/db_machdep.h> instead of <mips/db_machdep.h>.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 13 13:16:29 1999 UTC (24 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

pull in a part of [nisimura-pmax-wscons] rev 1.5.4.3: remove unneeded
kdbpeek() prototype

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 6 02:45:54 1999 UTC (24 years, 11 months ago) by jonathan
Branch: MAIN
Changes since 1.11: +26 -2 lines
Diff to previous 1.11 (colored)

DDB command `mach kvotop' to map kernel-virtual addreses to physical addresses.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 28 05:52:06 1999 UTC (25 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.10: +34 -4 lines
Diff to previous 1.10 (colored)

- Restore descriptive comments lost in the last commit.
- XXX Put a note that local DDB command 'trapdump' is not available. XXX

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 15 01:23:12 1999 UTC (25 years, 1 month ago) by castor
Branch: MAIN
Changes since 1.9: +123 -93 lines
Diff to previous 1.9 (colored)

* Elimination of UADDR/KERNELSTACK

   Affected files:
	include/mips_param.h, include/pcb.h,
	mips/locore_mips1.S, mips/locore_mips3.S,
	mips/mips_machdep.c, mips/vm_machdep.c

   Issue:

So far, NetBSD/mips has not successfully got rid of fixed-address
kernel stack.  USPACE (two 4KB pages) of each process has two distinct
KSEG2 addresses, both refer to a single physical storage; one address
for fixed range [ UADDR .. KERNELSTACK ), and another for "normal" KSEG2
address which was allocated by kernel memory manager and unique to each
others of processes.

"Doubly mapped" USPACE complicates context switch.  Both address ranges
have to be managed with a special care of "wired" TLB entries which
are never replaced until next context switch to ensure no TLB miss for
USPACE access.  It's equally crumbersome that MIPS processor's cache
machinary gets be confused about USPACE contents because there are two
distinct KSEG2 addresses to manipulate one physical storage.

   Solution:

Purge KERNELSTACK constant for kernel stack pointer and replace
it with process unique values.  Kernel stack bottom is located at
'curproc->p_addr + USPACE'.  Context switch is simplified as it unloads
half of TLB hardwiring burden.  It just manages the unique KSEG2 address
of each USPACE to be wired.  As the side effect, switch_exit() has no
MIPS processor ISA dependent code anymore.  It switchs kernel stack to
proc0's USPACE which has KSEG0 address and no need of TLB entry.

* Extensive use of 'genassym.cf'

To hide target port dependent and/or processor register size dependent
constants from assembler routines, 'genassym.cf' now has an extentive
set of definitions for various constants and offset values of
structural objects.  This change will contribute possible NetBSD/mips64
portability too.

* Separation and rename of locore_r2000/_r4000.S

Those files are now indepedent standalones from locore.S to ease
maintainance works, and renamed to match MIPS processor ISA version.

* Changes in kernel mode exception handlers

Kernel mode exception handlers hold exception contexts by pushing a
certain set of register values on stack for resuming kernel mode
processing.  This context is now represented with 'struct trapframe',
which is smaller than full scale (user mode) exception context 'struct
frame'.  Stack consumption of kernel mode exception services is now
similar to 4.4BSD/mips.

* Relocation of exception frame

User mode context 'struct frame' is moved to the very bottom of kernel
stack at 'curproc->p_addr + USPACE - sizeof(struct frame)'  This change
saves a bit of instructions on every return to user processes as it
eliminates reference to global variable 'curpcb' each time.

* Refurblished DDB backtrace routine

It's a growing concern to maintain stacktrace() code correctly.  It
could be simplified by enforcing special arrangements for some of
obscure locore routines which violate usual coding conventions.

New backtrace code searchs for certain instructions peculiar to any of
function tails.  Specifically, "jr ra" for normal function returns, "jr
k0" for MIPS1 exception handlers and "eret" for MIPS3 handlers.

* Support for 64-bit safe user code
    Affected Files:
	${ARCH}/include/pubassym.cf lib/libc/arch/mips/gen/*setjmp*
	include/setjmp.h mips/include/[lots] mips/mips/[lots]

    Solution:

	We define macros REG_L/REG_S and SZREG for loading and storing
	registers and for the size of registers.  The exact meaning
	of these is controlled by a macro (currently _MIPS64) which
	allows one to treat the registers as either 32-bit or 64-bit.
	There are data types mips_reg_t and mips_fpreg_t which represent
	the true register sizes, and avoid confusing register_t.

	We needed a way to dynamically gen the structure sizes of things
	like sigcontext for setjmp.h, so we defined a pubassym.cf for
	libc routines like setjmp and longjmp.

	NetBSD/mips allows ${ARCH}'s to be defined which preserve
	all 64-bits of registers across user context switches.  There
	are still a few niceties to clean up for kernel mode context
	switches.

* Support for QED 52xx processors
    Affected Files:
	mips/locore_mips3.S mips/pmap.c include/locore.h

    Issue:
	The QED 52xx family of processors are targeted at low cost
	embedded systems, (i.e. CPUs ~$30) for systems like routers, printers,
	etc.  We have added preliminary support for some of the idiosyncrasies
	of this processor, e.g. no L2 cache, etc.  More work needs to be
	done here because with a modest 2-way  L1 cache, some of the rampant
	flushing has significant performance implications.  However,
	it doesn't crash, which is a start.

    Solution:
	A routine for flushing the cache based on virtual addresses was added;
	a routine which deals with the two-way set associativity of the
	5230 L1 cache was added, accomodations to 5230's instruction hazards
	were added.


* TLB Miss code for mips3/mips4 processors cleaned up significantly.
    Affected Files:
	mips/locore_mips3.S mips/vm_machdep.c include/locore.h mips_machdep.c
    Issue:
	The TLB Miss handler exceeded the allowed size, which wasn't
	a problem because there was no handler for when the processor
	was in 64-bit mode.  The handler for invalid TLB exceptions
	also appears to have much vestigial code, which made it
	difficult to understand.

    Solution:
	Use the XCONTEXT register to store a pointer to the segment
	map table, this coupled with removing some dead code allows
	the handlers to fit.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 7 00:36:09 1999 UTC (25 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.8: +19 -2 lines
Diff to previous 1.8 (colored)

- Put comments on several DDB helper routines.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 6 04:11:30 1999 UTC (25 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.7: +56 -116 lines
Diff to previous 1.7 (colored)

- Complete vm_offset_t purge for mips processor.
- bzero() -> memset() and bcopy() -> memcpy().
- Garbage collection in trap.c and db_interface.c.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 25 01:14:48 1998 UTC (25 years, 3 months ago) by nisimura
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.6: +19 -19 lines
Diff to previous 1.6 (colored)

- Fix two bugs; inst_call() is supposed to check OP_SPECIAL opcode with
either OP_JR function code or *OP_JALR* function code (not OP_JAL opcode).
insn_unconditional_flow_transfer() was to read an unintialized variable.
Those MD DDB routines seems not useful work so far.

Revision 1.5.4.4 / (download) - annotate - [select for diffs], Mon Nov 16 10:41:33 1998 UTC (25 years, 3 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.5.4.3: +13 -12 lines
Diff to previous 1.5.4.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

- Step forward to MIPS64 support.  Incorporate partially Caster Fu's
patches.  Still some work is missing to satisfy his QED 5230 port.

- More symbolic definitions in genassym.cf which improve possible 64bit-ness
of locore_mips{1,3}.S.

- Fix mips3 L1 cache line size detection logic in cpuarch.h as pointed by
Caster.

- Fix a bug in proc_trampoline() code in locore_mips3.S as pointed by Caster.

- Replace vm_offset_t with vaddr_t/paddr_t entirely.  Note that
NetBSD/newsmips has purged vm_offset_t too.

- Synchronize various files according to recent changes made in main trunk.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Sat Nov 14 15:49:05 1998 UTC (25 years, 3 months ago) by drochner
Branch: nisimura-pmax-wscons
Changes since 1.5.4.2: +4 -5 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored)

fix egcs warnings
kdbpeek() prototype cleanup, ala PR port-mips/5252

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 28 04:28:32 1998 UTC (25 years, 4 months ago) by jonathan
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Add missing braces pointed out by egcs.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Wed Oct 21 11:27:45 1998 UTC (25 years, 4 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.5.4.1: +4 -4 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

- Correct format errors in "machine tlb" DDB command.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Thu Oct 15 03:16:46 1998 UTC (25 years, 4 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.5: +109 -28 lines
Diff to previous 1.5 (colored)

- Split MIPS1/MIPS3 specific codes from locore.S.  They stand independently
  as locore_mips1.S and locore_mips3.S respectively.
- Change function declaration macros in asm.h.  They are now more NetBSD/alpha
  look like.  All of *.S files were changed.
- TLB dump codes now reside in db_interface.c.  Minor change was done in
  locore_mips1.S for it.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:30 1998 UTC (25 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: nisimura-pmax-wscons-base, eeh-paddr_t-base, eeh-paddr_t
Branch point for: nisimura-pmax-wscons
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

defopt DDB.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Tue Dec 9 20:15:55 1997 UTC (26 years, 2 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001
Changes since 1.2.6.1: +5 -11 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync w/ trunk: fix priting of TLB entries. (mhitch)

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 6 19:19:07 1997 UTC (26 years, 2 months ago) by mhitch
Branch: MAIN
Changes since 1.3: +5 -11 lines
Diff to previous 1.3 (colored)

Someone forgot to update db_tlbdump_cmd() when adding the printf routine
to the TLB dump routines arguements.  Machines would die horibbly when
trying to dump the TLB entries in DDB.  Also don't explicitly "page" the
output, since db_printf takes care of that.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Wed Nov 12 02:00:10 1997 UTC (26 years, 3 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-BETA
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Pull rev 1.3 up from trunk (mhitch)

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 11 16:50:57 1997 UTC (26 years, 3 months ago) by mhitch
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

The address used by mips1_FlushICache() is a virtual address, not a physical
address.  This caused DDB to hang the machine hard when trying to set a
breakpoint.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 7 04:55:27 1997 UTC (26 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Branch point for: netbsd-1-3
Changes since 1.1: +5 -3 lines
Diff to previous 1.1 (colored)

Force write-back of D-cache after doing DDB writes on mips3.  Flushing
the Icache is not sufficient: a mips3 can write a new insn into
writeback L1 Dcache, leaving stale instructions in the mixed L2 cache.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 7 03:54:37 1997 UTC (26 years, 7 months ago) by jonathan
Branch: MAIN

DDB for mips.
  Add DDB interface to /sys/arch/mips/mips..
  Rework heuristic stack traceback to work with DDB.
  Add hooks  to print exception log from DDB.
  Add hooks from pmax console drivers:   call Debugger()
  after break from serial console, or 'DO' key from LK-xxx.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>