CVS log for src/sys/arch/powerpc/powerpc/trap_subr.S
Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / powerpc
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed May 18 13:56:32 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3
lines
fix typos in word "access" and it derivatives, mainly in comments.
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:35 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +19 -7
lines
Sync with HEAD.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Feb 24 16:42:38 2021 UTC (3 years, 9 months ago) by thorpej
Branches: 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
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +19 -7
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 12 21:18:01 2020 UTC (4 years, 4 months ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -8
lines
No need to work around for IBM405 Errata 77; ibm4xx does not use this file.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jul 6 11:09:15 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -1
lines
Include required opt_*.h for sure.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Jul 6 09:34:18 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -1
lines
Style and cosmetic changes. No binary changes intended.
Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:50 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.1: +8 -1
lines
Merge changes from current as of 20200406
Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:54:59 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +8 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 1 23:23:36 2020 UTC (4 years, 9 months ago) by rin
Branches: 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
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +8 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:39 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -144
lines
Sync with HEAD
Revision 1.78.26.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:40 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.78.26.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.26.1: +2 -144
lines
Sync with HEAD
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Jul 15 05:16:44 2018 UTC (6 years, 4 months ago) by maxv
Branches: 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
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -144
lines
Retire ipkdb entirely. The option was removed from the config files
yesterday.
ok kamil christos
Revision 1.78.26.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:01 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2
lines
Sync with HEAD
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed May 2 08:24:40 2018 UTC (6 years, 7 months ago) by phx
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2
lines
Fixed non-critical typo in tlbdsmiss: %r8 -> 8.
Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:20 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +3 -9
lines
Rebase to HEAD as of a few days ago.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:05 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +4 -4
lines
Rebase.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jul 29 16:19:45 2014 UTC (10 years, 4 months ago) by joerg
Branches: 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-3-RELEASE,
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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4
lines
cmpl wants four operands, so use the shorter cmplw instead.
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:05 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.2: +23 -9
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:20 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +1 -7
lines
sync with head
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Aug 23 06:24:21 2013 UTC (11 years, 3 months ago) by matt
Branches: 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
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -7
lines
Avoid a few instructions since we know CURLWP is in %r13
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:10 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +23 -3
lines
resync from head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Apr 11 17:13:15 2013 UTC (11 years, 7 months ago) by macallan
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +23 -3
lines
make PPC_OEA64_BRIDGE mode work
from Phileas Fogg
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:14 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +22 -5
lines
sync with head
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Jul 27 04:17:07 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4
lines
Use %r6 for setting PSL_RI, not %r30 since r30 needs to be preserved.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Jul 18 16:56:51 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +22 -5
lines
Add conditionals so this should work for the MPC8XX SoCs.
Turn on PSL_RI in interrupts.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:48 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +36 -11
lines
sync with head
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:00 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +36 -11
lines
merge to -current.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:25:58 2012 UTC (12 years, 10 months ago) by matt
Branches: 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
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +35 -10
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 13 11:03:51 2011 UTC (12 years, 11 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2
lines
Remove white-spaces.
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:35 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +29 -31
lines
Catchup with rmind-uvmplock merge.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Jun 21 05:15:44 2011 UTC (13 years, 5 months ago) by matt
Branches: 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
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -7
lines
Remove #if 0 block
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Jun 17 05:10:53 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -14
lines
Let ext_intr adjust ci_idepth.
Remove some dead code.
Use the right register for SRR1
Revision 1.66.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:05 2011 UTC (13 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.66.4.2: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.2: +37 -21
lines
sync with head
Revision 1.66.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:31 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +270 -276
lines
Sync with HEAD.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Jun 5 16:52:26 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +38 -22
lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:20 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.1: +2 -2
lines
sync with head
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Apr 7 02:05:02 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
Fix bogus idepth on OEA.
Revision 1.65.16.5: download - view: text, markup, annotated - select for diffs
Sun Mar 27 08:47:10 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.65.16.4: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.16.4: +3 -3
lines
Don't store the new idepth into the trapframe, use the idepth at the start
of the interrupt.
Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:42 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +242 -264
lines
sync with head
Revision 1.65.16.4: download - view: text, markup, annotated - select for diffs
Fri Jan 28 04:37:25 2011 UTC (13 years, 10 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.65.16.3: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.16.3: +33 -9
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 26 08:52:25 2011 UTC (13 years, 10 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.65.16.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.16.2: +19 -18
lines
Change battable to have a granularity of 8MB.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Jan 18 01:02:55 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +242 -264
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 17 07:46:00 2011 UTC (13 years, 10 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.65.16.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.16.1: +9 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 7 02:05:58 2011 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +238 -217
lines
Deal with trapframe changes. Rework trap_subr.S to take advantage of the
simplier world.
Revision 1.63.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:51 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.63.10.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.10.1: +2 -2
lines
sync with head
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jan 28 14:10:54 2010 UTC (14 years, 10 months ago) by mbalmer
Branches: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2
lines
Fix language.
Revision 1.63.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:45 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +88 -4
lines
sync with head.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:54 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +2 -2
lines
Sync with HEAD.
Revision 1.63.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:06 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.63.6.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.6.1: +1 -1
lines
Sync with HEAD.
Revision 1.63.12.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:32 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.63.12.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.12.1: +2 -2
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.59.24.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 08:46:43 2008 UTC (16 years, 3 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +2 -2
lines
Sync with netbsd-4.
Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 19:38:25 2008 UTC (16 years, 3 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 18:31:50 2008 UTC (16 years, 3 months ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 1 16:32:03 2008 UTC (16 years, 4 months ago) by matt
Branches: 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
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:38 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +87 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.63.8.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:04:51 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +87 -3
lines
sync with head
Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:34 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +87 -3
lines
Sync with HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat May 24 21:39:01 2008 UTC (16 years, 6 months ago) by phx
Branches: 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
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +87 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:18 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +11 -184
lines
sync with HEAD
Revision 1.59.40.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:59 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +11 -184
lines
Sync with HEAD.
Revision 1.57.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:29 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.4.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.4.2: +11 -184
lines
sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Feb 7 03:20:17 2008 UTC (16 years, 10 months ago) by garbled
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 5 22:31:50 2008 UTC (16 years, 10 months ago) by garbled
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 5 18:10:49 2008 UTC (16 years, 10 months ago) by garbled
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -181
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 21 09:38:29 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57.4.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.4.1: +2 -2
lines
sync with head
Revision 1.59.48.1: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:14:43 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +2 -2
lines
Sync with HEAD
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Jan 17 23:43:00 2008 UTC (16 years, 10 months ago) by garbled
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:44 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +196 -15
lines
sync with head.
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:42:34 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +196 -15
lines
sync with head
Revision 1.58.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:42:41 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +196 -15
lines
sync with head
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Aug 5 21:26:49 2006 UTC (18 years, 4 months ago) by sanjayl
Branches: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +196 -15
lines
1st cut of Powermac G5 support (uses bridge mode).
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:46 2005 UTC (18 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -1
lines
merge ktrace-lwp.
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Sat May 7 07:09:27 2005 UTC (19 years, 7 months ago) by snj
Branches: netbsd-2-0
CVS tags: netbsd-2-0-3-RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat May 7 05:47:38 2005 UTC (19 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:20 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +4 -2
lines
sync with -current
Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:12 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +4 -2
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.38.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 8 13:53:09 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.3: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.3: +4 -2
lines
Sync with HEAD.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Mar 4 22:40:32 2005 UTC (19 years, 9 months ago) by nathanw
Branches: 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
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 21 13:20:50 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:39:20 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.1: preferred, colored
Changes since revision 1.38.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:39:38 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +783 -617
lines
Sync with HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Jun 9 23:24:51 2004 UTC (20 years, 6 months ago) by kleink
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +29 -48
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 8 19:07:00 2004 UTC (20 years, 6 months ago) by kleink
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -3
lines
Repair a comment misplaced in rev. 1.43.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Dec 9 09:49:01 2003 UTC (21 years ago) by simonb
Branches: 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
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
Make some comments line up.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Nov 30 07:41:54 2003 UTC (21 years ago) by simonb
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -2
lines
Remove unused ddbsave define.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Nov 21 18:07:29 2003 UTC (21 years ago) by matt
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +8 -20
lines
Restore ci_curpm since it re-enables 603 to working state.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Oct 22 17:27:58 2003 UTC (21 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +17 -3
lines
Rework ddblow so that if PSL_PR == 1, it dispatches directly to the
trap handler and bypasses the ddbtrap code.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:12:24 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +30 -1
lines
Add code to drop into DDB if you get a DSI fault on the current stack page.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Aug 12 15:40:02 2003 UTC (21 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +21 -10
lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 12 05:06:56 2003 UTC (21 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 8 07:14:28 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -15
lines
Nuke ci_spillstk/CI_SPILLSTK. No longer needed.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Aug 8 06:11:48 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1
lines
Add a type for trapstart so ddb will use it.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Aug 6 07:18:56 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
Don't overwrite the value of DAR in r30. Use r31 instead.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Aug 4 22:29:59 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +26 -11
lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 4 00:32:50 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +328 -172
lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 31 07:51:16 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +531 -531
lines
Use symbolic register names (%rN and %crN) throughout. Change a few more
numeric constants to their symbolic counterparts.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jul 31 06:49:32 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +70 -86
lines
Convert most numeric constants to their symbolic equivalents. (step 2 of
cleaning up this file).
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jul 31 06:21:09 2003 UTC (21 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +42 -42
lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 9 22:51:51 2003 UTC (21 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 29 15:16:14 2003 UTC (21 years, 7 months ago) by scw
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 15 07:21:02 2003 UTC (21 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +18 -2
lines
Add LINTSTUBs and make oea_init() agree with them.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Mar 4 08:34:12 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1
lines
Pass the address of the intrframe to the ext_intr routine.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Feb 21 15:14:08 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 3 17:10:11 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Feb 2 20:43:24 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +131 -114
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 22 22:15:06 2003 UTC (21 years, 10 months ago) by kleink
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
Whitespace nit in previous.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 22 21:44:56 2003 UTC (21 years, 10 months ago) by kleink
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +19 -5
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 18 06:23:35 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -3
lines
Merge the nathanw_sa branch.
Revision 1.21.4.2: download - view: text, markup, annotated - select for diffs
Wed Nov 6 22:10:56 2002 UTC (22 years, 1 month ago) by tron
Branches: 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
Diff to: previous 1.21.4.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.4.1: +1 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 1 18:14:07 2002 UTC (22 years, 1 month ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +50 -77
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 18 02:39:33 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.11.6.7: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.7: +5 -151
lines
Catch up to -current.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:37:52 2002 UTC (22 years, 2 months ago) by matt
Branches: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -151
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:39:29 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.4: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.4: +128 -101
lines
sync kqueue branch with HEAD
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:45:49 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +65 -25
lines
catch up with -current.
Revision 1.11.6.7: download - view: text, markup, annotated - select for diffs
Tue Aug 6 22:47:12 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.6.6: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.6: +55 -7
lines
Catch up with powerpc rototilling.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Aug 6 06:21:58 2002 UTC (22 years, 4 months ago) by chs
Branches: MAIN
CVS tags: kqueue-base,
gehenna-devsw-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -7
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 2 03:46:45 2002 UTC (22 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +49 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 1 02:43:12 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.6.5: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.5: +75 -95
lines
Catch up to -current.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jul 28 07:06:27 2002 UTC (22 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -12
lines
resync the MP and non-MP trap_subr's.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jul 25 23:46:47 2002 UTC (22 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -8
lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 16 13:10:00 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +79 -92
lines
catch up with -current.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Jul 5 18:45:22 2002 UTC (22 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +32 -5
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 26 20:00:17 2002 UTC (22 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -20
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 26 01:14:45 2002 UTC (22 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +50 -77
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:39:47 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.3: preferred, colored
Changes since revision 1.10.2.3: +201 -87
lines
catch up with -current on kqueue branch
Revision 1.11.6.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:40:35 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.6.4: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.4: +122 -97
lines
Catch up to -current.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 2 16:47:49 2002 UTC (22 years, 7 months ago) by kleink
Branches: 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +36 -3
lines
* 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 - view: text, markup, annotated - select for diffs
Mon Apr 22 23:20:08 2002 UTC (22 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Express tempsave and disisave addresses using the symbolic names of the
exception handlers which they are `borrowed' from.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 22 18:31:11 2002 UTC (22 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Fix a swapped register pasto(?) introduced in rev. 1.17.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 21 22:05:45 2002 UTC (22 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +36 -36
lines
Convert the spill stack frame to use symbolic offset names; inspired by
a conversation with Matt Thomas.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Apr 18 20:08:10 2002 UTC (22 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +48 -48
lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 18 12:33:26 2002 UTC (22 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -11
lines
Don't do random replacement in isitrap601; just like isitrap.
Revision 1.11.6.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:42:09 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.6.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.3: +93 -2
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 27 15:40:46 2002 UTC (22 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +90 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 16 15:59:19 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.2: preferred, colored
Changes since revision 1.10.2.2: +5 -3
lines
Catch up with -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Mar 2 15:19:56 2002 UTC (22 years, 9 months ago) by kleink
Branches: MAIN
CVS tags: newlock-base,
newlock,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 28 04:11:27 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.6.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.2: +2 -2
lines
Catch up to -current.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Feb 27 03:27:14 2002 UTC (22 years, 9 months ago) by matt
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
Add a comment to where we increment intr_depth to show that intstk+INTSTK
== intr_depth. (gag)
Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:43 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.1: +1034 -0
lines
More catchup.
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:48:08 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.10.2.1: preferred, colored
Changes since revision 1.10.2.1: +7 -5
lines
Sync kqueue branch with -current.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jan 6 00:35:13 2002 UTC (22 years, 11 months ago) by dbj
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -5
lines
add support for kgdb over zs
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:14:25 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1
lines
Update the kqueue branch to HEAD.
Revision 1.11.6.1
Thu Aug 30 22:00:48 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.11: +0 -1032
lines
file trap_subr.S was added on branch nathanw_sa on 2002-01-11 23:38:43 +0000
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Aug 30 22:00:48 2001 UTC (23 years, 3 months ago) by matt
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 30 01:24:13 2001 UTC (23 years, 5 months ago) by matt
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +51 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 23 02:36:14 2001 UTC (23 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +24 -31
lines
Use SPR_xxx for the *MISS HASH CMP, etc.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:32:37 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.3.2.1: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +22 -3
lines
Catch up to -current.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jun 17 13:39:02 2001 UTC (23 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Use _C_LABEL() for externally referenced symbols.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jun 15 08:09:33 2001 UTC (23 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 8 00:16:25 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 6 17:36:04 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +19 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 9 01:54:36 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -41
lines
Catch up with -current.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:29:15 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.4: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.4: +3 -41
lines
Sync with HEAD.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 7 08:10:44 2001 UTC (23 years, 9 months ago) by tsubai
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -41
lines
Remove MULTIPROCESSOR part. (moved to separate file)
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:34:58 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +12 -3
lines
Sync with HEAD
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jan 1 04:33:39 2001 UTC (23 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +12 -3
lines
Make want_resched and astpending per-CPU.
Add some per-CPU variables to cpu_info.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:30:18 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +1 -5
lines
Sync with HEAD.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 4 17:05:52 2000 UTC (24 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -4
lines
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
them in early startup.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:01:30 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +1000 -0
lines
Sync with HEAD.
Revision 1.1.2.1
Thu Nov 16 05:33:04 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.1: +0 -1000
lines
file trap_subr.S was added on branch thorpej_scsipi on 2000-11-22 16:01:30 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 16 05:33:04 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Branch point for: thorpej_scsipi
Trap routines from the macppc port, to be used by other PowerPC
ports (only amigappc's differs).
CVSweb <webmaster@jp.NetBSD.org>