The NetBSD Project

CVS log for src/sys/arch/powerpc/powerpc/powerpc_machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.86 / (download) - annotate - [select for diffs], Mon May 30 14:48:08 2022 UTC (22 months, 2 weeks ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.85: +14 -2 lines
Diff to previous 1.85 (colored)

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) - annotate - [select for diffs], Fri May 20 19:34:22 2022 UTC (22 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

s/auxillary/auxiliary/ in comments.

Revision 1.84 / (download) - annotate - [select for diffs], Tue May 3 20:52:31 2022 UTC (23 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:15 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Apr 15 00:04:07 2021 UTC (3 years ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-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
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

sandpoint has its own module_init_md(). So, do not compile in
that function in powerpc_machdep.c.

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

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Mar 6 08:32:17 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored)

Convert to KASSERTMSG(9) to display wrong IPL.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Mar 6 08:08:19 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.80: +7 -2 lines
Diff to previous 1.80 (colored)

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) - annotate - [select for diffs], Wed Jul 15 08:58:52 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.79: +78 -2 lines
Diff to previous 1.79 (colored)

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) - annotate - [select for diffs], Tue Jul 7 01:39:23 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.78: +13 -2 lines
Diff to previous 1.78 (colored)

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) - annotate - [select for diffs], Mon Jul 6 09:34:18 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.77: +4 -2 lines
Diff to previous 1.77 (colored)

Style and cosmetic changes. No binary changes intended.

Revision 1.71.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:50 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.71.18.1: +19 -54 lines
Diff to previous 1.71.18.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Merge changes from current as of 20200406

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:30 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.75: +2 -7 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Sync with head.

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Thu Feb 27 18:32:08 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

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) - annotate - [select for diffs], Thu Feb 20 06:12:47 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.76: +2 -4 lines
Diff to previous 1.76 (colored)

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) - annotate - [select for diffs], Mon Feb 17 21:49:27 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.75: +2 -5 lines
Diff to previous 1.75 (colored)

cpu_ast(): no need to call userret(), as the caller does it for us. From rin@.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Dec 5 20:55:24 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.74: +5 -3 lines
Diff to previous 1.74 (colored)

Need to call userret() from cpu_ast().

Revision 1.74 / (download) - annotate - [select for diffs], Sat Nov 23 19:40:36 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.73: +19 -46 lines
Diff to previous 1.73 (colored)

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) - annotate - [select for diffs], Thu Nov 21 19:57:24 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.72: +2 -7 lines
Diff to previous 1.72 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:06:39 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Sync with HEAD

Revision 1.71.16.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:46 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Ssync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Sun Sep 16 09:25:47 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, 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
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

interrupt has two 'r's

fix another typo while I'm here (flsah)

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:38 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.64.2.1: +255 -1 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

update from HEAD

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:00 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.70: +257 -3 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 23 07:27:05 2015 UTC (9 years, 2 months ago) by nonaka
Branch: 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-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
Changes since 1.70: +257 -3 lines
Diff to previous 1.70 (colored)

ddb MP support

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:20 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.64: +34 -12 lines
Diff to previous 1.64 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:05 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.60.2.1: +19 -12 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

sync with head.

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

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

Revision 1.70 / (download) - annotate - [select for diffs], Mon May 19 22:47:53 2014 UTC (9 years, 10 months ago) by rmind
Branch: 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
Changes since 1.69: +17 -2 lines
Diff to previous 1.69 (colored)

Implement MI IPI interface with cross-call support.

Revision 1.64.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:22 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.64.4.1: +18 -11 lines
Diff to previous 1.64.4.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Mon Mar 24 19:14:31 2014 UTC (10 years ago) by christos
Branch: 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
Changes since 1.68: +2 -7 lines
Diff to previous 1.68 (colored)

remove dup cpu_model sysctl; use the mi version in hw.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Mar 6 19:44:32 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.67: +14 -16 lines
Diff to previous 1.67 (colored)

Fix PPC64 setregs

Revision 1.67 / (download) - annotate - [select for diffs], Fri Feb 28 05:43:49 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.66: +17 -3 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Fri Nov 8 04:32:58 2013 UTC (10 years, 5 months ago) by nisimura
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)


use __diagused for KASSERT only variable.

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

sync with head

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:34 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jul 19 06:43:20 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

cpuset_info is no longer volatile

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Thu May 17 18:24:27 2012 UTC (11 years, 10 months ago) by riz
Branch: 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
Changes since 1.62: +9 -2 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

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) - annotate - [select for diffs], Tue Apr 17 00:06:48 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.60: +14 -35 lines
Diff to previous 1.60 (colored)

sync with head

Revision 1.60.6.3 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:18 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.60.6.2: +7 -0 lines
Diff to previous 1.60.6.2 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

sync to latest -current.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Mar 16 07:41:55 2012 UTC (12 years, 1 month ago) by matt
Branch: 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
Changes since 1.63: +9 -2 lines
Diff to previous 1.63 (colored)

Add CPU_EXECPROT sysctl so that atf can enable exec permission tests for
PPC Booke.

Revision 1.60.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:33 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.60.6.1: +2 -33 lines
Diff to previous 1.60.6.1 (colored) to branchpoint 1.60 (colored)

sync to -current.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:24 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.62: +2 -33 lines
Diff to previous 1.62 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.60.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:00 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.60: +14 -11 lines
Diff to previous 1.60 (colored)

merge to -current.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Feb 11 23:16:16 2012 UTC (12 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.61: +13 -2 lines
Diff to previous 1.61 (colored)

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) - annotate - [select for diffs], Mon Dec 12 19:03:11 2011 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.60: +3 -11 lines
Diff to previous 1.60 (colored)

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) - annotate - [select for diffs], Sun Jul 31 10:00:52 2011 UTC (12 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

s/MULTIPROCESOR/MULTIPROCESSOR/.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jun 29 06:00:17 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.58: +7 -2 lines
Diff to previous 1.58 (colored)

Cleanup hatch names.
Add cpuset_info.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 24 22:19:45 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Fix code that's been broken for over seven years...

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

Catchup with rmind-uvmplock merge.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jun 21 06:32:36 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.56: +22 -2 lines
Diff to previous 1.56 (colored)

Add a common cpu_ast(l, ci) routine.
Add a ci_pmap_asid_cur for BOOKE debugging.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jun 20 08:47:13 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.55: +28 -3 lines
Diff to previous 1.55 (colored)

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) - annotate - [select for diffs], Fri Jun 17 19:03:01 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.54: +6 -4 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Tue Jun 14 05:50:25 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.53: +34 -5 lines
Diff to previous 1.53 (colored)

Make startlwp and upcallret common instead of having 3 mostly identical copies.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jun 14 03:12:43 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.52: +19 -2 lines
Diff to previous 1.52 (colored)

Add mm_md_kernacc and now kmem tools work again.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jun 12 06:10:42 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.51: +13 -2 lines
Diff to previous 1.51 (colored)

need mm_md_direct_mapped_phys support.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:45 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.50: +12 -2 lines
Diff to previous 1.50 (colored)

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) - annotate - [select for diffs], Sun Jun 12 00:24:05 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42.4.5: +91 -4 lines
Diff to previous 1.42.4.5 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jun 7 00:48:32 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.49: +2 -6 lines
Diff to previous 1.49 (colored)

Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.

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

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jun 5 16:52:26 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.48: +93 -2 lines
Diff to previous 1.48 (colored)

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

Revision 1.42.4.5 / (download) - annotate - [select for diffs], Tue May 31 03:04:15 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42.4.4: +21 -1 lines
Diff to previous 1.42.4.4 (colored) to branchpoint 1.42 (colored)

sync with head

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 2 02:01:33 2011 UTC (12 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.47: +22 -3 lines
Diff to previous 1.47 (colored)

Move powerpc to use pcu to manage FPU/AltiVec/SPE.

Revision 1.42.4.4 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:20 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42.4.3: +4 -6 lines
Diff to previous 1.42.4.3 (colored) to branchpoint 1.42 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 16 21:15:30 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.46: +6 -8 lines
Diff to previous 1.46 (colored)

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) - annotate - [select for diffs], Sat Mar 5 20:51:41 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42.4.2: +39 -26 lines
Diff to previous 1.42.4.2 (colored) to branchpoint 1.42 (colored)

sync with head

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:59 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:28 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

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) - annotate - [select for diffs], Tue Jan 18 01:02:55 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.44: +35 -25 lines
Diff to previous 1.44 (colored)

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

Revision 1.39.16.2 / (download) - annotate - [select for diffs], Mon Jan 17 07:46:00 2011 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.39.16.1: +15 -4 lines
Diff to previous 1.39.16.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:30 2011 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Fri Jan 7 02:03:51 2011 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.39: +34 -25 lines
Diff to previous 1.39 (colored)

Deal with trapframe changes and booke changes.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Nov 13 15:35:49 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, matt-mips64-premerge-20101231
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

Some missing sys/device.h dependencies.

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Sun Apr 25 15:27:37 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42.4.1: +3 -7 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored)

- 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) - annotate - [select for diffs], Thu Mar 18 04:36:51 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42: +15 -2 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Thu Mar 11 15:02:51 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.10.1: +16 -5 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 18 23:35:51 2010 UTC (14 years, 2 months ago) by jmmv
Branch: 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
Changes since 1.41: +13 -2 lines
Diff to previous 1.41 (colored)

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) - annotate - [select for diffs], Thu Dec 10 14:13:51 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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) - annotate - [select for diffs], Sat Nov 21 17:40:29 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

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

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

sync with head.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:26 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.38: +26 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

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

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:18 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, 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
Changes since 1.38: +26 -2 lines
Diff to previous 1.38 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.38.12.2 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:03 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38.12.1: +24 -2 lines
Diff to previous 1.38.12.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

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) - annotate - [select for diffs], Sat May 10 23:48:46 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Sun Mar 23 02:04:18 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.34.10.2: +6 -6 lines
Diff to previous 1.34.10.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with HEAD

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:59 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.35.2.1: +6 -6 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 5 18:52:56 2008 UTC (16 years, 2 months ago) by garbled
Branch: 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
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

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) - annotate - [select for diffs], Tue Feb 5 18:10:48 2008 UTC (16 years, 2 months ago) by garbled
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

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

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

Yank __HAVE_PMAP_PHYSSEG from all the oea code.

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

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

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

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

Revision 1.34.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:47:56 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.34.10.1: +11 -2 lines
Diff to previous 1.34.10.1 (colored) to branchpoint 1.34 (colored)

sync with HEAD

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:03 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.34: +11 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:41 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35: +11 -2 lines
Diff to previous 1.35 (colored)

Sync with HEAD.

Revision 1.28.12.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:25:58 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.12.4: +11 -2 lines
Diff to previous 1.28.12.4 (colored) to branchpoint 1.28 (colored)

sync with head

Revision 1.33.6.3 / (download) - annotate - [select for diffs], Mon Dec 3 19:04:06 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.33.6.2: +2 -10 lines
Diff to previous 1.33.6.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Mon Dec 3 18:38:31 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.33.6.1: +19 -2 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:14 2007 UTC (16 years, 4 months ago) by ad
Branch: 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
Changes since 1.35: +11 -2 lines
Diff to previous 1.35 (colored)

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) - annotate - [select for diffs], Tue Nov 6 23:21:02 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 17 19:56:48 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.28.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:03 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.12.3: +43 -2 lines
Diff to previous 1.28.12.3 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.33.14.2 / (download) - annotate - [select for diffs], Thu Aug 2 05:34:23 2007 UTC (16 years, 8 months ago) by macallan
Branch: ppcoea-renovation
Changes since 1.33.14.1: +0 -0 lines
Diff to previous 1.33.14.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with HEAD

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:31 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.33: +43 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.33.14.1 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:27 2007 UTC (16 years, 9 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.33: +43 -2 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Sat Jun 9 23:55:22 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.33: +43 -2 lines
Diff to previous 1.33 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 1 14:23:50 2007 UTC (16 years, 10 months ago) by nisimura
Branch: 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
Changes since 1.33: +43 -2 lines
Diff to previous 1.33 (colored)

- add booted_device and booted_kernel sysctl nodes to let userland know
  about runtime environment.

Revision 1.28.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:56 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.12.2: +2 -26 lines
Diff to previous 1.28.12.2 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:11 2007 UTC (17 years, 2 months ago) by ad
Branch: 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
Changes since 1.32: +2 -26 lines
Diff to previous 1.32 (colored)

Merge newlock2 to head.

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:37 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.31.4.1: +2 -26 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Remove support for SA. Ok core@.

Revision 1.28.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:44 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.12.1: +9 -7 lines
Diff to previous 1.28.12.1 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:29 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.31: +6 -4 lines
Diff to previous 1.31 (colored)

Sync with head.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:59 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.31: +6 -4 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:32 2006 UTC (17 years, 5 months ago) by mrg
Branch: 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
Changes since 1.31: +6 -4 lines
Diff to previous 1.31 (colored)

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) - annotate - [select for diffs], Sat Sep 9 02:42:34 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head

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

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Sat Aug 5 21:26:49 2006 UTC (17 years, 8 months ago) by sanjayl
Branch: MAIN
CVS Tags: yamt-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
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

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

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:11 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored)

sync with head.

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

merge ktrace-lwp.

Revision 1.20.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:26 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.4: +2 -4 lines
Diff to previous 1.20.2.4 (colored) next main 1.21 (colored)

Sync with HEAD. Here we go again...

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 2 15:10:16 2005 UTC (18 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored)

remove unnecessary extern declaration.

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:49 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.3: +2 -2 lines
Diff to previous 1.20.2.3 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:37 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.1: +84 -55 lines
Diff to previous 1.20.2.1 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 9 22:59:17 2004 UTC (19 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Clear PSL_SE on a scheduler activation upcall.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Apr 4 17:05:31 2004 UTC (20 years ago) by matt
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Wed Mar 24 15:34:51 2004 UTC (20 years ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.25: +21 -12 lines
Diff to previous 1.25 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 3 00:09:15 2004 UTC (20 years, 3 months ago) by aymeric
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

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) - annotate - [select for diffs], Fri Dec 5 11:00:57 2003 UTC (20 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

Make it compile without PPC_OEA.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:22 2003 UTC (20 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.22: +63 -39 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Sat Sep 27 04:44:42 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.21: +8 -18 lines
Diff to previous 1.21 (colored)

ANSIfy.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 15 02:54:48 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

__KERNEL_RCSID()

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 02:57:32 2003 UTC (20 years, 9 months ago) by wrstuden
Branch: ktrace-lwp
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

LWP-ify for bebox/GENERIC

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

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) - annotate - [select for diffs], Sun Jun 29 11:02:23 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built

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

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

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

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

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

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 18 23:43:24 2003 UTC (21 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored)

In cpu_upcall, cast to register_t, not int.  (int is not LP64 friendly)

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

Merge the nathanw_sa branch.

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:35:23 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.5.2.5: +6 -6 lines
Diff to previous 1.5.2.5 (colored) next main 1.6 (colored)

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) - annotate - [select for diffs], Tue Sep 17 21:17:09 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.8.6.16: +6 -6 lines
Diff to previous 1.8.6.16 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Catch up to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 7 months ago) by gehenna
Branch: 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
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

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) - annotate - [select for diffs], Fri Sep 6 08:39:27 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.5.2.4: +22 -1 lines
Diff to previous 1.5.2.4 (colored)

sync kqueue branch with HEAD

Revision 1.8.6.16 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:10 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.15: +22 -1 lines
Diff to previous 1.8.6.15 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Sun Jul 21 13:00:49 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.11.4.2: +8 -1 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

catch up with -current.

Revision 1.8.6.15 / (download) - annotate - [select for diffs], Fri Jul 19 22:18:27 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.14: +4 -7 lines
Diff to previous 1.8.6.14 (colored) to branchpoint 1.8 (colored)

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) - annotate - [select for diffs], Tue Jul 16 23:04:21 2002 UTC (21 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.12: +8 -1 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Tue Jul 16 13:10:00 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.11.4.1: +15 -1 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)

catch up with -current.

Revision 1.8.6.14 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:46 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.13: +2 -2 lines
Diff to previous 1.8.6.13 (colored) to branchpoint 1.8 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

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

Peform a rototill over the powerpc-based ports.

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

Add user Altivec support.

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

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.

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

catch up with -current on kqueue branch

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri May 17 13:49:59 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Replace the access to devsw table and the hard-coded major with devsw API.

Revision 1.8.6.13 / (download) - annotate - [select for diffs], Mon Apr 1 23:12:13 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.12: +2 -1 lines
Diff to previous 1.8.6.12 (colored) to branchpoint 1.8 (colored)

LWPify the changes in setregs().

Revision 1.8.6.12 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:08 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.11: +10 -4 lines
Diff to previous 1.8.6.11 (colored) to branchpoint 1.8 (colored)

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

Revision 1.8.6.11 / (download) - annotate - [select for diffs], Mon Mar 25 21:48:57 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.10: +2 -2 lines
Diff to previous 1.8.6.10 (colored) to branchpoint 1.8 (colored)

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) - annotate - [select for diffs], Mon Mar 18 04:50:32 2002 UTC (22 years, 1 month ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Use p->p_psstr instead of PS_STRINGS.
Tested on boot to multi-user on sandpoint.

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

Catch up with -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 13 00:38:14 2002 UTC (22 years, 1 month ago) by eeh
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Wed Mar 6 13:10:23 2002 UTC (22 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Fri Dec 28 06:12:20 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.9: +1 -26 lines
Diff to previous 1.8.6.9 (colored) to branchpoint 1.8 (colored)

Garbage collect cpu_stashcontext().

Revision 1.8.6.9 / (download) - annotate - [select for diffs], Mon Dec 17 22:00:31 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.8: +3 -1 lines
Diff to previous 1.8.6.8 (colored) to branchpoint 1.8 (colored)

Oops, don't delete the declaration of sigcode[] and upcallcode.

Revision 1.8.6.8 / (download) - annotate - [select for diffs], Mon Dec 17 21:31:26 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.6.7: +10 -109 lines
Diff to previous 1.8.6.7 (colored) to branchpoint 1.8 (colored)

Convert to new, smaller cpu_upcall().

Revision 1.8.6.7 / (download) - annotate - [select for diffs], Mon Nov 26 19:42:09 2001 UTC (22 years, 4 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8.6.6: +2 -2 lines
Diff to previous 1.8.6.6 (colored) to branchpoint 1.8 (colored)

Make sure we use the proper stack pointer for signal delivery.

Revision 1.8.6.6 / (download) - annotate - [select for diffs], Wed Nov 21 03:22:27 2001 UTC (22 years, 4 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8.6.5: +3 -3 lines
Diff to previous 1.8.6.5 (colored) to branchpoint 1.8 (colored)

Dress up upcall's callframe correctly.

Revision 1.8.6.5 / (download) - annotate - [select for diffs], Sat Nov 17 22:14:17 2001 UTC (22 years, 5 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8.6.4: +27 -15 lines
Diff to previous 1.8.6.4 (colored) to branchpoint 1.8 (colored)

Update to Current World Order.

Revision 1.8.6.4 / (download) - annotate - [select for diffs], Tue Nov 13 20:00:30 2001 UTC (22 years, 5 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8.6.3: +9 -2 lines
Diff to previous 1.8.6.3 (colored) to branchpoint 1.8 (colored)

Improve upcall to better work with libpthread.

Revision 1.8.6.3 / (download) - annotate - [select for diffs], Thu Nov 8 05:06:19 2001 UTC (22 years, 5 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8.6.2: +2 -2 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored)

Make some callee space on the stack for the cpu_upcall.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Mon Nov 5 19:46:18 2001 UTC (22 years, 5 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8.6.1: +302 -0 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored)

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) - annotate - [select for diffs], Thu Sep 13 01:14:24 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.5.2.1: +13 -2 lines
Diff to previous 1.5.2.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.8.6.1, Sun Aug 26 02:47:39 2001 UTC (22 years, 7 months ago) by briggs
Branch: nathanw_sa
Changes since 1.8: +0 -166 lines
FILE REMOVED

file powerpc_machdep.c was added on branch nathanw_sa on 2001-11-05 19:46:18 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 26 02:47:39 2001 UTC (22 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.7: +13 -2 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Fri Aug 3 04:12:15 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

update to -current

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 26 22:53:13 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

auxilliary -> auxiliary

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 22 11:29:46 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 5 08:38:25 2001 UTC (22 years, 9 months ago) by toshii
Branch: MAIN
Branch point for: kqueue
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix typo. s/extention/extension/

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sat Apr 21 17:54:32 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.4.2: +32 -48 lines
Diff to previous 1.2.4.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:35 2001 UTC (23 years ago) by nathanw
Changes since 1.2: +32 -48 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Catch up with -current.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 5 09:58:05 2001 UTC (23 years ago) by tsubai
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.3: +30 -48 lines
Diff to previous 1.3 (colored)

Regenerate this file from cvs repository in order to get back original
copyright.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 3 13:10:26 2001 UTC (23 years ago) by jdolecek
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

add standard NetBSD RCS Id on top

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:14 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.4.1: +171 -0 lines
Diff to previous 1.2.4.1 (colored)

Sync with HEAD.

Revision 1.2.4.1, Sat Feb 24 22:39:20 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +0 -171 lines
FILE REMOVED

file powerpc_machdep.c was added on branch thorpej_scsipi on 2001-03-12 13:29:14 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 24 22:39:20 2001 UTC (23 years, 1 month ago) by matt
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.1: +79 -1 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Sat Feb 24 04:29:26 2001 UTC (23 years, 1 month ago) by matt
Branch: MAIN

Since setregs is common among all the powerpc ports,
make a common version and put it in powerpc_machdep.c

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




CVSweb <webmaster@jp.NetBSD.org>