CVS log for src/sys/arch/powerpc/powerpc/powerpc_machdep.c
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
Mon May 30 14:48:08 2022 UTC (2 years, 10 months ago) by rin
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-1-RELEASE,
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: +14 -2
lines
Export CPU capability of unaligned memory access to userland
as machdep.no_unaligned sysctl(7) variable.
This will be used for ld.so.conf in order to provide strictly-
aligned versions of libc routines.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri May 20 19:34:22 2022 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3
lines
s/auxillary/auxiliary/ in comments.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue May 3 20:52:31 2022 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.
Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:15 2021 UTC (4 years ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +4 -4
lines
Sync with HEAD.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Apr 15 00:04:07 2021 UTC (4 years ago) by rin
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-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4
lines
sandpoint has its own module_init_md(). So, do not compile in
that function in powerpc_machdep.c.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:35 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +9 -3
lines
Sync with HEAD.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Mar 6 08:32:17 2021 UTC (4 years, 1 month ago) by rin
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -3
lines
Convert to KASSERTMSG(9) to display wrong IPL.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Mar 6 08:08:19 2021 UTC (4 years, 1 month ago) by rin
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +7 -2
lines
For booke and ibm4xx, switch to software-based single-stepping for PT_STEP
ptrace(2) command from broken hardware-based implementation.
As described in proposal on port-powerpc@,
http://mail-index.netbsd.org/port-powerpc/2021/02/26/msg003597.html
hardware debug facilities of booke and 4xx use critical interrupts, that
are difficult to handle for this purpose; they are not automatically masked
when entering kernel mode via system call trap or hardware interrupt.
See my proposal above for more details.
Now, hardware debug facilities are exclusively usable by kernel itself.
They are much more functional than PSL_SE MSR bit of oea, and should be
useful to, e.g., support byte-granular watchpoint for DDB in the future.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Jul 15 08:58:52 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +78 -2
lines
Factor out emulation code for m[ft]msr in user mode from oea, and
adjust it for systems without FPU.
Now, it can be used from booke and ibm4xx in order to support fenv(3).
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Jul 7 01:39:23 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +13 -2
lines
Part of PR port-powerpc/55425
openssl fails on FPU emulation for powerpc
Provide machdep.fpu_present sysctl variable like other ports.
Userland can get informed that FPU is absent and emulated in software
(and calculation results may not be correct in bit-to-bit precision).
This variable should be useful even if we could fix FPU emulation;
it is much faster to skip FPU arithmetic in general, rather than
relying upon emulation by kernel via illegal instruction handler.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Jul 6 09:34:18 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -2
lines
Style and cosmetic changes. No binary changes intended.
Revision 1.71.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:50 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.71.18.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.18.1: +19 -54
lines
Merge changes from current as of 20200406
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:30 2020 UTC (5 years, 1 month ago) by ad
Branches: ad-namecache
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +2 -7
lines
Sync with head.
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 27 18:32:08 2020 UTC (5 years, 1 month 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.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +2 -4
lines
Pull up following revision(s) (requested by rin in ticket #733):
sys/arch/powerpc/powerpc/fpu.c: revision 1.39
sys/arch/powerpc/powerpc/powerpc_machdep.c: revision 1.77
Provide no-op's as pcu_ops_md_defs[PCU_FPU] even if !PPC_HAVE_FPU.
This is required by subr_pcu.c rev 1.21 and later:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_pcu.c#rev1.21
Otherwise, panic occurs when FP instruction is emulated on machines
without FPU.
Note that PowerPC UISA as well as SVR4 ABI require FP instructions,
and emulation is enabled unconditionally on machines without FPU.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Feb 20 06:12:47 2020 UTC (5 years, 2 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,
ad-namecache-base3
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -4
lines
Provide no-op's as pcu_ops_md_defs[PCU_FPU] even if !PPC_HAVE_FPU.
This is required by subr_pcu.c rev 1.21 and later:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_pcu.c#rev1.21
Otherwise, panic occurs when FP instruction is emulated on machines
without FPU.
Note that PowerPC UISA as well as SVR4 ABI require FP instructions,
and emulation is enabled unconditionally on machines without FPU.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Feb 17 21:49:27 2020 UTC (5 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -5
lines
cpu_ast(): no need to call userret(), as the caller does it for us. From rin@.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Dec 5 20:55:24 2019 UTC (5 years, 4 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -3
lines
Need to call userret() from cpu_ast().
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Nov 23 19:40:36 2019 UTC (5 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +19 -46
lines
cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is required on another CPU, have the IPI set it locally.
- Expunge cpu_did_resched().
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Nov 21 19:57:24 2019 UTC (5 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -7
lines
mi_userret(): take care of calling preempt(), set spc_curpriority directly,
and remove MD code that does the same.
Revision 1.71.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:39 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
Sync with HEAD
Revision 1.71.16.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:46 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
Ssync with HEAD
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Sep 16 09:25:47 2018 UTC (6 years, 7 months ago) by skrll
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,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
interrupt has two 'r's
fix another typo while I'm here (flsah)
Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:38 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.1: +255 -1
lines
update from HEAD
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:00 2015 UTC (10 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +257 -3
lines
Sync with HEAD
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jan 23 07:27:05 2015 UTC (10 years, 3 months ago) by nonaka
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
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-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
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,
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,
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: phil-wifi,
pgoyette-compat
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +257 -3
lines
ddb MP support
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:20 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +34 -12
lines
Rebase to HEAD as of a few days ago.
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:05 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +17 -2
lines
Rebase.
Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:05 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.1: +19 -12
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.70: download - view: text, markup, annotated - select for diffs
Mon May 19 22:47:53 2014 UTC (10 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +17 -2
lines
Implement MI IPI interface with cross-call support.
Revision 1.64.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:22 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.64.4.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.4.1: +18 -11
lines
sync with head
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Mar 24 19:14:31 2014 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -7
lines
remove dup cpu_model sysctl; use the mi version in hw.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Mar 6 19:44:32 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +14 -16
lines
Fix PPC64 setregs
Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Feb 28 05:43:49 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +17 -3
lines
If execing a LP64 image, we need to read the function descriptor to get
the entry point and the TOC base. (Do we need to fixup the TOC base?)
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Nov 8 04:32:58 2013 UTC (11 years, 5 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
use __diagused for KASSERT only variable.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:20 2013 UTC (11 years, 7 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
sync with head
Revision 1.64.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:34 2013 UTC (11 years, 9 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3
lines
sync with HEAD
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Jul 19 06:43:20 2013 UTC (11 years, 9 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
cpuset_info is no longer volatile
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Thu May 17 18:24:27 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-6
CVS tags: 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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +9 -2
lines
Pull up following revision(s) (requested by matt in ticket #251):
sys/arch/powerpc/powerpc/powerpc_machdep.c: revision 1.64
sys/arch/powerpc/include/cpu.h: revision 1.90
Add CPU_EXECPROT sysctl so that atf can enable exec permission tests for
PPC Booke.
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:48 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +14 -35
lines
sync with head
Revision 1.60.6.3: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:18 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.60.6.2: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.6.2: +7 -0
lines
sync to latest -current.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Mar 16 07:41:55 2012 UTC (13 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet,
riastradh-drm2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +9 -2
lines
Add CPU_EXECPROT sysctl so that atf can enable exec permission tests for
PPC Booke.
Revision 1.60.6.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:33 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.60.6.1: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.6.1: +2 -33
lines
sync to -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:24 2012 UTC (13 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -33
lines
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:00 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +14 -11
lines
merge to -current.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Feb 11 23:16:16 2012 UTC (13 years, 2 months ago) by martin
Branches: MAIN
CVS tags: netbsd-6-base,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +13 -2
lines
Add a posix_spawn syscall, as discussed on tech-kern.
Based on the summer of code project by Charles Zhang, heavily reworked
later by me - all bugs are likely mine.
Ok: core, releng.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Dec 12 19:03:11 2011 UTC (13 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -11
lines
implement bdev_size(9) wrapper around d_psize() routine, so we can take
the device lock in relevant places. avoid doing so while actually dumping.
tested i386 crash dumps still work, and that all touched files compile.
fixes PR#45705.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jul 31 10:00:52 2011 UTC (13 years, 8 months ago) by kiyohara
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.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
s/MULTIPROCESOR/MULTIPROCESSOR/.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:00:17 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +7 -2
lines
Cleanup hatch names.
Add cpuset_info.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Jun 24 22:19:45 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Fix code that's been broken for over seven years...
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:35 2011 UTC (13 years, 10 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +210 -9
lines
Catchup with rmind-uvmplock merge.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jun 21 06:32:36 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +22 -2
lines
Add a common cpu_ast(l, ci) routine.
Add a ci_pmap_asid_cur for BOOKE debugging.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jun 20 08:47:13 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +28 -3
lines
Make more module friendly (part 1).
Don't export frame.h and psl.h to all of the kernel.
add lwp_pc and clkf accessor functions.
whitespace cleanup.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jun 17 19:03:01 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -4
lines
struct device * -> device_t
struct cfdata * -> cfdata_t
split device/softc (CFATTACH_DECL_NEW)
use device_accessors and device_private
constify
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Jun 14 05:50:25 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +34 -5
lines
Make startlwp and upcallret common instead of having 3 mostly identical copies.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Jun 14 03:12:43 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +19 -2
lines
Add mm_md_kernacc and now kmem tools work again.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jun 12 06:10:42 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +13 -2
lines
need mm_md_direct_mapped_phys support.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:45 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +12 -2
lines
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
Revision 1.42.4.6: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:05 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.5: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.5: +91 -4
lines
sync with head
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jun 7 00:48:32 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -6
lines
Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:31 2011 UTC (13 years, 10 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +152 -34
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jun 5 16:52:26 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +93 -2
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.42.4.5: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:15 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.4: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.4.4: +21 -1
lines
sync with head
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon May 2 02:01:33 2011 UTC (13 years, 11 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.47: preferred, colored
Changes since revision 1.47: +22 -3
lines
Move powerpc to use pcu to manage FPU/AltiVec/SPE.
Revision 1.42.4.4: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:20 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.3: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.4.3: +4 -6
lines
sync with head
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Mar 16 21:15:30 2011 UTC (14 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -8
lines
Use l->l_md.md_utf in preference to trapframe(l). This shrink the kernel
just a bit in size.
Revision 1.42.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:41 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.4.2: +39 -26
lines
sync with head
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:59 2011 UTC (14 years, 1 month ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -4
lines
Sync with HEAD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Mar 4 22:25:28 2011 UTC (14 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.
This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jan 18 01:02:55 2011 UTC (14 years, 3 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +35 -25
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.39.16.2: download - view: text, markup, annotated - select for diffs
Mon Jan 17 07:46:00 2011 UTC (14 years, 3 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.39.16.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.16.1: +15 -4
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.44: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:30 2011 UTC (14 years, 3 months ago) by rmind
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2
lines
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.
Various #include fixes and review by matt@.
Revision 1.39.16.1: download - view: text, markup, annotated - select for diffs
Fri Jan 7 02:03:51 2011 UTC (14 years, 3 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +34 -25
lines
Deal with trapframe changes and booke changes.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Nov 13 15:35:49 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6,
matt-mips64-premerge-20101231
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -2
lines
Some missing sys/device.h dependencies.
Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Sun Apr 25 15:27:37 2010 UTC (15 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.4.1: +3 -7
lines
- Invent mm_md_getva() and mm_md_relva() routines, provided by MD and
indicated with __HAVE_MM_MD_PREFER_VA. It will be used to deal with
cache aliasing issues and thus fix little MIPS, ARM and friends.
- Convert dev_mem_readwrite() to use unmanaged mappings. Fix a missed
offset addition in a case of direct map. Sprinkle various comments in
the memory device driver.
- Add missing direct map handling on hp700 and vax. Make checks across
m68k ports more consistent, reduce the diffs. Fix kernacc check miss
on news68k. Minor off-by-one fix for alpha. Add MEMC_PHYS_BASE for
mmap() case check on acorn26. Misc clean-up.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 18 04:36:51 2010 UTC (15 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -2
lines
Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.
Work and depression still in progress.
Revision 1.38.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:51 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.10.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.10.1: +16 -5
lines
sync with head
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Jan 18 23:35:51 2010 UTC (15 years, 3 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip
Branch point for: rmind-uvmplock
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +13 -2
lines
Define kobj_machdep and module_init_md empty functions so that powerpc
kernels (at least macppc) with 'options MODULAR' can be built.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Dec 10 14:13:51 2009 UTC (15 years, 4 months ago) by matt
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds). Should result in no code differences.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Nov 21 17:40:29 2009 UTC (15 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4
lines
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.
Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:45 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +26 -2
lines
sync with head.
Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:26 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +26 -2
lines
Sync with HEAD.
Revision 1.38.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:54 2008 UTC (16 years, 6 months ago) by haad
Branches: haad-dm
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +26 -2
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:18 2008 UTC (16 years, 6 months ago) by wrstuden
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,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-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.38: preferred, colored
Changes since revision 1.38: +26 -2
lines
Merge wrstuden-revivesa into HEAD.
Revision 1.38.12.2: download - view: text, markup, annotated - select for diffs
Sun Jun 22 18:12:03 2008 UTC (16 years, 10 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38.12.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.12.1: +24 -2
lines
Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.
Revision 1.38.12.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:46 2008 UTC (16 years, 11 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -2
lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.
Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
Revision 1.34.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:18 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.34.10.2: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.10.2: +6 -6
lines
sync with HEAD
Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:59 2008 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +6 -6
lines
Sync with HEAD.
Revision 1.28.12.6: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:29 2008 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.12.5: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.12.5: +6 -6
lines
sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 5 18:52:56 2008 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-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-nfs-mp,
wrstuden-revivesa,
mjf-devfs2,
haad-dm
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
lines
Replace as much of the hardcoded CACHELINESIZE with
curcpu()->ci_ci.dcache_line_size as I can. With this change, an ofppc kernel
compiled with both PPC_OEA and PPC_OEA64_BRIDGE defined, boots.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Feb 5 18:10:48 2008 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5
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.34.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:47:56 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.34.10.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.10.1: +11 -2
lines
sync with HEAD
Revision 1.34.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:03 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +11 -2
lines
Sync with HEAD.
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:41 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +11 -2
lines
Sync with HEAD.
Revision 1.28.12.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:25:58 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.12.4: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.12.4: +11 -2
lines
sync with head
Revision 1.33.6.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 19:04:06 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33.6.2: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.6.2: +2 -10
lines
Sync with HEAD.
Revision 1.33.6.2: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:38:31 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33.6.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.6.1: +19 -2
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:34:14 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +11 -2
lines
Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:21:02 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:56:48 2007 UTC (17 years, 6 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.28.12.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:29:03 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.12.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.12.3: +43 -2
lines
sync with head.
Revision 1.33.14.2: download - view: text, markup, annotated - select for diffs
Thu Aug 2 05:34:23 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.33.14.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.14.1: +0 -0
lines
sync with HEAD
Revision 1.33.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:01:31 2007 UTC (17 years, 9 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +43 -2
lines
Sync with head.
Revision 1.33.14.1: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:13:27 2007 UTC (17 years, 10 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +43 -2
lines
Sync with HEAD.
Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:55:22 2007 UTC (17 years, 10 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +43 -2
lines
Sync with head.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Jun 1 14:23:50 2007 UTC (17 years, 10 months ago) by nisimura
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
ppcoea-renovation-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
bouyer-xenamd64
Branch point for: matt-armv6,
jmcneill-pm
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +43 -2
lines
- add booted_device and booted_kernel sysctl nodes to let userland know
about runtime environment.
Revision 1.28.12.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:56 2007 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.12.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.12.2: +2 -26
lines
sync with head.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:11 2007 UTC (18 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
yamt-idlelwp,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
ppcoea-renovation,
mjf-ufs-trans
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -26
lines
Merge newlock2 to head.
Revision 1.31.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:49:37 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.31.4.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.4.1: +2 -26
lines
Remove support for SA. Ok core@.
Revision 1.28.12.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:44 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.12.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.12.1: +9 -7
lines
sync with head.
Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:29 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -4
lines
Sync with head.
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:04:59 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +6 -4
lines
sync with head
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Oct 21 05:54:32 2006 UTC (18 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -4
lines
in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev. this occurs when we try to set the dumpdev to a device
with no driver loaded. this fixes PR#34872.
in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf(). (this also fixes PR#34872.)
XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.
XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:42:34 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -5
lines
sync with head
Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:42:41 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -5
lines
sync with head
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Aug 5 21:26:49 2006 UTC (18 years, 8 months ago) by sanjayl
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5
lines
1st cut of Powermac G5 support (uses bridge mode).
Revision 1.28.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:55:11 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -4
lines
sync with head.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:46 2005 UTC (19 years, 4 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.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
merge ktrace-lwp.
Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:58:26 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.4: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.4: +2 -4
lines
Sync with HEAD. Here we go again...
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Oct 2 15:10:16 2005 UTC (19 years, 6 months ago) by chs
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,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -4
lines
remove unnecessary extern declaration.
Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:20:49 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.3: preferred, colored
Changes since revision 1.20.2.3: +2 -2
lines
Fix the sync with head I botched.
Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:39:20 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.2: preferred, colored
Changes since revision 1.20.2.2: +1 -1
lines
Sync with HEAD.
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:39:37 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.1: preferred, colored
Changes since revision 1.20.2.1: +84 -55
lines
Sync with HEAD
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jul 9 22:59:17 2004 UTC (20 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2
lines
Clear PSL_SE on a scheduler activation upcall.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Apr 4 17:05:31 2004 UTC (21 years ago) by matt
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
Don't add PSL_FE_FDLT to srr1, but put in pcb_flags. It will be added to
the SRR1 only when the lwp owns the FPU.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:51 2004 UTC (21 years, 1 month ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +21 -12
lines
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jan 3 00:09:15 2004 UTC (21 years, 3 months ago) by aymeric
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
fix an obvious typo which prevented the machdep.cacheinfo table from being
published.
This generated the following warning message at boot time:
sysctl_createv: sysctl_create(cacheinfo) returned 17
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Dec 5 11:00:57 2003 UTC (21 years, 4 months ago) by hannken
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -2
lines
Make it compile without PPC_OEA.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:22 2003 UTC (21 years, 4 months ago) by atatat
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +63 -39
lines
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.
PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Sep 27 04:44:42 2003 UTC (21 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +8 -18
lines
ANSIfy.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:54:48 2003 UTC (21 years, 9 months ago) by lukem
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -1
lines
__KERNEL_RCSID()
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 02:57:32 2003 UTC (21 years, 9 months ago) by wrstuden
Branches: ktrace-lwp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
LWP-ify for bebox/GENERIC
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:28:49 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 29 11:02:23 2003 UTC (21 years, 10 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Feb 3 17:10:11 2003 UTC (22 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 2 20:43:24 2003 UTC (22 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
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.16: download - view: text, markup, annotated - select for diffs
Sat Jan 18 23:43:24 2003 UTC (22 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -8
lines
In cpu_upcall, cast to register_t, not int. (int is not LP64 friendly)
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jan 18 06:23:34 2003 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +36 -5
lines
Merge the nathanw_sa branch.
Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:35:23 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.5.2.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.5: +6 -6
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.8.6.17: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:17:09 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.8.6.16: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.6.16: +6 -6
lines
Catch up to -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 7 months ago) by gehenna
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6
lines
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:39:27 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.5.2.4: preferred, colored
Changes since revision 1.5.2.4: +22 -1
lines
sync kqueue branch with HEAD
Revision 1.8.6.16: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:43:10 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.15: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.15: +22 -1
lines
Catch up to -current.
Revision 1.11.4.3: download - view: text, markup, annotated - select for diffs
Sun Jul 21 13:00:49 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.11.4.2: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.2: +8 -1
lines
catch up with -current.
Revision 1.8.6.15: download - view: text, markup, annotated - select for diffs
Fri Jul 19 22:18:27 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.14: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.14: +4 -7
lines
Invoke upcalls directly, instead of going through a trampoline.
(Since upcalls shouldn't return at all, even the return part of the
trampoline is unnecessary).
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jul 16 23:04:21 2002 UTC (22 years, 9 months ago) by matt
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -1
lines
Add machdep.powerpc sysctl. Change the default value of powersave to -1
(< 0 mean no powersave available). Enable powersave by default for
750/7400/7410 but leave if off for 7450/7455.
Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Tue Jul 16 13:10:00 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.1: +15 -1
lines
catch up with -current.
Revision 1.8.6.14: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:46 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.13: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.13: +2 -2
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jul 5 18:45:22 2002 UTC (22 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -1
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.5.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:39:47 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.5.2.3: preferred, colored
Changes since revision 1.5.2.3: +3 -3
lines
catch up with -current on kqueue branch
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Fri May 17 13:49:59 2002 UTC (22 years, 11 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6
lines
Replace the access to devsw table and the hard-coded major with devsw API.
Revision 1.8.6.13: download - view: text, markup, annotated - select for diffs
Mon Apr 1 23:12:13 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.12: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.12: +2 -1
lines
LWPify the changes in setregs().
Revision 1.8.6.12: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:42:08 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.11: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.11: +10 -4
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.8.6.11: download - view: text, markup, annotated - select for diffs
Mon Mar 25 21:48:57 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.10: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.10: +2 -2
lines
Allocate space on the stack for struct saframe (the linkage area)
(Accidentally lost this code when switching to thr common upcall code).
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Mar 18 04:50:32 2002 UTC (23 years, 1 month ago) by briggs
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Use p->p_psstr instead of PS_STRINGS.
Tested on boot to multi-user on sandpoint.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:59:19 2002 UTC (23 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.5.2.2: preferred, colored
Changes since revision 1.5.2.2: +8 -2
lines
Catch up with -current.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Mar 13 00:38:14 2002 UTC (23 years, 1 month ago) by eeh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -1
lines
Add cache_info to cpu_info which provides details about D$ and I$
sizes and line sizes. This is needed for cache flusing, clearing
memory, and several other operations. This information is accessible
from userland through a new CPU_CACHEINFO sysctl.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 6 13:10:23 2002 UTC (23 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: newlock-base,
newlock
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
Revision 1.8.6.10: download - view: text, markup, annotated - select for diffs
Fri Dec 28 06:12:20 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.9: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.9: +1 -26
lines
Garbage collect cpu_stashcontext().
Revision 1.8.6.9: download - view: text, markup, annotated - select for diffs
Mon Dec 17 22:00:31 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.8: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.8: +3 -1
lines
Oops, don't delete the declaration of sigcode[] and upcallcode.
Revision 1.8.6.8: download - view: text, markup, annotated - select for diffs
Mon Dec 17 21:31:26 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.6.7: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.7: +10 -109
lines
Convert to new, smaller cpu_upcall().
Revision 1.8.6.7: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:42:09 2001 UTC (23 years, 5 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.8.6.6: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.6: +2 -2
lines
Make sure we use the proper stack pointer for signal delivery.
Revision 1.8.6.6: download - view: text, markup, annotated - select for diffs
Wed Nov 21 03:22:27 2001 UTC (23 years, 5 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.8.6.5: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.5: +3 -3
lines
Dress up upcall's callframe correctly.
Revision 1.8.6.5: download - view: text, markup, annotated - select for diffs
Sat Nov 17 22:14:17 2001 UTC (23 years, 5 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.8.6.4: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.4: +27 -15
lines
Update to Current World Order.
Revision 1.8.6.4: download - view: text, markup, annotated - select for diffs
Tue Nov 13 20:00:30 2001 UTC (23 years, 5 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.8.6.3: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.3: +9 -2
lines
Improve upcall to better work with libpthread.
Revision 1.8.6.3: download - view: text, markup, annotated - select for diffs
Thu Nov 8 05:06:19 2001 UTC (23 years, 5 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.8.6.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.2: +2 -2
lines
Make some callee space on the stack for the cpu_upcall.
Revision 1.8.6.2: download - view: text, markup, annotated - select for diffs
Mon Nov 5 19:46:18 2001 UTC (23 years, 5 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.8.6.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.1: +302 -0
lines
Initial SA support for ppc. Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:14:24 2001 UTC (23 years, 7 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.5.2.1: preferred, colored
Changes since revision 1.5.2.1: +13 -2
lines
Update the kqueue branch to HEAD.
Revision 1.8.6.1
Sun Aug 26 02:47:39 2001 UTC (23 years, 8 months ago) by briggs
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.8: +0 -166
lines
file powerpc_machdep.c was added on branch nathanw_sa on 2001-11-05 19:46:18 +0000
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 26 02:47:39 2001 UTC (23 years, 8 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,
ifpoll-base
Branch point for: nathanw_sa
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +13 -2
lines
Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:15 2001 UTC (23 years, 8 months ago) by lukem
Branches: kqueue
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
update to -current
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jul 26 22:53:13 2001 UTC (23 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
auxilliary -> auxiliary
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 22 11:29:46 2001 UTC (23 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jul 5 08:38:25 2001 UTC (23 years, 9 months ago) by toshii
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Fix typo. s/extention/extension/
Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:54:32 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.4.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +32 -48
lines
Sync with HEAD
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:54:35 2001 UTC (24 years ago) by nathanw
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +32 -48
lines
Catch up with -current.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 5 09:58:05 2001 UTC (24 years 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: +30 -48
lines
Regenerate this file from cvs repository in order to get back original
copyright.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 3 13:10:26 2001 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1
lines
add standard NetBSD RCS Id on top
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:29:14 2001 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.4.1: preferred, colored
Changes since revision 1.2.4.1: +171 -0
lines
Sync with HEAD.
Revision 1.2.4.1
Sat Feb 24 22:39:20 2001 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.2: +0 -171
lines
file powerpc_machdep.c was added on branch thorpej_scsipi on 2001-03-12 13:29:14 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Feb 24 22:39:20 2001 UTC (24 years, 2 months ago) by matt
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +79 -1
lines
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
dumpsys is still port-specific for now. XXX dumpsys is still a stub
on all powerpc ports.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 24 04:29:26 2001 UTC (24 years, 2 months ago) by matt
Branches: MAIN
Since setregs is common among all the powerpc ports,
make a common version and put it in powerpc_machdep.c
CVSweb <webmaster@jp.NetBSD.org>