The NetBSD Project

CVS log for src/sys/arch/powerpc/powerpc/trap_subr.S

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.86 / (download) - annotate - [select for diffs], Wed May 18 13:56:32 2022 UTC (23 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

fix typos in word "access" and it derivatives, mainly in comments.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:35 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.84: +19 -7 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Feb 24 16:42:38 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.84: +19 -7 lines
Diff to previous 1.84 (colored)

Add a provision for a per-cpu battable.  Each CPU starts with the global
one, but this allows CPUs to temporarily switch to an alternate battable
if needed.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Jul 12 21:18:01 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.83: +1 -8 lines
Diff to previous 1.83 (colored)

No need to work around for IBM405 Errata 77; ibm4xx does not use this file.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jul 6 11:09:15 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.82: +4 -1 lines
Diff to previous 1.82 (colored)

Include required opt_*.h for sure.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Jul 6 09:34:18 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.81: +4 -1 lines
Diff to previous 1.81 (colored)

Style and cosmetic changes. No binary changes intended.

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:50 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.79.2.1: +8 -1 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)

Merge changes from current as of 20200406

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:54:59 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.80: +8 -1 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Pull up following revision(s) (requested by rin in ticket #755):

	sys/arch/evbppc/conf/std.virtex: revision 1.4
	sys/arch/powerpc/powerpc/trap_subr.S: revision 1.81
	sys/arch/powerpc/ibm4xx/4xx_trap_subr.S: revision 1.8
	sys/arch/evbppc/conf/std.walnut: revision 1.9
	common/lib/libc/arch/powerpc/atomic/atomic_op_asm.h: revision 1.7
	sys/arch/powerpc/include/asm.h: revision 1.49
	common/lib/libc/arch/powerpc/atomic/atomic_cas.S: revision 1.9
	sys/arch/powerpc/ibm4xx/trap_subr.S: revision 1.28
	sys/arch/powerpc/include/lock.h: revision 1.15
	sys/arch/evbppc/conf/std.obs266: revision 1.3
	common/lib/libc/arch/powerpc/atomic/atomic_swap.S: revision 1.8
	sys/arch/powerpc/powerpc/locore_subr.S: revision 1.61
	sys/arch/powerpc/powerpc/lock_stubs.S: revision 1.12
	sys/arch/evbppc/conf/std.obs200: revision 1.5

Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

     https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

     https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.

However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.
Proposed on port-powerpc:

     http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html

Revision 1.81 / (download) - annotate - [select for diffs], Sun Mar 1 23:23:36 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.80: +8 -1 lines
Diff to previous 1.80 (colored)

Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

    https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

    https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.
However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.

Proposed on port-powerpc:

    http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:39 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.79: +2 -144 lines
Diff to previous 1.79 (colored)

Sync with HEAD

Revision 1.78.26.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:40 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.78.26.1: +2 -144 lines
Diff to previous 1.78.26.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Sun Jul 15 05:16:44 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.79: +2 -144 lines
Diff to previous 1.79 (colored)

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos

Revision 1.78.26.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:01 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Wed May 2 08:24:40 2018 UTC (5 years, 11 months ago) by phx
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Fixed non-critical typo in tlbdsmiss: %r8 -> 8.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:20 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.75.2.1: +3 -9 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:05 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Rebase.

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jul 29 16:19:45 2014 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, 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, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

cmpl wants four operands, so use the shorter cmplw instead.

Revision 1.71.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:05 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.71.2.2: +23 -9 lines
Diff to previous 1.71.2.2 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:20 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.76: +1 -7 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

sync with head

Revision 1.77 / (download) - annotate - [select for diffs], Fri Aug 23 06:24:21 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.76: +1 -7 lines
Diff to previous 1.76 (colored)

Avoid a few instructions since we know CURLWP is in %r13

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:10 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.75: +23 -3 lines
Diff to previous 1.75 (colored)

resync from head

Revision 1.76 / (download) - annotate - [select for diffs], Thu Apr 11 17:13:15 2013 UTC (11 years ago) by macallan
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.75: +23 -3 lines
Diff to previous 1.75 (colored)

make PPC_OEA64_BRIDGE mode work
from Phileas Fogg

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:14 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.71.2.1: +22 -5 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 27 04:17:07 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

Use %r6 for setting PSL_RI, not %r30 since r30 needs to be preserved.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jul 18 16:56:51 2012 UTC (11 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.73: +22 -5 lines
Diff to previous 1.73 (colored)

Add conditionals so this should work for the MPC8XX SoCs.
Turn on PSL_RI in interrupts.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:48 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.71: +36 -11 lines
Diff to previous 1.71 (colored)

sync with head

Revision 1.71.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:00 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.71: +36 -11 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

merge to -current.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Feb 1 05:25:58 2012 UTC (12 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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, 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
Changes since 1.72: +35 -10 lines
Diff to previous 1.72 (colored)

Enable XBSEN and HIGHBAT for OEA 7455 and related CPUs.
The BAT entries now have a resolution of 8MB.  (Adjacent entries are merged
up to a total of 2GB per entry).

Revision 1.72 / (download) - annotate - [select for diffs], Tue Dec 13 11:03:51 2011 UTC (12 years, 4 months ago) by kiyohara
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Remove white-spaces.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:35 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.68: +29 -31 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 21 05:15:44 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.70: +1 -7 lines
Diff to previous 1.70 (colored)

Remove #if 0 block

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

Let ext_intr adjust ci_idepth.
Remove some dead code.
Use the right register for SRR1

Revision 1.66.4.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:05 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66.4.2: +37 -21 lines
Diff to previous 1.66.4.2 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

sync with head

Revision 1.66.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:31 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.66: +270 -276 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jun 5 16:52:26 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.68: +38 -22 lines
Diff to previous 1.68 (colored)

Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.

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

sync with head

Revision 1.68 / (download) - annotate - [select for diffs], Thu Apr 7 02:05:02 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Fix bogus idepth on OEA.

Revision 1.65.16.5 / (download) - annotate - [select for diffs], Sun Mar 27 08:47:10 2011 UTC (13 years ago) by matt
Branch: matt-nb5-pq3
Changes since 1.65.16.4: +3 -3 lines
Diff to previous 1.65.16.4 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

Don't store the new idepth into the trapframe, use the idepth at the start
of the interrupt.

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:42 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66: +242 -264 lines
Diff to previous 1.66 (colored)

sync with head

Revision 1.65.16.4 / (download) - annotate - [select for diffs], Fri Jan 28 04:37:25 2011 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.65.16.3: +33 -9 lines
Diff to previous 1.65.16.3 (colored) to branchpoint 1.65 (colored)

If a CPU has HIGHBAT, then use them.  We dynamically change dsitrap to
select between bats 4-7 when HIGHBAT is detected.

Revision 1.65.16.3 / (download) - annotate - [select for diffs], Wed Jan 26 08:52:25 2011 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.65.16.2: +19 -18 lines
Diff to previous 1.65.16.2 (colored) to branchpoint 1.65 (colored)

Change battable to have a granularity of 8MB.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:55 2011 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.66: +242 -264 lines
Diff to previous 1.66 (colored)

Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.65.16.2 / (download) - annotate - [select for diffs], Mon Jan 17 07:46:00 2011 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.65.16.1: +9 -2 lines
Diff to previous 1.65.16.1 (colored) to branchpoint 1.65 (colored)

Add SPE (signal processing engine) support for mpc85xx/booke.  Think of it
as AltiVec-lite (really lite).  Genercize AltiVec support so that it could
the same interface could support SPE as well.  Rework the FPU support along
the same lines.  Move the __asm() to their own XXX_subr.S (altivec, fpu, spe).

Revision 1.65.16.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:05:58 2011 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.65: +238 -217 lines
Diff to previous 1.65 (colored)

Deal with trapframe changes.  Rework trap_subr.S to take advantage of the
simplier world.

Revision 1.63.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:51 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.63.10.1: +2 -2 lines
Diff to previous 1.63.10.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jan 28 14:10:54 2010 UTC (14 years, 2 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Fix language.

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

sync with head.

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:54 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.63.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:06 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63.6.1: +1 -1 lines
Diff to previous 1.63.6.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.63.12.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:32 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.63.12.1: +2 -2 lines
Diff to previous 1.63.12.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.59.24.1 / (download) - annotate - [select for diffs], Thu Sep 4 08:46:43 2008 UTC (15 years, 7 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with netbsd-4.

Revision 1.59.8.1 / (download) - annotate - [select for diffs], Wed Aug 20 19:38:25 2008 UTC (15 years, 8 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Pull up following revision(s) (requested by matt in ticket #1174):
	sys/arch/powerpc/powerpc/trap_subr.S: revision 1.65
Fix bug where SRR1 (%r2) was being accidently misused and modifed
in place of segreg (%r1).
> From Konrad Karpowicz <konradk at pacomp dot pl>.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 18:31:50 2008 UTC (15 years, 8 months ago) by bouyer
Branch: netbsd-3
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Pull up following revision(s) (requested by matt in ticket #1950):
	sys/arch/powerpc/powerpc/trap_subr.S: revision 1.65
Fix bug where SRR1 (%r2) was being accidently misused and modifed
in place of segreg (%r1).
> From Konrad Karpowicz <konradk at pacomp dot pl>.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Aug 1 16:32:03 2008 UTC (15 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: 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, 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-premerge-20091211, matt-nb5-pq3-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: matt-nb5-pq3
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Fix bug where SRR1 (%r2) was being accidently misused and modifed
in place of segreg (%r1).

From Konrad Karpowicz <konradk at pacomp dot pl>.

Revision 1.63.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:38 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.63: +87 -3 lines
Diff to previous 1.63 (colored)

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

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

sync with head

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:34 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.63: +87 -3 lines
Diff to previous 1.63 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Sat May 24 21:39:01 2008 UTC (15 years, 10 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.63: +87 -3 lines
Diff to previous 1.63 (colored)

Make oea_init() support systems with high-vector configurations (i.e exception
vectors at 0xfff00000), and trap_subr.S allows the kernel to be in a memory
region which is not reachable by absolute branch instructions (ba and bla).

High-vector support can be enabled by option PPC_HIGH_VEC, and long-branches
to the kernel are enabled by the option DISTANT_KERNEL.

Revision 1.59.34.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:18 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.59: +11 -184 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with HEAD

Revision 1.59.40.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:59 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.59: +11 -184 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

Revision 1.57.4.3 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:29 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.57.4.2: +11 -184 lines
Diff to previous 1.57.4.2 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 7 03:20:17 2008 UTC (16 years, 2 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.62: +2 -4 lines
Diff to previous 1.62 (colored)

Code to disable BAT use on cpu's that either don't have BAT's, or don't
gain any benefit from them.  This nets a small speedup on the POWER3, and
is probably needed for POWER5, which might not emulate BATs like the 3 does.
Also, thanks to Matt Thomas, who suggested re-using alitrap rather than
writing a new dsinobattrap that would have looked remarkably identical
when finished.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Feb 5 22:31:50 2008 UTC (16 years, 2 months ago) by garbled
Branch: MAIN
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Ifdef out all the MPC601 code with PPC_OEA601.  Now only arches that have the
possibility of running on an MPC601, are infected with all the extra code
and nops that it added.

Also, fix compilation that I broke with the pmap code, by adding
oeacpufeat to the locores of various ppc arches.  Noted by mlelstv.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Feb 5 18:10:49 2008 UTC (16 years, 2 months ago) by garbled
Branch: MAIN
Changes since 1.60: +10 -181 lines
Diff to previous 1.60 (colored)

Rewrite a big chunk of the pmap and locore code for powerpc to better
deal with the 64bit bridge mode.  pmap changes by Matt Thomas, rest by myself.

Change pmap.c to work similar to exec_elf.c to allow us to compile in
multiple pmaps to a single kernel.  This allows the pmap for bridge64 to
co-exist with the 32bit pmap.

Yank __HAVE_PMAP_PHYSSEG from all the oea code.

Add a new global, "oeacpufeat", which is used early in locore to determine
certain cpu features.  This allows us to conditionalize code early in the boot
for certain CPUs that have special needs.

Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was
found in.  Some of it seemed incorrect, and my 7044 booted just fine
without it.  It would appear that the bridge cpus treat BAT instructions
as nops, so they seem to be safe.

In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear
MSR[SF], and ASR[V].

With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64
will boot on the POWERIII-2 cpu.  However, it will not yet boot on a 32bit
cpu, because of CACHELINESIZE.  Work remains to be done there to fix that.

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:38:29 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.57.4.1: +2 -2 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored)

sync with head

Revision 1.59.48.1 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:43 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jan 17 23:43:00 2008 UTC (16 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Add support to ofppc for the IBM 7044-270 machine.  This is a POWER3-II
based machine.  Currently the kernel to run on this machine is
incompatible with the standard GENERIC kernel, so for now, we have a
separate GENERIC_B64. Eventually, I hope to combine the two.

Please note, this is a port of 32bit ofppc, not a powerpc64 port.

Thanks to Matt Thomas and Kevin Bowling for helping to make this port
possible.

Summary of changes:

Change ofwpci to use the ofmethod config for configuring the PCI bus,
rather than indirect configuration.
Move the wiring of the interrupt controllers from at the start of the
boot, into the configuration of the first PCI bus.
Rewrite the map_isa_ioregs() hack to work on a machine without BATs
Fix a ton of bugs in the genofw_find_pics routine, and in the map_space code.
Split the pic_openpic into openpic_common and pic_openpic.
Create a new pic_distopenpic driver, for the distributed openpic found on
some newer IBM machines.
Fix a bad panic in pmap_extract on 64bit bridge mode

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:44 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.57: +196 -15 lines
Diff to previous 1.57 (colored)

sync with head.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:34 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.58: +196 -15 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:42:41 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.58: +196 -15 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Sat Aug 5 21:26:49 2006 UTC (17 years, 8 months ago) by sanjayl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-base-1, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, netbsd-4, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.58: +196 -15 lines
Diff to previous 1.58 (colored)

1st cut of Powermac G5 support (uses bridge mode).

Revision 1.58 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:46 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (colored)

merge ktrace-lwp.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sat May 7 07:09:27 2005 UTC (18 years, 11 months ago) by snj
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Pull up revision 1.57 (requested by matt in ticket #1286):
Don't enable interrupts while calling trap() if the trapping frame
didn't have them enabled either.
Addresses PR port-macppc/29559.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Sat May 7 05:47:38 2005 UTC (18 years, 11 months ago) by snj
Branch: netbsd-2
CVS Tags: 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
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Pull up revision 1.57 (requested by matt in ticket #1286):
Don't enable interrupts while calling trap() if the trapping frame
didn't have them enabled either.
Addresses PR port-macppc/29559.

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:20 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with -current

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:12 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.38.2.4 / (download) - annotate - [select for diffs], Tue Mar 8 13:53:09 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.38.2.3: +4 -2 lines
Diff to previous 1.38.2.3 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 4 22:40:32 2005 UTC (19 years, 1 month ago) by nathanw
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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored)

Don't enable interrupts while calling trap() if the trapping frame
didn't have them enabled either.

Addresses PR port-macppc/29559.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:50 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.38.2.2: +1 -1 lines
Diff to previous 1.38.2.2 (colored)

Fix the sync with head I botched.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:20 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.38.2.1: +0 -0 lines
Diff to previous 1.38.2.1 (colored)

Sync with HEAD.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:38 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.38: +783 -617 lines
Diff to previous 1.38 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jun 9 23:24:51 2004 UTC (19 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.55: +29 -48 lines
Diff to previous 1.55 (colored)

Get rid of the silly CPU601 hooks and move BAT register restoration and
obliteration to RESTORE_{KERN,USER}_SRS, respectively; have oea_init()
patch these sequences to be skipped on non-MPC601s.  The code sequence
matching heuristic isn't as pretty as the one for VRSAVE and MQ but works
well enough with the current structure of the trap code, and can be easily
updated when necessary.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jun 8 19:07:00 2004 UTC (19 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.54: +2 -3 lines
Diff to previous 1.54 (colored)

Repair a comment misplaced in rev. 1.43.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Dec 9 09:49:01 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-2-base, 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-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0, netbsd-2
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Make some comments line up.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Nov 30 07:41:54 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

Remove unused ddbsave define.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 21 18:07:29 2003 UTC (20 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.51: +8 -20 lines
Diff to previous 1.51 (colored)

Restore ci_curpm since it re-enables 603 to working state.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 22 17:27:58 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.50: +17 -3 lines
Diff to previous 1.50 (colored)

Rework ddblow so that if PSL_PR == 1, it dispatches directly to the
trap handler and bypasses the ddbtrap code.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Oct 9 07:12:24 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.49: +30 -1 lines
Diff to previous 1.49 (colored)

Add code to drop into DDB if you get a DSI fault on the current stack page.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Aug 12 15:40:02 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.48: +21 -10 lines
Diff to previous 1.48 (colored)

D'oh!  The PCB can't be accessed with the MMU off.  So get the pmap pointer
*before* disabling the MMU.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 12 05:06:56 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.47: +5 -3 lines
Diff to previous 1.47 (colored)

Nuke ci_curpm and curpm.  Nuke pcb_pmreal.  Those were use for spill stacks
and those no longer exist.  for few uses that need CURPM, use CURPCB/PCB_PM

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 8 07:14:28 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.46: +1 -15 lines
Diff to previous 1.46 (colored)

Nuke ci_spillstk/CI_SPILLSTK.  No longer needed.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Aug 8 06:11:48 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

Add a type for trapstart so ddb will use it.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Aug 6 07:18:56 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Don't overwrite the value of DAR in r30.  Use r31 instead.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 4 22:29:59 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.43: +26 -11 lines
Diff to previous 1.43 (colored)

Change bc x,y,z to their simplified mnemonics.  During a kernel DSI fault,
if the exception address is < 1 page away from the KSP, switch to the that
CPU's spill stack to handle the trap.  Otherwise you can get in a infinite
DSI fault loop.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 4 00:32:50 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.42: +328 -172 lines
Diff to previous 1.42 (colored)

Eliminate stmw/lmw substituting the individual load/store instructions.
Use more symbolic constants.  These are now safe for use on PPC64.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 31 07:51:16 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.41: +531 -531 lines
Diff to previous 1.41 (colored)

Use symbolic register names (%rN and %crN) throughout.  Change a few more
numeric constants to their symbolic counterparts.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 31 06:49:32 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.40: +70 -86 lines
Diff to previous 1.40 (colored)

Convert most numeric constants to their symbolic equivalents.  (step 2 of
cleaning up this file).

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jul 31 06:21:09 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.39: +42 -42 lines
Diff to previous 1.39 (colored)

Replace 'm[tf]sprg x,y' with the appropriate 'm[tf]sprg[0-3] r' (this makes the
SPRG used unambiguous).  This causes no change in the generated object.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jul 9 22:51:51 2003 UTC (20 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

Enhance db_trace to understand syscalls and print the syscall number
that the user requested.  For example:

0xd5c56f40: SC trap #240 by 0x15668c60: srr1=0xd032
            r1=0xffffe470 cr=0x44000045 xer=0 ctr=0xeff27ab8

Revision 1.38 / (download) - annotate - [select for diffs], Tue Apr 29 15:16:14 2003 UTC (20 years, 11 months ago) by scw
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Put an isync at the end of the RESTORE_SRS() macro. This is the
recommended workaround for a mtsr/mtsrin errata with PPC750 cpus.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 15 07:21:02 2003 UTC (21 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.36: +18 -2 lines
Diff to previous 1.36 (colored)

Add LINTSTUBs and make oea_init() agree with them.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Mar 4 08:34:12 2003 UTC (21 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Pass the address of the intrframe to the ext_intr routine.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 21 15:14:08 2003 UTC (21 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

witch from xor r,r,r to li r,0 to set a register to 0.  It's clearer (and
better for G4 processors).

Revision 1.34 / (download) - annotate - [select for diffs], Mon Feb 3 17:10:11 2003 UTC (21 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).

Revision 1.33 / (download) - annotate - [select for diffs], Sun Feb 2 20:43:24 2003 UTC (21 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.32: +131 -114 lines
Diff to previous 1.32 (colored)

Perform a rototill of the powerpc code.  Mandate use of SPRG0 to store
a pointer to current cpu's cpu_info structure.  Use cpu_info for
intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on
non-MULTIPROCESSOR machines.  Add common macros GET_CPUINFO and
INIT_CPUINFO to get and initialize the cpu_info struct on startup.  Make
ibm4xx use the standard <powerpc/frame.h>.  Use IFRAME_xx in ibm4xx
trap_subr.S instead of explicit magic offsets.  Move INTSTK and SPILLSTK
to std.<platform>.  Change faultbuf to a struct instead of an array.

On MPC6XX cpus, stop using the vector page for temporary space and use
reserved space in cpu_info.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 22 22:15:06 2003 UTC (21 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Whitespace nit in previous.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 22 21:44:56 2003 UTC (21 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.30: +19 -5 lines
Diff to previous 1.30 (colored)

MPC601 support bits:
* install 601-specific DSI and RUNMODETRC trap handlers
* save/restore MQ in trapframe, add MQ hooks to DDB
* extend battable to 512 entries to hold the 601's 8M translations
* instead of adding I/O to BAT starvation, set up segment registers
  for Memory-Forced I/O Controller Interface Access
* sync after tlbie

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 18 06:23:35 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

Merge the nathanw_sa branch.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Wed Nov 6 22:10:56 2002 UTC (21 years, 5 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.21.4.1: +1 -2 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Remove superflous "#endif" invented by last pullup which causes build
failures on PPC architectures. (requested by jdolecek in ticket #970)

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Fri Nov 1 18:14:07 2002 UTC (21 years, 5 months ago) by tron
Branch: netbsd-1-6
Changes since 1.21: +50 -77 lines
Diff to previous 1.21 (colored)

Pull up revision 1.22 (requested by matt in ticket #373):
Revamp how SR(s) are loaded on the user/kernel boundary.  We now load all
16 SR registers when transitioning between kernel and user.  Also, don't
reload the kernel SR(s) on every trap but only on traps from user space.
Instead of loading magic SRs for the kernel, load the kernel SRs from the
kernel_pmap_.  This makes trap_subr.S completely ignorant of SR uses and
so they can change with having to change trap_subr.S.  Also note that
since the user and kernel get complete SR sets, user VA space can now be
increased to 4GB if desired.

Revision 1.11.6.8 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:33 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.6.7: +5 -151 lines
Diff to previous 1.11.6.7 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Catch up to -current.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 10 22:37:52 2002 UTC (21 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.28: +5 -151 lines
Diff to previous 1.28 (colored)

Move pte_spill calls from trap_subr to trap().  Count the number of
"evictions" and avoide calling pmap_pte_spill if there are no evictions
for the current pmap.  Make the ISI execption use the default exception
code.  Remove lots of dead stuff from trap_subr.

Make olink use TAILQ instead of LIST and be sorted with evicted entries
first and resident entries last.  Make use of this knowledge to make
pmap_pte_spill do a fast exit.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:39:29 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.4: +128 -101 lines
Diff to previous 1.10.2.4 (colored) next main 1.11 (colored)

sync kqueue branch with HEAD

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:49 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21.2.1: +65 -25 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

catch up with -current.

Revision 1.11.6.7 / (download) - annotate - [select for diffs], Tue Aug 6 22:47:12 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.6.6: +55 -7 lines
Diff to previous 1.11.6.6 (colored) to branchpoint 1.11 (colored)

Catch up with powerpc rototilling.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Aug 6 06:21:58 2002 UTC (21 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: kqueue-base, gehenna-devsw-base
Changes since 1.27: +6 -7 lines
Diff to previous 1.27 (colored)

be sure to re-enable interrupts before calling trap() a second time
due to an AST.  the rule is that we must always have interrupts
enabled when acquiring kernel_lock, so that we can process blocking IPIs
from another CPU which is already holding kernel_lock.
reduce differences between the MP and non-MP versions of this file.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 2 03:46:45 2002 UTC (21 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.26: +49 -1 lines
Diff to previous 1.26 (colored)

use a completely separate trap handler for syscall traps.
this reduces syscall overhead by 10% to 20% depending on cpu type.

Revision 1.11.6.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:12 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.6.5: +75 -95 lines
Diff to previous 1.11.6.5 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 28 07:06:27 2002 UTC (21 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.25: +12 -12 lines
Diff to previous 1.25 (colored)

resync the MP and non-MP trap_subr's.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 25 23:46:47 2002 UTC (21 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.24: +1 -8 lines
Diff to previous 1.24 (colored)

Cleanup AltiVec data stream issues with context switching.  Don't stop
data streams on execptions/interrupts since the processor will suspend
them for us.  Only stop them on 1) process exit, 2) another process gets
its address space loaded, and 3) (for completeness only) we save a process's
AltiVec context.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Jul 16 13:10:00 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21: +79 -92 lines
Diff to previous 1.21 (colored)

catch up with -current.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jul 5 18:45:22 2002 UTC (21 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.23: +32 -5 lines
Diff to previous 1.23 (colored)

Peform a rototill over the powerpc-based ports.

Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop.  Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 26 20:00:17 2002 UTC (21 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.22: +7 -20 lines
Diff to previous 1.22 (colored)

Make traps even smaller by noticing the checking of privilege mode and
use of curpcb/USPACE is common and move that into the common trap processing.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 26 01:14:45 2002 UTC (21 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.21: +50 -77 lines
Diff to previous 1.21 (colored)

Revamp how SR(s) are loaded on the user/kernel boundary.  We now load all
16 SR registers when transitioning between kernel and user.  Also, don't
reload the kernel SR(s) on every trap but only on traps from user space.
Instead of loading magic SRs for the kernel, load the kernel SRs from the
kernel_pmap_.  This makes trap_subr.S completely ignorant of SR uses and
so they can change with having to change trap_subr.S.  Also note that
since the user and kernel get complete SR sets, user VA space can now be
increased to 4GB if desired.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:39:47 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.3: +201 -87 lines
Diff to previous 1.10.2.3 (colored)

catch up with -current on kqueue branch

Revision 1.11.6.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:35 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.6.4: +122 -97 lines
Diff to previous 1.11.6.4 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 2 16:47:49 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.20: +36 -3 lines
Diff to previous 1.20 (colored)

* On the 601, obliterate all BAT entries when returning from kernel to
  userlevel; this is necessary due to the 601, unlike other 6xx, having
  no concept of separated Valid_user vs. Valid_supervisor for BATs.
* When crossing the kernel/userlevel boundary, have platform-provided
  hooks set up the two fixed BAT entries, and possibly additional
  segment registers to redeem the 601's BAT limitations.

Both of the above are only built if the $MACHINE provides these hooks,
sparing others the pain.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 22 23:20:08 2002 UTC (22 years ago) by kleink
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Express tempsave and disisave addresses using the symbolic names of the
exception handlers which they are `borrowed' from.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 22 18:31:11 2002 UTC (22 years ago) by kleink
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Fix a swapped register pasto(?) introduced in rev. 1.17.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Apr 21 22:05:45 2002 UTC (22 years ago) by kleink
Branch: MAIN
Changes since 1.17: +36 -36 lines
Diff to previous 1.17 (colored)

Convert the spill stack frame to use symbolic offset names; inspired by
a conversation with Matt Thomas.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 18 20:08:10 2002 UTC (22 years ago) by matt
Branch: MAIN
Changes since 1.16: +48 -48 lines
Diff to previous 1.16 (colored)

Use a common genassym.cf for all the PPC_MPC6XX ports.  Add a makeoptions to
std.foo to indicate the directory to get genassym.cf from.  Add an intrframe
to <powerpc/frame.h> and make trap_subr.S use symbolic offsets into it.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 18 12:33:26 2002 UTC (22 years ago) by kleink
Branch: MAIN
Changes since 1.15: +3 -11 lines
Diff to previous 1.15 (colored)

Don't do random replacement in isitrap601; just like isitrap.

Revision 1.11.6.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:09 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.6.3: +93 -2 lines
Diff to previous 1.11.6.3 (colored) to branchpoint 1.11 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 27 15:40:46 2002 UTC (22 years ago) by kleink
Branch: MAIN
Changes since 1.14: +90 -1 lines
Diff to previous 1.14 (colored)

Add separate 601 versions of DSI/ISI trap entries, considering the
different battable entry format and the combined BAT implementation.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:19 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.2: +5 -3 lines
Diff to previous 1.10.2.2 (colored)

Catch up with -current.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 2 15:19:56 2002 UTC (22 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Also reset segment register 0 on kernel entry: there may not always be
a fixed BAT entry covering segment 0, or not completely covering it,
and we do restore it on return to user level already.

Revision 1.11.6.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:11:27 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.6.2: +2 -2 lines
Diff to previous 1.11.6.2 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 27 03:27:14 2002 UTC (22 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add a comment to where we increment intr_depth to show that intstk+INTSTK
== intr_depth. (gag)

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Fri Jan 11 23:38:43 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.6.1: +1034 -0 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored)

More catchup.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:48:08 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.10.2.1: +7 -5 lines
Diff to previous 1.10.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 6 00:35:13 2002 UTC (22 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.11: +7 -5 lines
Diff to previous 1.11 (colored)

add support for kgdb over zs

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:25 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

Update the kqueue branch to HEAD.

Revision 1.11.6.1, Thu Aug 30 22:00:48 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +0 -1032 lines
FILE REMOVED

file trap_subr.S was added on branch nathanw_sa on 2002-01-11 23:38:43 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 30 22:00:48 2001 UTC (22 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

Make sure to restore SR 0 since returning from a syscall is actually
one way of doing a process context switch.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 30 01:24:13 2001 UTC (22 years, 9 months ago) by matt
Branch: MAIN
Branch point for: kqueue
Changes since 1.9: +51 -2 lines
Diff to previous 1.9 (colored)

Reset segment registers 1-7 upon entry to kernel (via trap or interrupts)
so that the bat spill code won't run into spurious valid user pages and
treat them as kernel pages.  Restore segment registers 1-7 upon return to
user mode from either a trap or interrupt.   XXX  eventually do all 16 SRs

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 23 02:36:14 2001 UTC (22 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.8: +24 -31 lines
Diff to previous 1.8 (colored)

Use SPR_xxx for the *MISS HASH CMP, etc.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:32:37 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.3.2.1: +22 -3 lines
Diff to previous 1.3.2.1 (colored) next main 1.4 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 17 13:39:02 2001 UTC (22 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use _C_LABEL() for externally referenced symbols.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 15 08:09:33 2001 UTC (22 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Globalize trapexit.  Improve db_trace.c so that you can trace thru traps!
Rework the output so that is also prints the frame address by default.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 8 00:16:25 2001 UTC (22 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Rename pte_spill to pmap_pte_spill.  Fix pmap_clear_{referenced,modify}
to return the previous state of the bit.  Make it compile under
-Wmissing-prototypes -Wall.  Change around some debug stuff.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 6 17:36:04 2001 UTC (22 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.4: +19 -1 lines
Diff to previous 1.4 (colored)

Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs.
Move MPC6xx dependent header files to powerpc/include/mpc6xx/

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:36 2001 UTC (23 years ago) by nathanw
Changes since 1.3: +3 -41 lines
Diff to previous 1.3 (colored)

Catch up with -current.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:15 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.4: +3 -41 lines
Diff to previous 1.1.2.4 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 7 08:10:44 2001 UTC (23 years, 1 month ago) by tsubai
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.3: +3 -41 lines
Diff to previous 1.3 (colored)

Remove MULTIPROCESSOR part.  (moved to separate file)

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:34:58 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.3: +12 -3 lines
Diff to previous 1.1.2.3 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 1 04:33:39 2001 UTC (23 years, 3 months ago) by tsubai
Branch: MAIN
Changes since 1.2: +12 -3 lines
Diff to previous 1.2 (colored)

Make want_resched and astpending per-CPU.
Add some per-CPU variables to cpu_info.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:30:18 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.2: +1 -5 lines
Diff to previous 1.1.2.2 (colored)

Sync with HEAD.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 4 17:05:52 2000 UTC (23 years, 4 months ago) by tsubai
Branch: MAIN
Changes since 1.1: +0 -4 lines
Diff to previous 1.1 (colored)

Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
them in early startup.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:01:30 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.1: +1000 -0 lines
Diff to previous 1.1.2.1 (colored)

Sync with HEAD.

Revision 1.1.2.1, Thu Nov 16 05:33:04 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -1000 lines
FILE REMOVED

file trap_subr.S was added on branch thorpej_scsipi on 2000-11-22 16:01:30 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 16 05:33:04 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej_scsipi

Trap routines from the macppc port, to be used by other PowerPC
ports (only amigappc's differs).

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>