The NetBSD Project

CVS log for src/sys/arch/alpha/alpha/trap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.140 / (download) - annotate - [select for diffs], Tue Nov 21 22:19:12 2023 UTC (4 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.139: +3 -3 lines
Diff to previous 1.139 (colored)

Move alpha/alpha/db_instruction.h -> alpha/include/alpha_instruction.h

Revision 1.139 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:03 2023 UTC (6 months, 1 week ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.138: +2 -3 lines
Diff to previous 1.138 (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.135.12.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:00 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.135: +313 -26 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

Sync with HEAD.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Jul 23 04:19:50 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, 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
Changes since 1.137: +187 -4 lines
Diff to previous 1.137 (colored)

Emulate the IEEE flavors of the FIX extension instructions:
- FTOIS, FTOIT
- ITOFS, ITOFT
- SRQTS, SQRTT

Left out for now are the VAX FP flavors:
- ITOFF
- SQRTF, SQRTG

Revision 1.137 / (download) - annotate - [select for diffs], Tue Jul 20 01:56:06 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.136: +69 -3 lines
Diff to previous 1.136 (colored)

Emulate the CIX extension instructions (CTPOP, CTTZ, CTLZ).

Revision 1.136 / (download) - annotate - [select for diffs], Mon Jul 19 22:21:36 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.135: +63 -25 lines
Diff to previous 1.135 (colored)

- In unaligned_fixup(), use defined constants for opcodes, not magic numbers.

- In handle_opdec(), use ufetch_int() to fetch the instruction and
  _u{fetch,store}_{8,16}() when emulating BWX instructions rather
  than copyin() / copyout() (they're faster).

- Add event counters for BWX instruction emulation.

Revision 1.133.14.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:25 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.133.14.1: +2 -9 lines
Diff to previous 1.133.14.1 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored)

Merge changes from current as of 20200406

Revision 1.135 / (download) - annotate - [select for diffs], Thu Nov 21 19:23:58 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf
Changes since 1.134: +2 -9 lines
Diff to previous 1.134 (colored)

mi_userret(): take care of calling preempt(), set spc_curpriority directly,
and remove MD code that does the same.

Revision 1.133.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:45 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.133: +41 -23 lines
Diff to previous 1.133 (colored)

Sync with HEAD

Revision 1.134 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:24 2019 UTC (5 years ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.133: +41 -23 lines
Diff to previous 1.133 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.128.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:46 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.128.2.1: +15 -6 lines
Diff to previous 1.128.2.1 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored)

update from HEAD

Revision 1.131.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:27 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.131.4.1: +4 -4 lines
Diff to previous 1.131.4.1 (colored) to branchpoint 1.131 (colored) next main 1.132 (colored)

Sync with HEAD

Revision 1.132.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:21 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD

Revision 1.132.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:09 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD

Revision 1.133 / (download) - annotate - [select for diffs], Thu Mar 16 16:13:20 2017 UTC (7 years ago) by chs
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-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, 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
Branch point for: phil-wifi
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored)

allow pcu_save() and pcu_discard() to be called on other threads,
ptrace needs to use it that way.

Revision 1.131.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:50 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.131: +15 -6 lines
Diff to previous 1.131 (colored)

Sync with HEAD

Revision 1.132 / (download) - annotate - [select for diffs], Mon Mar 2 11:07:16 2015 UTC (9 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.131: +15 -6 lines
Diff to previous 1.131 (colored)

Handle EINVAL in fault path, so mmap() access past EOF gets SIGBUS.

Revision 1.128.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.128: +5 -5 lines
Diff to previous 1.128 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:49 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.130: +3 -3 lines
Diff to previous 1.130 (colored) next main 1.131 (colored)

Rebase.

Revision 1.126.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:27 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.126.2.1: +4 -4 lines
Diff to previous 1.126.2.1 (colored) to branchpoint 1.126 (colored) next main 1.127 (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.128.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:53 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.128: +5 -5 lines
Diff to previous 1.128 (colored) next main 1.129 (colored)

sync with head

Revision 1.131 / (download) - annotate - [select for diffs], Fri May 16 06:11:21 2014 UTC (9 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-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.130: +3 -3 lines
Diff to previous 1.130 (colored)

When creating a SIGFPE siginfo for a gentrap, we have no additional info
(ucode) available, and the pal interface does not provide additional
details either. Hardcode the si_code value to FPE_INTDIV, since the only
callers of gentrap in our kernel seem to be the division routines in libkern.

Revision 1.130 / (download) - annotate - [select for diffs], Thu Mar 20 20:51:40 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

kill sprintf

Revision 1.129 / (download) - annotate - [select for diffs], Mon Nov 4 16:57:32 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored)

mark variable __diagused

Revision 1.126.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:54 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.126: +10 -31 lines
Diff to previous 1.126 (colored)

sync with head

Revision 1.126.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:26 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.126.6.1: +3 -24 lines
Diff to previous 1.126.6.1 (colored) to branchpoint 1.126 (colored) next main 1.127 (colored)

sync to -current.

Revision 1.128 / (download) - annotate - [select for diffs], Sun Feb 19 21:05:59 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.127: +3 -24 lines
Diff to previous 1.127 (colored)

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

Revision 1.126.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:30:54 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.126: +9 -9 lines
Diff to previous 1.126 (colored)

merge to -current.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Feb 6 02:14:12 2012 UTC (12 years, 2 months ago) by matt
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.126: +9 -9 lines
Diff to previous 1.126 (colored)

Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c

Revision 1.125.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:52 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.125: +7 -80 lines
Diff to previous 1.125 (colored) next main 1.126 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.121.4.4 / (download) - annotate - [select for diffs], Sun Jun 12 00:23:51 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121.4.3: +5 -78 lines
Diff to previous 1.121.4.3 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

sync with head

Revision 1.126 / (download) - annotate - [select for diffs], Tue Jun 7 00:48:30 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.125: +7 -80 lines
Diff to previous 1.125 (colored)

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

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:04:43 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.124: +2 -13 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync with HEAD.

Revision 1.121.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:46 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121.4.2: +0 -11 lines
Diff to previous 1.121.4.2 (colored) to branchpoint 1.121 (colored)

sync with head

Revision 1.125 / (download) - annotate - [select for diffs], Fri Apr 15 20:52:36 2011 UTC (13 years ago) by martin
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.124: +2 -13 lines
Diff to previous 1.124 (colored)

Delay initialization of FPU related event counters to cpu_startup() - we
do not expect any events of this type before spinup of all cpus.

Revision 1.121.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:10 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121.4.1: +4 -4 lines
Diff to previous 1.121.4.1 (colored) to branchpoint 1.121 (colored)

sync with head

Revision 1.124 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:24 2010 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.123: +4 -4 lines
Diff to previous 1.123 (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.118.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:31 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.118.4.3: +21 -25 lines
Diff to previous 1.118.4.3 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

sync with head.

Revision 1.121.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:35 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121: +21 -25 lines
Diff to previous 1.121 (colored)

sync with head

Revision 1.121.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:02 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.121: +21 -25 lines
Diff to previous 1.121 (colored) next main 1.122 (colored)

Sync with HEAD.

Revision 1.123 / (download) - annotate - [select for diffs], Fri Apr 23 19:18:09 2010 UTC (13 years, 11 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.122: +8 -11 lines
Diff to previous 1.122 (colored)

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

Revision 1.122 / (download) - annotate - [select for diffs], Sat Mar 20 23:31:27 2010 UTC (14 years ago) by chs
Branch: MAIN
Changes since 1.121: +15 -16 lines
Diff to previous 1.121 (colored)

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

Revision 1.118.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:01:57 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.118.4.2: +39 -29 lines
Diff to previous 1.118.4.2 (colored) to branchpoint 1.118 (colored)

sync with head

Revision 1.121 / (download) - annotate - [select for diffs], Sat Nov 21 05:35:41 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.120: +39 -29 lines
Diff to previous 1.120 (colored)

- Use lwp_getpcb() on Alpha.
- Replace and clean struct user usage, slightly simplify some code parts.
- Include sys/user.h in MD proc.h .

Revision 1.118.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:28 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.118.4.1: +24 -3 lines
Diff to previous 1.118.4.1 (colored) to branchpoint 1.118 (colored)

sync with head.

Revision 1.117.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:47 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.2: +22 -1 lines
Diff to previous 1.117.6.2 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)

Sync with HEAD.

Revision 1.119.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:39 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.119: +24 -3 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:17 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-pq3, 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
Changes since 1.119: +24 -3 lines
Diff to previous 1.119 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.119.2.2 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:01 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.119.2.1: +22 -3 lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (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.117.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:45 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.1: +0 -7 lines
Diff to previous 1.117.6.1 (colored) to branchpoint 1.117 (colored)

Sync with HEAD.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:20 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.118: +2 -9 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

sync with head.

Revision 1.118.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:44 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.118: +2 -9 lines
Diff to previous 1.118 (colored)

sync with head.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:42 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.119: +4 -2 lines
Diff to previous 1.119 (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.119 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:10 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.118: +2 -9 lines
Diff to previous 1.118 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.117.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:10 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.117: +6 -5 lines
Diff to previous 1.117 (colored)

Sync with HEAD.

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:52 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.117: +6 -5 lines
Diff to previous 1.117 (colored) next main 1.118 (colored)

sync with head.

Revision 1.115.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:52 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.115.6.2: +6 -5 lines
Diff to previous 1.115.6.2 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

sync with HEAD

Revision 1.97.2.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:13 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.97.2.5: +6 -5 lines
Diff to previous 1.97.2.5 (colored) next main 1.98 (colored)

sync with head.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Mar 10 13:43:33 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.117: +6 -5 lines
Diff to previous 1.117 (colored)

Use MI atomic operations.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:19 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.116: +3 -34 lines
Diff to previous 1.116 (colored) next main 1.117 (colored)

Sync with HEAD.

Revision 1.97.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:09 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.97.2.4: +3 -34 lines
Diff to previous 1.97.2.4 (colored)

sync with head

Revision 1.115.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:44:34 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.115.6.1: +3 -34 lines
Diff to previous 1.115.6.1 (colored) to branchpoint 1.115 (colored)

sync with HEAD

Revision 1.116.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:46:53 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.116: +3 -34 lines
Diff to previous 1.116 (colored) next main 1.117 (colored)

Sync with HEAD

Revision 1.117 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:21 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.116: +3 -34 lines
Diff to previous 1.116 (colored)

Merge vmlocking2 to head.

Revision 1.116.4.1 / (download) - annotate - [select for diffs], Sun Dec 30 23:13:00 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.116: +3 -34 lines
Diff to previous 1.116 (colored) next main 1.117 (colored)

Locking changes for alpha.

Revision 1.115.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:13:48 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

sync with HEAD

Revision 1.116 / (download) - annotate - [select for diffs], Wed Oct 17 19:52:56 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, 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, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (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.113.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:21:58 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.113.10.1: +3 -3 lines
Diff to previous 1.113.10.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored)

Sync with HEAD

Revision 1.97.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:22:19 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.97.2.3: +13 -14 lines
Diff to previous 1.97.2.3 (colored)

sync with head.

Revision 1.113.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:36:51 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.113.2.1: +3 -3 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored)

Sync with HEAD.

Revision 1.114.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:46:58 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with HEAD.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:04:52 2007 UTC (16 years, 8 months ago) by matt
Branch: matt-mips64
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with HEAD.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jul 19 12:42:46 2007 UTC (16 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Fix indent in printf message.

Revision 1.113.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:57:24 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.113: +4 -5 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

Sync with head.

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:26:54 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.113: +4 -5 lines
Diff to previous 1.113 (colored)

Sync with head.

Revision 1.113.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:28 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.113: +4 -5 lines
Diff to previous 1.113 (colored)

Update to HEAD.

Revision 1.114 / (download) - annotate - [select for diffs], Thu May 17 14:51:12 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Changes since 1.113: +4 -5 lines
Diff to previous 1.113 (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.113.8.1 / (download) - annotate - [select for diffs], Wed Apr 18 04:16:37 2007 UTC (17 years ago) by thorpej
Branch: thorpej-atomic
Changes since 1.113: +4 -4 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

Convert to the new atomic op API.

Revision 1.112.2.2 / (download) - annotate - [select for diffs], Tue Mar 20 12:07:13 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.112.2.1: +4 -5 lines
Diff to previous 1.112.2.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

adapt alpha.

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:46:05 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.112: +10 -10 lines
Diff to previous 1.112 (colored)

Sync with HEAD.

Revision 1.113 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:10 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, reinoud-bufcleanup
Branch point for: vmlocking, thorpej-atomic, ppcoea-renovation, mjf-ufs-trans
Changes since 1.112: +10 -10 lines
Diff to previous 1.112 (colored)

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

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:35 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.97.2.2: +29 -48 lines
Diff to previous 1.97.2.2 (colored)

sync with head.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.111: +29 -48 lines
Diff to previous 1.111 (colored)

Merge newlock2 to head.

Revision 1.111.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:33 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.111.4.1: +7 -26 lines
Diff to previous 1.111.4.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Remove support for SA. Ok core@.

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:56 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.111: +28 -28 lines
Diff to previous 1.111 (colored)

Checkpoint work in progress.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:22 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.97.2.1: +5 -4 lines
Diff to previous 1.97.2.1 (colored)

sync with head.

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:36:55 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.103: +11 -11 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

sync with head

Revision 1.104.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:40:59 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.104.2.2: +5 -4 lines
Diff to previous 1.104.2.2 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

sync with head

Revision 1.111 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:04 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.110: +4 -4 lines
Diff to previous 1.110 (colored)

Use the LWP cached credentials where sane.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Jul 19 21:11:39 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.109: +3 -2 lines
Diff to previous 1.109 (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.97.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:48:01 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.97: +20 -16 lines
Diff to previous 1.97 (colored)

sync with head.

Revision 1.103.4.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:34:09 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.103.4.1: +9 -8 lines
Diff to previous 1.103.4.1 (colored) next main 1.104 (colored)

Sync with head.

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:47:49 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.105: +9 -8 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

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

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:56:33 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.104.2.1: +9 -8 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored)

sync with head.

Revision 1.109 / (download) - annotate - [select for diffs], Mon May 15 09:32:15 2006 UTC (17 years, 11 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.108: +5 -4 lines
Diff to previous 1.108 (colored)

- include kauth.h for kauth_cred_geteuid.
- tweak indent for a long line.

Revision 1.108 / (download) - annotate - [select for diffs], Sun May 14 21:55:09 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.107: +4 -4 lines
Diff to previous 1.107 (colored)

integrate kauth.

Revision 1.104.4.3 / (download) - annotate - [select for diffs], Thu May 11 23:26:18 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.104.4.2: +4 -4 lines
Diff to previous 1.104.4.2 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

sync with head

Revision 1.107 / (download) - annotate - [select for diffs], Wed May 10 10:26:40 2006 UTC (17 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.106: +3 -4 lines
Diff to previous 1.106 (colored)

ANSIfy startlwp

Revision 1.106 / (download) - annotate - [select for diffs], Wed May 10 10:04:14 2006 UTC (17 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.105: +3 -2 lines
Diff to previous 1.105 (colored)

Add KERNEL_PROC_UNLOCK(l) before userret in startlwp.

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

Sync with head.

Revision 1.104.4.2 / (download) - annotate - [select for diffs], Wed Apr 19 02:31:57 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.104.4.1: +3 -3 lines
Diff to previous 1.104.4.1 (colored) to branchpoint 1.104 (colored)

sync with head - hopefully this will work

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:06 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

sync with head.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Mar 15 18:12:02 2006 UTC (18 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, peter-altq-base
Branch point for: peter-altq
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

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

Revision 1.104.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:43:05 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.104: +4 -4 lines
Diff to previous 1.104 (colored)

Adapt to kernel authorization KPI.

I expect *some* lossage here...

Revision 1.102.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:27:45 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.102.2.1: +3 -5 lines
Diff to previous 1.102.2.1 (colored) next main 1.103 (colored)

sync with head.

Revision 1.104 / (download) - annotate - [select for diffs], Wed Feb 22 22:11:44 2006 UTC (18 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.103: +3 -5 lines
Diff to previous 1.103 (colored)

don't bother to figure out whether a page was not mapped at all or mapped
with too little permission (physically) on a fault -- uvm knows better

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:36 2006 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.102: +4 -4 lines
Diff to previous 1.102 (colored)

sync with head.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jan 12 00:30:59 2006 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.102: +4 -4 lines
Diff to previous 1.102 (colored)

PR/32502: Anders Hjalmarsson: profiling (ticks) is broken on alpha

Revision 1.102 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:10 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored)

merge ktrace-lwp.

Revision 1.80.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:48:21 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.80.2.4: +17 -12 lines
Diff to previous 1.80.2.4 (colored) next main 1.81 (colored)

Sync with HEAD. Here we go again...

Revision 1.101 / (download) - annotate - [select for diffs], Thu Sep 1 02:19:40 2005 UTC (18 years, 7 months ago) by yamt
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.100: +2 -3 lines
Diff to previous 1.100 (colored)

don't include uvm_extern.h twice.

Revision 1.100 / (download) - annotate - [select for diffs], Thu Sep 1 02:18:19 2005 UTC (18 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.99: +0 -1 lines
Diff to previous 1.99 (colored)

revert rev.1.99 as it is no longer necessary.

Revision 1.99 / (download) - annotate - [select for diffs], Wed Aug 31 07:07:29 2005 UTC (18 years, 7 months ago) by he
Branch: MAIN
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (colored)

Now that uvm_extern.h no longer includes uvm_fault.h, we need to include
the latter explicitly.

Revision 1.92.2.2.2.1 / (download) - annotate - [select for diffs], Mon Aug 29 00:57:12 2005 UTC (18 years, 7 months ago) by tron
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1
Changes since 1.92.2.2: +10 -4 lines
Diff to previous 1.92.2.2 (colored) next main 1.93 (colored)

Pull up following revision(s) (requested by riz in ticket #5623):
	sys/arch/alpha/alpha/machdep.c: revision 1.287
	sys/arch/alpha/alpha/trap.c: revision 1.98
	sys/arch/alpha/include/pcb.h: revision 1.13
- Change FPCPU_LOCK() such that the caller is responsible for blocking
  IPIs in the MULTIPROCESSOR case.  Adjust all callers.
- In fpusave_cpu(), block IPIs for the entire duration (while we have
  CPUF_FPUSAVE set in ci_flags) to fix the deadlock that leads to
  "panic: fpsave ipi didn't", as described in PR port-alpha/26383.
  Many thanks to Michael Hitch for the analysis and initial patch which
  this one is derived from.

Revision 1.96.10.1 / (download) - annotate - [select for diffs], Sat Jul 30 17:55:54 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.96: +10 -4 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Pull up revision 1.98 (requested by thorpej in ticket #629):
- Change FPCPU_LOCK() such that the caller is responsible for blocking
  IPIs in the MULTIPROCESSOR case.  Adjust all callers.
- In fpusave_cpu(), block IPIs for the entire duration (while we have
  CPUF_FPUSAVE set in ci_flags) to fix the deadlock that leads to
  "panic: fpsave ipi didn't", as described in PR port-alpha/26383.
  Many thanks to Michael Hitch for the analysis and initial patch which
  this one is derived from.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Jul 28 13:57:06 2005 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.97: +10 -4 lines
Diff to previous 1.97 (colored)

- Change FPCPU_LOCK() such that the caller is responsible for blocking
  IPIs in the MULTIPROCESSOR case.  Adjust all callers.
- In fpusave_cpu(), block IPIs for the entire duration (while we have
  CPUF_FPUSAVE set in ci_flags) to fix the deadlock that leads to
  "panic: fpsave ipi didn't", as described in PR port-alpha/26383.
  Many thanks to Michael Hitch for the analysis and initial patch which
  this one is derived from.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Jun 1 16:09:01 2005 UTC (18 years, 10 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.96: +9 -9 lines
Diff to previous 1.96 (colored)

avoid a shadow warning, and fix a pseudo-comment

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

Fix the sync with head I botched.

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:30:53 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.80.2.2: +2 -2 lines
Diff to previous 1.80.2.2 (colored)

Sync with HEAD.

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:44:27 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.80.2.1: +5 -10 lines
Diff to previous 1.80.2.1 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Sat Aug 28 17:53:00 2004 UTC (19 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.95: +5 -10 lines
Diff to previous 1.95 (colored)

use uvm_grow() to update stack segment size on stack page fault instead
of MD code

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:31:06 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.80: +152 -90 lines
Diff to previous 1.80 (colored)

Sync with HEAD

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Sat Jul 17 16:46:13 2004 UTC (19 years, 9 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RC1, 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
Branch point for: netbsd-2
Changes since 1.92.2.1: +4 -2 lines
Diff to previous 1.92.2.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

Pull up revision 1.94 (requested by petrov in ticket #672):
  Update uvmexp's traps and syscalls.

Revision 1.95 / (download) - annotate - [select for diffs], Sat Jul 17 12:21:21 2004 UTC (19 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.94: +3 -2 lines
Diff to previous 1.94 (colored)

as i386 does, propagete errors from uvm_fault() to users of pcb_onfault
via v0 so that eg. read(2) can return more appropriate errors
rather than always EFAULT.

ok'ed by Jason Thorpe.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Jul 17 04:56:31 2004 UTC (19 years, 9 months ago) by petrov
Branch: MAIN
Changes since 1.93: +4 -2 lines
Diff to previous 1.93 (colored)

Update uvmexp's traps and syscalls. Reviewed by Jason Thorpe.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Sat May 22 15:20:48 2004 UTC (19 years, 10 months ago) by he
Branch: netbsd-2-0
Changes since 1.92: +3 -2 lines
Diff to previous 1.92 (colored)

Pull up revision 1.93 (requested by mhitch in ticket #355):
  Add missing KERNEL_PROC_UNLOCK() in upcallret().  This should
  fix PR#22219 and maybe also PR#23731, which appears to be a
  duplicate of PR#22219.

Revision 1.93 / (download) - annotate - [select for diffs], Mon May 17 17:43:08 2004 UTC (19 years, 11 months ago) by mhitch
Branch: MAIN
Changes since 1.92: +3 -2 lines
Diff to previous 1.92 (colored)

Add missing KERNEL_PROC_UNLOCK() in upcallret().  This should fix PR#22219
and maybe also PR#23731, which appears to be a duplicate of 22219.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Mar 23 18:44:00 2004 UTC (20 years ago) by matt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.91: +4 -5 lines
Diff to previous 1.91 (colored)

In alpha_ucode_to_ksiginfo, don't adjust ucode since that's already been
done in the FP_C_TO_NETBSD_MASK macro.  Constify a read-only static array.
This should fix regress/lib/libc/ieeefp/except failures.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Mar 14 01:08:47 2004 UTC (20 years, 1 month ago) by cl
Branch: MAIN
Changes since 1.90: +3 -4 lines
Diff to previous 1.90 (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.90 / (download) - annotate - [select for diffs], Thu Feb 19 17:06:06 2004 UTC (20 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.89: +22 -21 lines
Diff to previous 1.89 (colored)

-on instruction fetch fault from non-executable pages, signal
 SIGSEGV/SEGV_ACCERR
-whitespace cleanup

Revision 1.89 / (download) - annotate - [select for diffs], Thu Nov 13 03:09:28 2003 UTC (20 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.88: +12 -29 lines
Diff to previous 1.88 (colored)

eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Oct 29 05:16:26 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.87: +10 -3 lines
Diff to previous 1.87 (colored)

If we get an unknown fault code, either panic (if DIAGNOSTIC), or fault it with
a 0 access_type (if not).  Remove bogus initializer.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Oct 27 07:07:35 2003 UTC (20 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored)

uninitialized variables

Revision 1.86 / (download) - annotate - [select for diffs], Wed Oct 8 00:28:41 2003 UTC (20 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.85: +8 -2 lines
Diff to previous 1.85 (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.85 / (download) - annotate - [select for diffs], Tue Oct 7 17:04:18 2003 UTC (20 years, 6 months ago) by skd
Branch: MAIN
Changes since 1.84: +76 -16 lines
Diff to previous 1.84 (colored)

Siginfo changes for alpha kernel.  Approved by thorpej@netbsd.org.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 21 15:14:51 2003 UTC (20 years, 6 months ago) by skd
Branch: MAIN
Changes since 1.83: +5 -15 lines
Diff to previous 1.83 (colored)

Backed out single step emulation.
Approved by thorpej@netbsd.org.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Sep 18 22:36:32 2003 UTC (20 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.82: +13 -6 lines
Diff to previous 1.82 (colored)

add MD part of SA/pthread pagefault handling on alpha

Revision 1.82 / (download) - annotate - [select for diffs], Thu Sep 18 05:26:41 2003 UTC (20 years, 7 months ago) by skd
Branch: MAIN
Changes since 1.81: +15 -5 lines
Diff to previous 1.81 (colored)

Added kernel support for single stepping, adapted from FreeBSD.
Approved by christos.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Aug 24 17:52:29 2003 UTC (20 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.80: +27 -31 lines
Diff to previous 1.80 (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.80 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:00 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Jan 17 22:11:19 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.78: +133 -98 lines
Diff to previous 1.78 (colored)

Merge the nathanw_sa branch.

Revision 1.77.2.8 / (download) - annotate - [select for diffs], Tue Jan 7 22:12:17 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.77.2.7: +3 -3 lines
Diff to previous 1.77.2.7 (colored) to branchpoint 1.77 (colored) next main 1.78 (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.78.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:05:19 2002 UTC (21 years, 4 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.78: +3 -4 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

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

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

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

Revision 1.77.2.6 / (download) - annotate - [select for diffs], Tue Jul 9 16:53:16 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.77.2.5: +3 -2 lines
Diff to previous 1.77.2.5 (colored) to branchpoint 1.77 (colored)

#include <sys/sa.h> for type definitions.

Revision 1.77.14.1 / (download) - annotate - [select for diffs], Tue Jul 9 05:27:14 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

catch up with -current.

Revision 1.77.2.5 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:17 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.77.2.4: +15 -15 lines
Diff to previous 1.77.2.4 (colored) to branchpoint 1.77 (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.73.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:08 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.73.2.1: +5 -5 lines
Diff to previous 1.73.2.1 (colored) next main 1.74 (colored)

catch up with -current on kqueue branch

Revision 1.77.2.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:37:32 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.77.2.3: +5 -5 lines
Diff to previous 1.77.2.3 (colored) to branchpoint 1.77 (colored)

Catch up to -current.

Revision 1.77.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 16:22:34 2002 UTC (21 years, 10 months ago) by tv
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Pull up revision 1.78 (requested by thorpej in ticket #213):
make auto const variables static.
ok'ed by thorpej.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jun 8 15:50:59 2002 UTC (21 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored)

make auto const variables static.
ok'ed by thorpej.

Revision 1.77.2.3 / (download) - annotate - [select for diffs], Sat Nov 17 00:46:04 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.77.2.2: +3 -5 lines
Diff to previous 1.77.2.2 (colored) to branchpoint 1.77 (colored)

The upcallret() function is given the lwp of curproc as its argument; update
declaration, and actually use the argument, instead of using curproc(!).

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Thu Aug 30 23:43:42 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.77.2.1: +1211 -0 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored)

First cut at LWP and SA support on the alpha.
Doesn't break in ordinary multiuser mode; LWPs and SAs not yet tested.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:41 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.73: +39 -7 lines
Diff to previous 1.73 (colored)

update to -current

Revision 1.77.2.1, Wed Jul 18 22:22:02 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.77: +0 -1174 lines
FILE REMOVED

file trap.c was added on branch nathanw_sa on 2001-08-30 23:43:42 +0000

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jul 18 22:22:02 2001 UTC (22 years, 9 months ago) by thorpej
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, newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, nathanw_sa, gehenna-devsw
Changes since 1.76: +6 -4 lines
Diff to previous 1.76 (colored)

Print the stack pointer on a user unaligned access fault.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jul 14 05:48:45 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.75: +9 -6 lines
Diff to previous 1.75 (colored)

Oops, only register those event counters if the primary processor.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Jul 14 05:10:38 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.74: +31 -4 lines
Diff to previous 1.74 (colored)

Instrument the lazy FP context switch path:
- fpevent_use is incremented the first time a process uses FP
  for the first time (note, FPUSED is inherited on fork, but
  cleared on exec).
- fpevent_reuse is incremented whenever a process that has previously
  used FP has to take a FEN trap in order to be able to use it again.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jul 12 23:35:43 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

bcopy -> memcpy

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jun 26 17:29:28 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.72: +11 -2 lines
Diff to previous 1.72 (colored)

Panic if we get an MM trans/prot fault in interrupt context.

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 18:12:57 2001 UTC (22 years, 9 months ago) by nathanw
Changes since 1.66.2.1: +69 -77 lines
Diff to previous 1.66.2.1 (colored) next main 1.67 (colored)

Catch up to -current.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:08 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 26 04:21:35 2001 UTC (22 years, 11 months ago) by ross
Branch: MAIN
Changes since 1.70: +2 -4 lines
Diff to previous 1.70 (colored)

Move fp_complete() outside kernel lock perimeter.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Apr 26 03:10:45 2001 UTC (22 years, 11 months ago) by ross
Branch: MAIN
Changes since 1.69: +58 -63 lines
Diff to previous 1.69 (colored)

o IEEE 754 floating-point completion code.
o Implement the architected FP_C "Floating Point Control Quadword"

Revision 1.49.2.8 / (download) - annotate - [select for diffs], Mon Apr 23 09:41:29 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.7: +19 -20 lines
Diff to previous 1.49.2.7 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 20 18:00:50 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.68: +14 -6 lines
Diff to previous 1.68 (colored)

Alas, we must put pmap_emulate_reference() in the kernel_lock
perimeter as long as we still acquire it in interrupt handlers,
in order to avoid a lock ordering deadlock.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Apr 20 00:10:18 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +7 -16 lines
Diff to previous 1.67 (colored)

Eliminate race conditions in the FP-switch code.  MP kernels get
much further on the way to multi-user now.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:50:20 2001 UTC (23 years ago) by nathanw
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

Catch up with -current.

Revision 1.49.2.7 / (download) - annotate - [select for diffs], Tue Mar 27 15:30:08 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.6: +5 -5 lines
Diff to previous 1.49.2.6 (colored) to branchpoint 1.49 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:33 2001 UTC (23 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.49.2.6 / (download) - annotate - [select for diffs], Fri Jan 5 17:33:42 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.5: +24 -71 lines
Diff to previous 1.49.2.5 (colored) to branchpoint 1.49 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 3 22:15:38 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.65: +26 -73 lines
Diff to previous 1.65 (colored)

ANSI'ify, and inline userret().

Revision 1.49.2.5 / (download) - annotate - [select for diffs], Wed Dec 13 15:49:16 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.4: +2 -2 lines
Diff to previous 1.49.2.4 (colored) to branchpoint 1.49 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.49.2.4 / (download) - annotate - [select for diffs], Wed Dec 13 14:49:10 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.3: +20 -243 lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored)

Sync with HEAD (for UBC fixes)

Revision 1.65 / (download) - annotate - [select for diffs], Wed Dec 13 03:16:37 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.64: +2 -176 lines
Diff to previous 1.64 (colored)

Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 13 00:38:20 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.63: +32 -81 lines
Diff to previous 1.63 (colored)

Start cleanup of syscall(), similar to i386 and arm32.  getpid() rate on my
AS200 goes from ~279000/s to ~446000/s.

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:23:27 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.2: +36 -8 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored)

Sync with HEAD.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 15:59:43 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49.2.1: +17 -13 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Nov 22 08:39:50 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +37 -9 lines
Diff to previous 1.62 (colored)

Several changes, which get us generally further along with
multiprocessor support:
- Implement MP-safe halt.
- Make the FPU saving code more like Bill's on the i386 MP branch.
  XXX This code will no doubt be revisited again.
- Pass the cpu_info and trapframe to IPI handlers, saving some work
  in the handlers themselves, and also making it possible for the
  "pause" handler to reference register state for DDB.
- Add "machine cpu" to DDB, making it possible to reference other
  CPUs registers (and thus get e.g. a traceback) from whichever
  CPU is actually running the debugger.
- Garbage-collect "machine halt" and "machine reboot" DDB commands.
  They don't have a prayer of working properly in multiprocessor
  kernels, and didn't really work all that well in uniprocessor kernels.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Nov 22 03:54:01 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

constify

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 19:56:38 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.49: +166 -72 lines
Diff to previous 1.49 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Nov 20 15:33:39 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +17 -13 lines
Diff to previous 1.60 (colored)

Print the CPU ID while dumping trap info.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Sep 4 00:31:59 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +94 -43 lines
Diff to previous 1.59 (colored)

Define the biglock perimeter for the Alpha port, and generally clean
up a bunch of the MP code.  Still doens't work properly yet, this is
just a snapshot of work-in-progress.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Aug 15 22:16:17 2000 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +11 -18 lines
Diff to previous 1.58 (colored)

Implement MP-safe lazy FP context switching, modeled on the
way Bill Sommerfeld implemented it for x86 (and bug fixes
fed back to Bill :-)

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 30 00:00:26 2000 UTC (23 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored)

no more vm includes

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jun 29 09:02:56 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:58:18 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.54: +23 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jun 6 18:52:30 2000 UTC (23 years, 10 months ago) by soren
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

defopt SYSCALL_DEBUG.

Revision 1.55 / (download) - annotate - [select for diffs], Wed May 31 05:14:30 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +22 -5 lines
Diff to previous 1.54 (colored)

- In the MULTIPROCESSOR case, initialize p_cpu before a process is
  marked SONPROC.
- Always make curproc, fpcurproc, astpending, and want_resched per-CPU
  variables in struct cpu_info.  Restructure code accordingly, and trim
  a few instructions from a few spots in various places in locore.

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 27 00:40:29 2000 UTC (23 years, 10 months ago) by sommerfeld
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

Reduce use of curproc in several places:

 - Change ktrace interface to pass in the current process, rather than
p->p_tracep, since the various ktr* function need curproc anyway.

 - Add curproc as a parameter to mi_switch() since all callers had it
handy anyway.

 - Add a second proc argument for inferior() since callers all had
curproc handy.

Also, miscellaneous cleanups in ktrace:

 - ktrace now always uses file-based, rather than vnode-based I/O
(simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD.
Do non-blocking I/O, and yield a finite number of times when receiving
EWOULDBLOCK before giving up.

 - move code duplicated between sys_fktrace and sys_ktrace into ktrace_common.

 - simplify interface to ktrwrite()

Revision 1.53 / (download) - annotate - [select for diffs], Fri May 26 21:19:23 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 24 16:48:33 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +5 -14 lines
Diff to previous 1.51 (colored)

Use preempt(), not an open-coded equivalent (which won't be
equivalent for long).

Revision 1.51 / (download) - annotate - [select for diffs], Wed Mar 1 02:22:03 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.50: +44 -2 lines
Diff to previous 1.50 (colored)

Infrastructure for lazy istream sync in the pmap module:
- Add a bitmask for the CPUs which need an isync before this pmap returns
  to userspace on that CPU.
- Define PMAP_USERRET(), a utility macro for userret() to use to process
  the deferred isync, and call it as appropriate in userret().

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:31:23 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Pull up to last week's -current.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Dec 4 21:19:57 1999 UTC (24 years, 4 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

CL* discarding.

Revision 1.42.2.1.4.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:31:25 1999 UTC (24 years, 4 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.42.2.1: +292 -47 lines
Diff to previous 1.42.2.1 (colored) next main 1.42.2.2 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Mon Jun 21 19:20:13 1999 UTC (24 years, 9 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.42.2.2: +11 -2 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

pull up rev(s) 1.45-1.46 from trunk. (cgd)

Revision 1.42.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:46:06 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.42.2.1: +311 -74 lines
Diff to previous 1.42.2.1 (colored) next main 1.42.2.2 (colored)

Sync w/ -current.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Fri Jun 18 18:02:11 1999 UTC (24 years, 10 months ago) by perry
Branch: netbsd-1-4
Changes since 1.42.2.1: +283 -47 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored)

pullup 1.47->1.49 (cgd): BWX instruction emulation and unaligned access

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 10 01:27:28 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.48: +28 -2 lines
Diff to previous 1.48 (colored)

have to take care to have a valid SP value in the unaligned fixup and
opdec (emulation) handlers.

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 9 19:43:58 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.47: +257 -47 lines
Diff to previous 1.47 (colored)

handle unaligned ldwu/stw instructions.  While there, fix a bug in the
unaligned access handler and clean it up some.  Add support for emulating
the BWX instructions (ld{b,w}u, st{b,w}, sext{b,w}), which user software
can expect to be emulated.  (Thanks, Alpha Architecture!)

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 21:04:57 1999 UTC (24 years, 11 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: kame, chs-ubc2
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

pullup 1.46->1.47 (cgd)

Revision 1.47 / (download) - annotate - [select for diffs], Fri Apr 30 20:21:57 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 (colored)

processes would have vm->vm_ssize screwed up when they faulted
data regions higher than USRSTACK.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Apr 30 05:47:53 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.45: +9 -2 lines
Diff to previous 1.45 (colored)

gross hack for SIGFPE under OSF/1, until ross makes SW completion go

Revision 1.45 / (download) - annotate - [select for diffs], Fri Apr 23 05:43:02 1999 UTC (24 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored)

support emulation-specified errno mapping tables

Revision 1.44 / (download) - annotate - [select for diffs], Tue Apr 20 21:16:59 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +28 -18 lines
Diff to previous 1.43 (colored)

- Revert previous, and do debugger entry if kernel BUGCHK or BPT traps
  happen.  If the debugger doesn't handle the trap, arrange things so the
  debugger won't be called again before we panic.
- Before panic'ing, give the debugger a chance to field the trap, and
  if the debugger has handled things, allow the kernel to continue running,
  like the i386 port does.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 19 23:24:14 1999 UTC (25 years ago) by thorpej
Branch: MAIN
Changes since 1.42: +4 -22 lines
Diff to previous 1.42 (colored)

Dispatch to the debugger from the Intruction Fault trap vector directly,
rather than doing it from trap().  This so we can switch to a temporary
stack for the debugger (in a forthcoming commit).

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 24 05:50:51 1999 UTC (25 years ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.41: +2 -28 lines
Diff to previous 1.41 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 18 04:56:01 1999 UTC (25 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.40: +11 -6 lines
Diff to previous 1.40 (colored)

if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
and print a message about it.  this will be used to recover from
out-of-swap conditions.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Feb 23 03:20:03 1999 UTC (25 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.39: +2 -4 lines
Diff to previous 1.39 (colored)

Now that we have the kthread mechanism, massively clean up the way
additional processors are spun up on multiprocessor Alpha systems.
Now, each processor gets its own idle thread (the primary processor
uses proc0).  This idle thread is used in switch_exit(), rather than
explicitly referencing proc0.

Also, make `curproc', `fpcurproc', and `curpcb' per-cpu values.  This
required some data structure rearrangement; cpu info is now statically
allocated in the BSS, rather than via malloc(), and cpu_softc is gone.
(Modeled somewhat after NetBSD/sparc's multiprocessor info structures.)

Revision 1.39 / (download) - annotate - [select for diffs], Thu Nov 19 02:29:49 1998 UTC (25 years, 5 months ago) by ross
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

#include <machine/alpha.h>

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 11 06:41:23 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +5 -4 lines
Diff to previous 1.37 (colored)

Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 7 19:09:53 1998 UTC (25 years, 6 months ago) by ross
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

g/c leftover `{' in #if notdef; it confuses ctags(1)

Revision 1.36 / (download) - annotate - [select for diffs], Thu Sep 24 23:28:18 1998 UTC (25 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +28 -2 lines
Diff to previous 1.35 (colored)

First-cut at code to spin up secondary processors on a multiprocessor
Alpha system, conditional on MULTIPROCESSOR.

NOTE: This does not yet work completely.  The secondary CPU begins the
boot process, but never makes it into the cpu spinup trampoline.  This
is merely a snapshot of a work-in-progress.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 14 16:50:02 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:14 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

defopt DDB.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 26 00:01:33 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

defopt COMPAT_OSF1

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 25 21:19:12 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

defopt KTRACE

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 26 02:21:46 1998 UTC (26 years ago) by thorpej
Branch: MAIN
Changes since 1.30: +2 -57 lines
Diff to previous 1.30 (colored)

Remove references to NEW_PMAP.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 24 07:38:02 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.29: +30 -2 lines
Diff to previous 1.29 (colored)

Add support for UVM.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Nov 17 02:35:48 1997 UTC (26 years, 5 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.28: +7 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync w/ trunk.  (ross).

Revision 1.29 / (download) - annotate - [select for diffs], Mon Nov 17 00:52:49 1997 UTC (26 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.28: +7 -4 lines
Diff to previous 1.28 (colored)

Eliminate %: use from alpha/trap.c; the policy is to get rid of these
anyway. I _still_ have my doubts about the kprintf %: code, though.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 17 18:47:58 1997 UTC (26 years, 6 months ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Recover from some include file foo.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu Sep 4 00:52:58 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Sep 2 13:22:53 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-base
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)

Pull in FIX_UNALIGNED_VAX_FP option.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 2 13:18:40 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

Nuke the idea of <machine/options.h>.  It completely defeats the purpose
of fine-grain option dependencies.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Tue Aug 12 05:54:58 1997 UTC (26 years, 8 months ago) by cgd
Branch: alpha-nwscons
Changes since 1.19.2.2: +41 -4 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with -current as of August 11, 1997

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 24 23:55:01 1997 UTC (26 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: marc-pcmcia-bp, alpha-nwscons-base
Branch point for: marc-pcmcia
Changes since 1.24: +41 -4 lines
Diff to previous 1.24 (colored)

Add some DDB glue:
- Allow BUGCHK and BPT instruction faults in kernel mode if DDB is enabled,
  since they are used to invoke the debugger.
- Add a comment about how we'd like to invoke DDB on a trap panic condition,
  in a perfect world.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Fri Jun 6 00:13:59 1997 UTC (26 years, 10 months ago) by cgd
Branch: alpha-nwscons
Changes since 1.19.2.1: +4 -4 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

sync nwscons with trunk

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 3 17:38:50 1997 UTC (26 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

do not spew about processes which have had fatal traps, unless DEBUG
is defined.  Actually, it never should do it, but DEBUG should be 'never'
for most users.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sun Jun 1 04:11:42 1997 UTC (26 years, 10 months ago) by cgd
Branch: alpha-nwscons
Changes since 1.19: +95 -58 lines
Diff to previous 1.19 (colored)

sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 15 18:33:47 1997 UTC (26 years, 11 months ago) by mjacob
Branch: MAIN
Changes since 1.22: +90 -56 lines
Diff to previous 1.22 (colored)

Print some more info on unresolved user traps, mostly for DIAGNOSTIC.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 10 01:03:07 1997 UTC (27 years ago) by cgd
Branch: MAIN
Changes since 1.21: +3 -5 lines
Diff to previous 1.21 (colored)

adjust 'sticks' to be the same as on other ports (0 if trap in kernel mode).
This is a great example of gcc's bogus -Wuninitialized warnings.  even if
'user' is made const, gcc still (incorrectly!) whines.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 7 23:40:08 1997 UTC (27 years ago) by cgd
Branch: MAIN
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored)

by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory.  (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 7 00:19:23 1997 UTC (27 years ago) by cgd
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

clean up NetBSD RCS ID strings, include machine/options.h

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 27 01:28:30 1996 UTC (27 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Branch point for: alpha-nwscons
Changes since 1.18: +43 -15 lines
Diff to previous 1.18 (colored)

when panicing because of a fatal trap, print the trap's type name, as well
as its kernel entry number.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 13 22:20:58 1996 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

update copyright dates

Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 13 21:13:14 1996 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.16: +27 -8 lines
Diff to previous 1.16 (colored)

compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual

Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 13 02:59:48 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.15: +32 -32 lines
Diff to previous 1.15 (colored)

backout previous kprintf change

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 10 23:50:43 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.14: +32 -32 lines
Diff to previous 1.14 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 7 22:26:42 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Use SIGBUS iff we get a legitimate bus fault.  Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).

Revision 1.13 / (download) - annotate - [select for diffs], Tue Aug 20 23:05:10 1996 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.12: +54 -2 lines
Diff to previous 1.12 (colored)

add a bunch of printfs for NEW_PMAP

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jul 15 08:28:09 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.11: +80 -5 lines
Diff to previous 1.11 (colored)

actually implement code to handle unaligned VAX FP reg loads and stores.
Not tested yet, but also not compiled into the standard kernel.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 14 04:36:21 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

print the label for the opcode in unaligned access printf as "op" not "type"

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 14 04:22:12 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.9: +510 -181 lines
Diff to previous 1.9 (colored)

(1)     Remove old trap definitions, define trap and interrupt handling
more naturally in terms of way the OSF/1 PALcode delivers traps and
interrupts.  Clean up fault/exception handling code and system entry
points.  Seperate ASTs into a seperate C function.
(2)     Add unaligned access fixup code to fix unaligned quad, long,
and IEEE S and T floating datum loads and stores.  VAX floating data
types not yet supported, and in the future will only be supported if
FIX_UNALIGNED_VAX_FP is defined.  (No point in wasting the space when
most of the time there will never be VAX FP loads and stores.)  Right
now, these features can be controlled only by sysctl.  The (boolean)
integer sysctls machdep.unaligned_print, machdep.unaligned_fix, and
machdep.unaligned_sigbus control printing about unaligned accesses
(defaults on), fixing up of unaligned accesses (defaults on), and
forcing a SIGBUS on unaligned accesses (defaults off).  If an access
is not fixed up (for lack of method or explicit decision), a SIGBUS is
always generated to keep programs from using bogus data.  At some point,
these three choices should be controlled by per-process flags, as well.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 11 20:14:22 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

don't save and set the USP at every trap entry and exit.  It's
unnecessary, and given that there's no reason to waste time and
add complexity in trap handlers.  This means that code which sets and
uses the USP has to be a bit more careful, but that doesn't happen much.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 11 05:31:24 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.7: +20 -20 lines
Diff to previous 1.7 (colored)

Instead of treating the trap/syscall/exception frame like a struct
containing a substruct (the hardware frame) and an array of registers,
treat it like one big array of registers, for easier and prettier
access.  Update everything to deal with that.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 11 03:53:33 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.6: +20 -20 lines
Diff to previous 1.6 (colored)

update for new alpha_cpu.h definitions, -Wall cleanups, and make
things compile with the new work-in-progress pmap code.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 9 00:54:15 1996 UTC (27 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

clean and update for new defintions, prototypes, etc.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 23 02:34:37 1995 UTC (28 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.4: +39 -12 lines
Diff to previous 1.4 (colored)

wholesale update from my NetBSD/Alpha source tree.  Includes:
	Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 28 02:45:21 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

sync with my current Alpha sources

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 22 20:24:45 1995 UTC (28 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.2: +21 -45 lines
Diff to previous 1.2 (colored)

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 22 16:59:47 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.1: +14 -12 lines
Diff to previous 1.1 (colored)

kill a host of null dereference bugs...  tracking down a _different_ bug,
i was getting "KSP INVALID" death.  It was being cause by never-ending
MM faults, caused by null derefs (of curproc) in the MM fault trap
handler.  the original MM fault was caused by a null deref (of
curproc, again) in the unaligned access handler!

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 13 23:07:16 1995 UTC (29 years, 2 months ago) by cgd
Branch: MAIN

preliminary Alpha support.  note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET.  Also, some of this is
_incredibly_ hack-ish, etc., but it works.

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>