The NetBSD Project

CVS log for src/sys/arch/powerpc/ibm4xx/trap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.102 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:05 2023 UTC (4 months, 4 weeks ago) by ad
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.101: +2 -3 lines
Diff to previous 1.101 (colored)

Arrange to update cached LWP credentials in userret() rather than during
syscall/trap entry, eliminating a test+branch on every syscall/trap.

This wasn't possible in the 3.99.x timeframe when l->l_cred came about
because there wasn't a reliable/timely way to force an ONPROC LWP running on
a remote CPU into the kernel (which is just about the only new thing in
this scheme).

Revision 1.101 / (download) - annotate - [select for diffs], Wed Oct 5 08:18:00 2022 UTC (17 months ago) by rin
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 (colored)

Minor style fixes to asm codes. No binary changes.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Oct 4 13:45:50 2022 UTC (17 months ago) by rin
Branch: MAIN
Changes since 1.99: +2 -6 lines
Diff to previous 1.99 (colored)

copy{in,out}{,str}: Drop needless dcbst.

Data cache is purely physical for 40[53] with 16KB pages, and therefore
no need to flush cache before context switch.

This significantly improves copy{in,out} against small data; for example,
bytebench on DHT becomes:

-Pipe Throughput	12440.0		 8826.1		 7.1
+Pipe Throughput	12440.0		18364.8		14.8

No performance/ATF regression observed on 405. 403 boots successfully
into multiuser mode, and builds some packages.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Sep 12 08:06:36 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.98: +14 -2 lines
Diff to previous 1.98 (colored)

Work around clang 13.0.0 bug; copy{in,out}() are miscompiled with -O[12],
by which /sbin/init cannot be executed.

Revision 1.98 / (download) - annotate - [select for diffs], Mon Sep 12 08:02:44 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.97: +12 -12 lines
Diff to previous 1.97 (colored)

Make ibm4xx kernels compiled by clang.

As clang cannot correctly assemble m[ft]pid:
- for asm sources, use m[ft]spr from/to SPR_PID
- for C sources, use M[FT]PID macros (see include/ibm4xx/spr.h)
This is ugly...

No binary changes for GCC-compiled kernels.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Sep 12 06:23:29 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.96: +16 -16 lines
Diff to previous 1.96 (colored)

copy{in,out}(): Minor clean up:
- No need to supply count (== 0).
- %r0 can be used as %[ctx] and %[len].

Revision 1.96 / (download) - annotate - [select for diffs], Mon Sep 12 06:19:14 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.95: +3 -4 lines
Diff to previous 1.95 (colored)

copyin(): Remove one more needless mtpid. No regression for full ATF.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Sep 11 09:27:18 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

copyin(): Fix comment. No binary changes.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Sep 11 09:08:04 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.93: +16 -26 lines
Diff to previous 1.93 (colored)

copy{in,out}(): Tiny optimizations for __asm codes.
No regressions for full ATF run.

- Use {l,st}swx instead of loop for remaining bytes.
- Drop needless "mtpid %[x]; isync;".

Revision 1.93 / (download) - annotate - [select for diffs], Sun Sep 11 09:03:25 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.92: +6 -4 lines
Diff to previous 1.92 (colored)

copy{in,out}(): Add missing clobber registers to __asm codes.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Sep 11 09:00:02 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored)

copy{in,out}(): Add missing ``if (count == 0) goto done;''.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Sep 11 08:57:39 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.90: +8 -8 lines
Diff to previous 1.90 (colored)

copy{in,out}(): Consistently use %[tmp] as scratch register. NFC.

Revision 1.90 / (download) - annotate - [select for diffs], Sun Sep 11 08:56:23 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

copyin(): Fix copy-paste in comment. No binary changes.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Sep 11 08:49:54 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.88: +102 -78 lines
Diff to previous 1.88 (colored)

copy{in,out}(): Cosmetic changes to __asm codes. No binary changes.

- Editor-friendly indentation.
- One insn per line.
- Group insns with logical blocks.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Sep 11 08:30:43 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.87: +29 -29 lines
Diff to previous 1.87 (colored)

s/udaddr/uaddr/g for consistency; we use kaddr for kernel data address.
No binary changes.

Revision 1.87 / (download) - annotate - [select for diffs], Mon May 30 14:09:01 2022 UTC (21 months ago) by rin
Branch: MAIN
Changes since 1.86: +17 -20 lines
Diff to previous 1.86 (colored)

For IBM_PPC403, emulate unaligned memory access for userland process.

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

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Mar 6 08:08:19 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-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.85: +21 -31 lines
Diff to previous 1.85 (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.85 / (download) - annotate - [select for diffs], Wed Jul 15 09:10:14 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.84: +17 -2 lines
Diff to previous 1.84 (colored)

For booke and ibm4xx, emulate m[ft]msr in user mode, in the same
manner as oea.

Now, user process can decide by itself whether floating-point
exception triggers SIGFPE or not via fenv(3).

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jul 15 08:48:40 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.83: +29 -18 lines
Diff to previous 1.83 (colored)

Treat trap instruction from userland correctly in EXC_PGM handler;
raise SIGTRAP with TRAP_BRKPT instead of SIGILL.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jul 6 10:41:43 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

- Drop unused opt_altivec.h.
- Include missing opt_ppcarch.h.

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

Style and cosmetic changes. No binary changes intended.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jun 19 07:31:59 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.80: +22 -22 lines
Diff to previous 1.80 (colored)

Try to sanitize usage of isync and sync instructions.

According to reference manuals of 4xx, isync is "context synchronization",
which satisfies both 1 and 2:

1. instructions preceding it complete in the context that existed before it
2. instructions following it complete in the context that exists after it

Whereas sync (== msync for 440) is "execution synchronization", which
satisfies just 1, not 2. At the same time, sync guarantees "storage
synchronization", by which any previous storage references completes
before any subsequent instructions begin to execute.

Tested on 405 over months.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jun 19 07:24:41 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.79: +22 -12 lines
Diff to previous 1.79 (colored)

Return correct signo and si_code to userland when page fault.
Taken from powerpc/trap.c. Found by tests in lib/libc/sys.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Jun 19 07:19:19 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Return error code from uvm layer on fault, instead of hard-coded 1.
Found by some tests in tests/lib/libc/sys.

Revision 1.69.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:49 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.69.16.1: +87 -56 lines
Diff to previous 1.69.16.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Merge changes from current as of 20200406

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:29 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.70: +87 -56 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with head.

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Thu Feb 27 18:43:41 2020 UTC (4 years ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.70: +87 -56 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

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

	sys/arch/powerpc/ibm4xx/trap.c: revision 1.71
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.72
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.73
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.74
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.75
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.76
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.77
	sys/arch/powerpc/ibm4xx/trap.c: revision 1.78

Sort headers.
 -
Sort more headers...
 -
Convert mi_userret(9) into powerpc-specific userret().

This is necessary in order to support RAS.

There are some sanity checks in userret() as well.
 -
Oops, sort header again. My bad...
 -
Comment out badaddr() and badaddr_read() on ibm4xx for now.

They are not used nor exposed externally in any header file; these
functions may have never been tested so far.

Enable them again when necessary.

Note that badaddr() for oea is used by macppc port, where it is
declared as an external function.
 -
Cosmetic changes for assembler codes. No binary changes.
 -
Tiny improvements to copyin() and copyout():
- Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which
  support unaligned word load/store by hardware. In many cases, both
  source and destination are aligned on word boundaries.
- Use dcbst instead of dcbf to flush cache. The former does not
  invalidate the cache line. Copied data should be used soon after.
 -
Do not try to recovery from data page fault in interrupt context;
catch up belatedly with powerpc/trap.c rev 1.49 and etc.:
    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/powerpc/trap.c#rev1.49

Revision 1.78 / (download) - annotate - [select for diffs], Fri Feb 21 15:15:48 2020 UTC (4 years 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.77: +12 -5 lines
Diff to previous 1.77 (colored)

Do not try to recovery from data page fault in interrupt context;
catch up belatedly with powerpc/trap.c rev 1.49 and etc.:

    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/powerpc/trap.c#rev1.49

Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 21 14:49:57 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.76: +22 -6 lines
Diff to previous 1.76 (colored)

Tiny improvements to copyin() and copyout():

- Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which
  support unaligned word load/store by hardware. In many cases, both
  source and destination are aligned on word boundaries.

- Use dcbst instead of dcbf to flush cache. The former does not
  invalidate the cache line. Copied data should be used soon after.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Feb 21 14:27:20 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.75: +50 -46 lines
Diff to previous 1.75 (colored)

Cosmetic changes for assembler codes. No binary changes.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Feb 21 13:32:31 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.74: +7 -3 lines
Diff to previous 1.74 (colored)

Comment out badaddr() and badaddr_read() on ibm4xx for now.

They are not used nor exposed externally in any header file; these
functions may have never been tested so far.

Enable them again when necessary.

Note that badaddr() for oea is used by macppc port, where it is
declared as an external function.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Feb 20 06:36:04 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Oops, sort header again. My bad...

Revision 1.73 / (download) - annotate - [select for diffs], Thu Feb 20 05:57:49 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.72: +5 -5 lines
Diff to previous 1.72 (colored)

Convert mi_userret(9) into powerpc-specific userret().

This is necessary in order to support RAS.

There are some sanity checks in userret() as well.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Feb 20 05:55:24 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Sort more headers...

Revision 1.71 / (download) - annotate - [select for diffs], Thu Feb 20 05:46:08 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Sort headers.

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

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Sun Apr 7 05:25:55 2019 UTC (4 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Changes since 1.69: +31 -2 lines
Diff to previous 1.69 (colored)

Detangle some of the PowerPC CPU configuration spaghetti.

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:36 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.65.2.1: +7 -12 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

update from HEAD

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:18 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.67: +8 -13 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:24 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.67: +8 -13 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.69 / (download) - annotate - [select for diffs], Mon Dec 26 21:54:00 2016 UTC (7 years, 2 months ago) by rin
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-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.68: +2 -6 lines
Diff to previous 1.68 (colored)

Remove wrong comment which was copy-and-pasted from somewhere.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Dec 16 06:29:11 2016 UTC (7 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.67: +8 -9 lines
Diff to previous 1.67 (colored)

Remove needless goto's. No functional changes.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:26 2014 UTC (9 years, 4 months ago) by snj
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:19 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:04 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.62.2.2: +4 -4 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (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.65.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:20 2013 UTC (10 years, 6 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Fri Aug 23 06:19:46 2013 UTC (10 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Get rid of MDLWP_USED{FPU,VEC}

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:11 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.62.2.1: +10 -6 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jul 23 04:13:06 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.64: +10 -6 lines
Diff to previous 1.64 (colored)

Add support for PPC FP emulation to BookE.
Pass a ksiginfo_t to fpu_emulation so it can give more detailed
info on signals.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:46 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.62: +5 -27 lines
Diff to previous 1.62 (colored)

sync with head

Revision 1.62.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:33 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.62.6.1: +2 -24 lines
Diff to previous 1.62.6.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

sync to -current.

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

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

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:53 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

merge to -current.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Dec 13 11:03:53 2011 UTC (12 years, 2 months ago) by kiyohara
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base2
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

Remove white-spaces.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:29 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.58: +8 -43 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jun 21 06:38:50 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.61: +3 -12 lines
Diff to previous 1.61 (colored)

Switch to use new common cpu_ast routine.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jun 18 06:41:41 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.60: +7 -4 lines
Diff to previous 1.60 (colored)

Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>.  Include it
explicitly.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 14 05:50:24 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.59: +2 -31 lines
Diff to previous 1.59 (colored)

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

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:04 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.2.2: +1 -1 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:27 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.57: +51 -51 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jun 5 16:52:25 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (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.54.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:36 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.2.1: +52 -52 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:54 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.57: +50 -50 lines
Diff to previous 1.57 (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.49.16.2 / (download) - annotate - [select for diffs], Mon Jan 17 07:45:59 2011 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.49.16.1: +32 -30 lines
Diff to previous 1.49.16.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (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.49.16.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:12:18 2011 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.49: +57 -52 lines
Diff to previous 1.49 (colored)

Deal with new powerpc world.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:41 2010 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.48.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:32 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.48.10.2: +51 -46 lines
Diff to previous 1.48.10.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with head.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:02 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54: +51 -46 lines
Diff to previous 1.54 (colored)

sync with head

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:42 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.53: +52 -46 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Apr 23 19:18:09 2010 UTC (13 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.55: +8 -12 lines
Diff to previous 1.55 (colored)

Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.
As discussed, a while ago, with ad@.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Mar 20 23:31:29 2010 UTC (13 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.54: +45 -36 lines
Diff to previous 1.54 (colored)

fix copy{in,out}{,str}() to return the error returned by uvm_fault().
fixes PR 41813.

Revision 1.48.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:49 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.48.10.1: +15 -18 lines
Diff to previous 1.48.10.1 (colored) to branchpoint 1.48 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Thu Feb 25 23:31:47 2010 UTC (14 years ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

Adapt to spr.h breakup.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Nov 21 17:40:29 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.52: +14 -12 lines
Diff to previous 1.52 (colored)

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

Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:01 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.51: +2 -8 lines
Diff to previous 1.51 (colored)

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:14 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.49: +13 -15 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:43 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.48: +44 -13 lines
Diff to previous 1.48 (colored)

sync with head.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:34 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.49: +13 -15 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:12 2009 UTC (14 years, 11 months ago) by dsl
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-base, jymxensuspend-base
Changes since 1.50: +4 -6 lines
Diff to previous 1.50 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:05 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.49: +11 -11 lines
Diff to previous 1.49 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

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

Sync with HEAD.

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

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:18 2008 UTC (15 years, 4 months ago) by wrstuden
Branch: MAIN
CVS Tags: nick-hppapmap-base2, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-pq3, jym-xensuspend
Changes since 1.48: +35 -2 lines
Diff to previous 1.48 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.48.12.3 / (download) - annotate - [select for diffs], Mon Jun 30 04:55:55 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.48.12.2: +4 -3 lines
Diff to previous 1.48.12.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Change how we make SA threads not generate upcalls. Instead of clearing
LW_SA, use a private flag, LP_SA_NOBLOCK, that we set when we want
to not generate upcalls. This means we do NOT need to lock (l)
(ourselves) to set it.

Adjust tests that look at LW_SA. Now, we are an upcall-generating
lwp if ((l->l_flag & LW_SA) && (~l->l_pflag & LP_SA_NOBLOCK)).

Introduce code pattern to set & remember this:

	f = ~l->l_pflag & LP_SA_NOBLOCK;
	l->l_pflag |= LP_SA_NOBLOCK;

	...

	/* f is now LP_SA_NOBLOCK if it wasn't set in l_pflag before */

	l->l_pflag ^= f;

I updated a lot of the trap handlers to do trap handling iff LP_SA_NOBLOCK
is not set. I tried to figure out if the trap handler could be triggered
for user-based faults as opposed to kernel faults to user addresses, and
only look at LP_SA_NOBLOCK for the latter.

Above is a result of discussions with rmind at to reduce lock twiddling.

Also, per same discussions, add locking to sys_sa_preempt(). p_lock is
the lock we want.

Also, per same discussions, remove use of LSSUSPENDED as a thread state.
We needed to use it when we were emulating the 4.X and previous behavior
of hiding cached threads. For the moment, we now have them instead
remain visible to all and have them sleeping on the "lwpcache" wait
channel.

sa_newcachelwp(): sa_putcachelwp() wants savp_mutex held, not p_lock.

Tweak some comments.

Revision 1.48.12.2 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:03 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.48.12.1: +32 -2 lines
Diff to previous 1.48.12.1 (colored) to branchpoint 1.48 (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.48.12.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:45 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.48: +4 -2 lines
Diff to previous 1.48 (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.45.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:57 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.45.2.1: +2 -17 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.26.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:38:21 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.7: +2 -17 lines
Diff to previous 1.26.2.7 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.43.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:47:47 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.43.10.1: +82 -61 lines
Diff to previous 1.43.10.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

sync with HEAD

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:49:06 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.47: +2 -17 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:27 2008 UTC (16 years, 2 months ago) by ad
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, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2, haad-dm
Changes since 1.47: +2 -17 lines
Diff to previous 1.47 (colored)

Merge vmlocking2 to head.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Thu Dec 27 02:18:17 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.47: +2 -17 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

locking changes for macppc. Please test.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:37 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.45: +82 -46 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

Revision 1.26.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:25:53 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.6: +82 -46 lines
Diff to previous 1.26.2.6 (colored) to branchpoint 1.26 (colored)

sync with head

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:38:19 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.40.2.2: +82 -50 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.43.8.4 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:07 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.43.8.3: +6 -6 lines
Diff to previous 1.43.8.3 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 28 12:22:28 2007 UTC (16 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

Use lswi/syswi instead of lwz/stw when doing loads/stores since we don't
know the alignment of data being copied.  403 cores have alignment
restrictions on lwz/stw that 405 cores don't have.  lswi/syswi benchmark
at the same speed as lwz/stw on a 405 Walnut.

Fixes problems reported by Juergen Hannken-Illjes on the Explora.

Revision 1.43.8.3 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:49 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.43.8.2: +82 -46 lines
Diff to previous 1.43.8.2 (colored) to branchpoint 1.43 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.43.14.3 / (download) - annotate - [select for diffs], Thu Nov 22 15:18:22 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.43.14.2: +80 -44 lines
Diff to previous 1.43.14.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 22 13:33:08 2007 UTC (16 years, 3 months ago) by hpeyerl
Branch: MAIN
CVS Tags: bouyer-xenamd64-base
Changes since 1.45: +82 -46 lines
Diff to previous 1.45 (colored)

Optimize copyin/copyout to transfer as many words as possible before doing
residual bytes. This improves small transfers. As a result, we can avoid
doing bigcopyin/bigcopyout until len>1024 instead of len>256.

Reviewed by: simonb.

(everybody run, Herb's in the kernel again).

Revision 1.26.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:16 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.5: +2 -6 lines
Diff to previous 1.26.2.5 (colored) to branchpoint 1.26 (colored)

sync with head.

Revision 1.43.14.2 / (download) - annotate - [select for diffs], Tue Nov 13 15:59:04 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.43.14.1: +0 -4 lines
Diff to previous 1.43.14.1 (colored) to branchpoint 1.43 (colored)

Sync with HEAD

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:20:30 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.43: +8 -7 lines
Diff to previous 1.43 (colored)

sync with HEAD

Revision 1.43.8.2 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:05 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.43.8.1: +2 -6 lines
Diff to previous 1.43.8.1 (colored) to branchpoint 1.43 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 5 20:43:04 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2
Branch point for: mjf-devfs
Changes since 1.44: +2 -6 lines
Diff to previous 1.44 (colored)

Don't set l_usrpri / spc_curpriority here. mi_userret() does it.

Revision 1.26.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:27:43 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.4: +8 -3 lines
Diff to previous 1.26.2.4 (colored) to branchpoint 1.26 (colored)

sync with head.

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:43:14 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.43: +8 -3 lines
Diff to previous 1.43 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.43.14.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:36:25 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.43: +8 -3 lines
Diff to previous 1.43 (colored)

Sync with HEAD.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:14:08 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.40.2.1: +8 -3 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

Sync with head.

Revision 1.43.12.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:32:37 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.43: +8 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Oct 17 19:56:39 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.43: +8 -3 lines
Diff to previous 1.43 (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.40.10.5 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:42 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.40.10.4: +0 -0 lines
Diff to previous 1.40.10.4 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.26.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:28:56 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.3: +9 -9 lines
Diff to previous 1.26.2.3 (colored) to branchpoint 1.26 (colored)

sync with head.

Revision 1.40.10.4 / (download) - annotate - [select for diffs], Thu Aug 2 05:34:15 2007 UTC (16 years, 7 months ago) by macallan
Branch: ppcoea-renovation
Changes since 1.40.10.3: +8 -8 lines
Diff to previous 1.40.10.3 (colored) to branchpoint 1.40 (colored)

sync with HEAD

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:16:48 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.40: +8 -8 lines
Diff to previous 1.40 (colored)

Sync with head.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:25 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.40: +8 -8 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:25 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, 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
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.42: +8 -8 lines
Diff to previous 1.42 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.40.10.3 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:25 2007 UTC (16 years, 8 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.40.10.2: +2 -2 lines
Diff to previous 1.40.10.2 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.40.10.2 / (download) - annotate - [select for diffs], Mon May 28 20:01:42 2007 UTC (16 years, 9 months ago) by freza
Branch: ppcoea-renovation
Changes since 1.40.10.1: +9 -4 lines
Diff to previous 1.40.10.1 (colored) to branchpoint 1.40 (colored)

Add KGDB support to evbppc/virtex port. From Jean-Francois Boudreault,
cosmetics by me.

While there, generalize virtex_console_tag() to virtex_bus_space_tag()
and fix one instance of yamt-idlelwp fallout (ci_need_resched renamed
to ci_want_resched).

XXX Only compile tested since my access to suitable Virtex HW is sporadic
XXX at best.

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 22 20:06:33 2007 UTC (16 years, 9 months ago) by rjs
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Fix for yamt-idlelwp merge.

Revision 1.40.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:20 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Update to HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Thu May 17 14:51:26 2007 UTC (16 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Tue Apr 3 15:20:09 2007 UTC (16 years, 11 months ago) by matt
Branch: yamt-idlelwp
Changes since 1.39.2.1: +3 -3 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Adapt powerpc to yamt-idlelwp.  Nuke cpu_setfunc.
Don't define _HAVE_BITENDIAN_BITOPS.  Misc cleanups.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:52 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:35 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:52 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.2: +20 -53 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 15 15:14:57 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.38: +19 -21 lines
Diff to previous 1.38 (colored)

Make these compile again.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:10 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.37: +3 -34 lines
Diff to previous 1.37 (colored)

Merge newlock2 to head.

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:37 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.36.4.1: +3 -34 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Remove support for SA. Ok core@.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:43 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.1: +11 -9 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)

sync with head.

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

Sync with head.

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

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Thu Oct 5 14:48:32 2006 UTC (17 years, 5 months ago) by chs
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.36: +6 -6 lines
Diff to previous 1.36 (colored)

add support for O_DIRECT (I/O directly to application memory,
bypassing any kernel caching for file data).

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:22 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.29: +11 -17 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.29.8.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:42:40 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.29.8.3: +7 -5 lines
Diff to previous 1.29.8.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:06 2006 UTC (17 years, 7 months ago) by ad
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.35: +4 -4 lines
Diff to previous 1.35 (colored)

Use the LWP cached credentials where sane.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jul 19 21:11:45 2006 UTC (17 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.34: +5 -3 lines
Diff to previous 1.34 (colored)

- Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:54:49 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26: +17 -25 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.29.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:15 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.29.6.1: +5 -4 lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with head.

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

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

Revision 1.29.8.3 / (download) - annotate - [select for diffs], Wed May 24 10:57:09 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.29.8.2: +5 -4 lines
Diff to previous 1.29.8.2 (colored) to branchpoint 1.29 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Mon May 15 09:21:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.33: +1 -0 lines
Diff to previous 1.33 (colored)

include kauth.h for kauth_cred_geteuid.

Revision 1.33 / (download) - annotate - [select for diffs], Sun May 14 21:56:32 2006 UTC (17 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

integrate kauth.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:53 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.29: +5 -14 lines
Diff to previous 1.29 (colored)

Sync with head.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:32 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.31.2.2: +5 -5 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head - hopefully this will work

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:26 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.29.8.1: +5 -5 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 15 18:12:03 2006 UTC (17 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, peter-altq-base, elad-kernelauth-base
Branch point for: peter-altq
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

adapt to uvm_fault() interface cleanup: kill the useless 3rd argument

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:06:59 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.29: +2 -11 lines
Diff to previous 1.29 (colored)

sync with head.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Wed Mar 8 00:43:13 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.31.2.1: +712 -0 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

Adapt to kernel authorization KPI.

I expect *some* lossage here...

Revision 1.31.2.1, Tue Mar 7 07:21:50 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.31: +0 -712 lines
FILE REMOVED

file trap.c was added on branch elad-kernelauth on 2006-03-08 00:43:13 +0000

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 7 07:21:50 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2
Branch point for: elad-kernelauth
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (colored)

Syscall debug tracing is handled by trace_enter() / trace_exit().  Change
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 7 03:32:05 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -10 lines
Diff to previous 1.29 (colored)

Clean up fallout proc_is_traced_p() change:
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
  trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
  about KTRACE and SYSTRACE, but do no more.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:36 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

bare asm -> __asm

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:28 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.27: +9 -9 lines
Diff to previous 1.27 (colored)

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

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

merge ktrace-lwp.

Revision 1.13.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:16 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.6: +6 -6 lines
Diff to previous 1.13.2.6 (colored) next main 1.14 (colored)

Sync with HEAD. Here we go again...

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 3 11:54:48 2005 UTC (18 years, 9 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Appease the -Wshadow and -Wcast-qual gods.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:20 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with -current

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:12 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.24: +6 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

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

Revision 1.13.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:39:01 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.5: +6 -4 lines
Diff to previous 1.13.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 25 07:09:58 2005 UTC (19 years ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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
Changes since 1.24: +6 -4 lines
Diff to previous 1.24 (colored)

KNF: put "if (...)" and following statement on separate lines.

Revision 1.13.2.5 / (download) - annotate - [select for diffs], Mon Jan 24 08:34:26 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.4: +3 -3 lines
Diff to previous 1.13.2.4 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 19 11:41:07 2005 UTC (19 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

White space nit.

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

Fix the sync with head I botched.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:11 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.2: +2 -2 lines
Diff to previous 1.13.2.2 (colored)

Sync with HEAD.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:05 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.1: +4 -4 lines
Diff to previous 1.13.2.1 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 2 08:22:58 2004 UTC (19 years, 6 months ago) by scw
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Apply suggested changes from PR port-powerpc/24830 arch/powerpc/ibm4xx:
Bad register constraints in copyin(), copyout(), copyinstr(), copyoutstr(),
and delay().

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:28 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13: +61 -41 lines
Diff to previous 1.13 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 14 01:08:48 2004 UTC (19 years, 11 months ago) by cl
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.21: +5 -8 lines
Diff to previous 1.21 (colored)

add kernel part of concurrency support for SA on MP systems
- move per VP data into struct sadata_vp referenced from l->l_savp
  * VP id
  * lock on VP data
  * LWP on VP
  * recently blocked LWP on VP
  * queue of LWPs woken which ran on this VP before sleep
  * faultaddr
  * LWP cache for upcalls
  * upcall queue
- add current concurrency and requested concurrency variables
- make process exit run LWP on all VPs
- make signal delivery consider all VPs
- make timer events consider all VPs
- add sa_newsavp to allocate new sadata_vp structure
- add sa_increaseconcurrency to prepare new VP
- make sys_sa_setconcurrency request new VP or wakeup idle VP
- make sa_yield lower current concurrency
- set sa_cpu = VP id in upcalls
- maintain cached LWPs per VP

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 24 18:31:46 2004 UTC (20 years ago) by drochner
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

deliver SIGSEGV/SEGV_ACCERR if code execution on stack is attempted,
tested by Juergen Hannken-Illjes
(there are more uninitialized ksi.ksi_code arguments)

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 31 16:44:35 2003 UTC (20 years, 4 months ago) by cl
Branch: MAIN
Changes since 1.19: +7 -29 lines
Diff to previous 1.19 (colored)

Reduce code duplication by adding mi_userret() in sys/userret.h
containing signal posting, kernel-exit handling and sa_upcall processing.

XXX the pc532, sparc, sparc64 and vax ports should have their
XXX userret() code rearranged to use this.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 8 00:28:42 2003 UTC (20 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored)

* Shuffle some data structures so, and add a flags word to ksiginfo_t.
  Right now the only flag is used to indicate if a ksiginfo_t is a
  result of a trap.  Add a predicate macro to test for this flag.
* Add initialization macros for ksiginfo_t's.
* Add accssor macro for ksi_trap.  Expands to 0 if the ksiginfo_t was
  not the result of a trap.  This matches the sigcontext trapcode semantics.
* In kpsendsig(), use KSI_TRAP_P() to select the lwp that gets the signal.
  Inspired by Matthias Drochner's fix to kpsendsig(), but correctly handles
  the case of non-trap-generated signals that have a > 0 si_code.

This patch fixes a signal delivery problem with threaded programs noted by
Matthias Drochner on tech-kern.

As discussed on tech-kern.  Reviewed and OK's by Christos.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 26 00:00:17 2003 UTC (20 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Define ksi.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 25 18:42:18 2003 UTC (20 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.16: +31 -12 lines
Diff to previous 1.16 (colored)

Add siginfo support for PowerPC.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 19 00:16:34 2003 UTC (20 years, 5 months ago) by cl
Branch: MAIN
Changes since 1.15: +23 -2 lines
Diff to previous 1.15 (colored)

add MD part of SA/pthread pagefault handling on powerpc

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 24 17:52:34 2003 UTC (20 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default.  the changes
fall into two basic catagories:

 - pmap and trap-handler changes.  these are all MD:
   = alpha: we already track per-page execute permission with the (software)
	PG_EXEC bit, so just have the trap handler pay attention to it.
   = i386: use a new GDT segment for %cs for processes that have no
	executable mappings above a certain threshold (currently the
	bottom of the stack).  track per-page execute permission with
	the last unused PTE bit.
   = powerpc/ibm4xx: just use the hardware exec bit.
   = powerpc/oea: we already track per-page exec bits, but the hardware only
	implements non-exec mappings at the segment level.  so track the
	number of executable mappings in each segment and turn on the no-exec
	segment bit iff the count is 0.  adjust the trap handler to deal.
   = sparc (sun4m): fix our use of the hardware protection bits.
	fix the trap handler to recognize text faults.
   = sparc64: split the existing unified TSB into data and instruction TSBs,
	and only load TTEs into the appropriate TSB(s) for the permissions.
	fix the trap handler to check for execute permission.
   = not yet implemented: amd64, hppa, sh5

 - changes in all the emulations that put a signal trampoline on the stack.
   instead, we now put the trampoline into a uvm_aobj and map that into
   the process separately.

originally from openbsd, adapted for netbsd by me.

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

__KERNEL_RCSID()

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 28 14:32:02 2003 UTC (20 years, 8 months ago) by simonb
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.12: +50 -36 lines
Diff to previous 1.12 (colored)

Sprinkle some KNF.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 7 04:39:09 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Fix some printf formats.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 2 20:43:23 2003 UTC (21 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.10: +35 -41 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sat Jan 18 06:23:31 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.9: +113 -49 lines
Diff to previous 1.9 (colored)

Merge the nathanw_sa branch.

Revision 1.2.6.15 / (download) - annotate - [select for diffs], Tue Jan 7 22:12:34 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.6.14: +2 -2 lines
Diff to previous 1.2.6.14 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

In the SA universe, the switch-to-this-LWP decision is made at a
different level than where preempt() calls are made, which renders
the "newlwp" argument useless.  Replace it with a "more work to do"
boolean argument.  Returning to userspace preempt() calls pass 0.
"Voluntary" preemptions in e.g. uiomove() pass 1.  This will be used
to indicate to the SA subsystem that the LWP is not yet finished in
the kernel.

Collapse the SA vs. non-SA cases of preempt() together, making the
conditional code block much smaller, and don't call sa_preempt() if
more work is to come.

NOTE: THIS IS NOT A COMPLETE FIX TO THE preempt()-in-uiomove() PROBLEM
THAT CURRENTLY EXISTS FOR SA PROCESSES.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:05:34 2002 UTC (21 years, 2 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.2.6.14 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:39 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.13: +2 -1 lines
Diff to previous 1.2.6.13 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 25 05:11:32 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Statements after labels.

Revision 1.2.6.13 / (download) - annotate - [select for diffs], Sun Oct 6 02:35:26 2002 UTC (21 years, 5 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.2.6.12: +3 -4 lines
Diff to previous 1.2.6.12 (colored) to branchpoint 1.2 (colored)

upcallret() takes struct *lwp.

Revision 1.2.6.12 / (download) - annotate - [select for diffs], Thu Sep 26 20:04:52 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.11: +3 -3 lines
Diff to previous 1.2.6.11 (colored) to branchpoint 1.2 (colored)

Change "if (l->l_flag & L_SA_UPCALL)" to "while (l->l_flag & L_SA_UPCALL)"
in userret() functions or equivalent, to permit delivery of multiple upcalls
in a single kernel entry.

XXX It's getting crowded in here. Collapsing posting signals, upcalls, and
XXX kernel-exit handling into one mechanism would be nice.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:39:04 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.2: +24 -140 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)

sync kqueue branch with HEAD

Revision 1.3.8.3 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3.8.2: +1 -5 lines
Diff to previous 1.3.8.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

catch up with -current.

Revision 1.2.6.11 / (download) - annotate - [select for diffs], Thu Aug 29 16:52:43 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.10: +4 -4 lines
Diff to previous 1.2.6.10 (colored) to branchpoint 1.2 (colored)

Replace the old-fashioned P_WEXIT checking with p_userret hook handling.

Revision 1.2.6.10 / (download) - annotate - [select for diffs], Tue Aug 6 22:47:08 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.9: +1 -5 lines
Diff to previous 1.2.6.9 (colored) to branchpoint 1.2 (colored)

Catch up with powerpc rototilling.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 2 03:46:42 2002 UTC (21 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.7: +1 -5 lines
Diff to previous 1.7 (colored)

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

Revision 1.2.6.9 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:01 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.8: +21 -129 lines
Diff to previous 1.2.6.8 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.3.8.2 / (download) - annotate - [select for diffs], Tue Jul 16 13:09:57 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3.8.1: +20 -128 lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored)

catch up with -current.

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Mon Jul 15 00:33:10 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3: +14 -18 lines
Diff to previous 1.3 (colored)

catch up with -current.

Revision 1.2.6.8 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:45 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.7: +1 -2 lines
Diff to previous 1.2.6.7 (colored) to branchpoint 1.2 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 11 01:38:49 2002 UTC (21 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.6: +18 -18 lines
Diff to previous 1.6 (colored)

Clean up some white space niggles.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 5 18:45:20 2002 UTC (21 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.5: +3 -110 lines
Diff to previous 1.5 (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.2.6.7 / (download) - annotate - [select for diffs], Wed Jul 3 20:33:28 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.6: +4 -4 lines
Diff to previous 1.2.6.6 (colored) to branchpoint 1.2 (colored)

Do p->p_userret handling rather than the old P_WEXIT check in trap().

Revision 1.2.6.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:07:03 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.5: +10 -10 lines
Diff to previous 1.2.6.5 (colored) to branchpoint 1.2 (colored)

Curproc->curlwp renaming.

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

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

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:31 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.4: +13 -18 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 17 21:08:56 2002 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.4: +5 -6 lines
Diff to previous 1.4 (colored)

apply the fix from the powerpc port. this is almost a copy of powerpc/trap.c
and needs to be refactored.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 17 16:33:14 2002 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.3: +14 -18 lines
Diff to previous 1.3 (colored)

MD systrace gluons.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:15 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.1: +4 -4 lines
Diff to previous 1.1.2.1 (colored)

Catch up with -current.

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:11:25 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.3: +4 -4 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 14 07:08:13 2002 UTC (22 years ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

allow writing to write-only mappings.  fixes PR 3493.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Mon Dec 17 21:34:44 2001 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.2: +3 -3 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

cpu_upcall() -> sa_upcall_userret().

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Mon Nov 5 19:46:16 2001 UTC (22 years, 4 months ago) by briggs
Branch: nathanw_sa
Changes since 1.2.6.1: +809 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (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.1.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:14 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

update to -current

Revision 1.2.6.1, Sun Jul 22 11:29:45 2001 UTC (22 years, 7 months ago) by briggs
Branch: nathanw_sa
Changes since 1.2: +0 -742 lines
FILE REMOVED

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

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 22 11:29:45 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 13 06:01:48 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN
Branch point for: kqueue

Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
 - New pmap and revised trap handler.
 - Support on-chip timers, PCI controller, UARTs
 - Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
 - Add in-kernel PPC floating point emulation
 - New in{,4}_cksum that is between 1.5 and 5 times faster than the
   old version depending on CPU type.
General changes:
 - Kernel support for generic dbsym-style symbols.

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>