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


Keyword substitution: kv
Default branch: MAIN


Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue Nov 21 22:19:12 2023 UTC (12 months, 2 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +3 -3 lines
Move alpha/alpha/db_instruction.h -> alpha/include/alpha_instruction.h

Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Oct 5 19:41:03 2023 UTC (14 months ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:00 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +313 -26 lines
Sync with HEAD.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Fri Jul 23 04:19:50 2021 UTC (3 years, 4 months ago) by thorpej
Branches: 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
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +187 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 20 01:56:06 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +69 -3 lines
Emulate the CIX extension instructions (CTPOP, CTTZ, CTLZ).

Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Jul 19 22:21:36 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +63 -25 lines
- 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 - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:25 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.133.14.1: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.14.1: +2 -9 lines
Merge changes from current as of 20200406

Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Nov 21 19:23:58 2019 UTC (5 years ago) by ad
Branches: 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
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -9 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:45 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +41 -23 lines
Sync with HEAD

Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:24 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, 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
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +41 -23 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:46 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.128.2.1: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.2.1: +15 -6 lines
update from HEAD

Revision 1.131.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:27 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.131.4.1: preferred, colored; branchpoint 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.4.1: +4 -4 lines
Sync with HEAD

Revision 1.132.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:21 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +4 -4 lines
Sync with HEAD

Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:09 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +4 -4 lines
Sync with HEAD

Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Mar 16 16:13:20 2017 UTC (7 years, 8 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-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-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:50 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +15 -6 lines
Sync with HEAD

Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Mar 2 11:07:16 2015 UTC (9 years, 9 months ago) by martin
Branches: 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
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +15 -6 lines
Handle EINVAL in fault path, so mmap() access past EOF gets SIGBUS.

Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:41 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +5 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:49 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +3 -3 lines
Rebase.

Revision 1.126.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:27 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.126.2.1: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.2.1: +4 -4 lines
sync with head.

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

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

Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:53 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +5 -5 lines
sync with head

Revision 1.131: download - view: text, markup, annotated - select for diffs
Fri May 16 06:11:21 2014 UTC (10 years, 6 months ago) by martin
Branches: 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
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 20 20:51:40 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3 lines
kill sprintf

Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Nov 4 16:57:32 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -3 lines
mark variable __diagused

Revision 1.126.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:54 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +10 -31 lines
sync with head

Revision 1.126.6.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:26 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.126.6.1: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.6.1: +3 -24 lines
sync to -current.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:05:59 2012 UTC (12 years, 9 months ago) by rmind
Branches: 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
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -24 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.126.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:30:54 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +9 -9 lines
merge to -current.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Mon Feb 6 02:14:12 2012 UTC (12 years, 10 months ago) by matt
Branches: 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
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +9 -9 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 23 14:18:52 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +7 -80 lines
Catchup with rmind-uvmplock merge.

Revision 1.121.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:23:51 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.121.4.3: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.4.3: +5 -78 lines
sync with head

Revision 1.126: download - view: text, markup, annotated - select for diffs
Tue Jun 7 00:48:30 2011 UTC (13 years, 6 months ago) by matt
Branches: 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
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +7 -80 lines
Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.

Revision 1.124.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:04:43 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +2 -13 lines
Sync with HEAD.

Revision 1.121.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:40:46 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.121.4.2: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.4.2: +0 -11 lines
sync with head

Revision 1.125: download - view: text, markup, annotated - select for diffs
Fri Apr 15 20:52:36 2011 UTC (13 years, 7 months ago) by martin
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -13 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:10 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.121.4.1: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.4.1: +4 -4 lines
sync with head

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:24 2010 UTC (13 years, 11 months ago) by matt
Branches: 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
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:31 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118.4.3: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.4.3: +21 -25 lines
sync with head.

Revision 1.121.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:35 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +21 -25 lines
sync with head

Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:02 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +21 -25 lines
Sync with HEAD.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Apr 23 19:18:09 2010 UTC (14 years, 7 months ago) by rmind
Branches: 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
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +8 -11 lines
Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.
As discussed, a while ago, with ad@.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat Mar 20 23:31:27 2010 UTC (14 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +15 -16 lines
fix copy{in,out}{,str}() to return the error returned by uvm_fault().
fixes PR 41813.

Revision 1.118.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:01:57 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118.4.2: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.4.2: +39 -29 lines
sync with head

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Nov 21 05:35:41 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +39 -29 lines
- 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 - view: text, markup, annotated - select for diffs
Mon May 4 08:10:28 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118.4.1: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.4.1: +24 -3 lines
sync with head.

Revision 1.117.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:47 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.117.6.2: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.6.2: +22 -1 lines
Sync with HEAD.

Revision 1.119.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:39 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +24 -3 lines
Sync with HEAD.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:17 2008 UTC (16 years, 1 month ago) by wrstuden
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-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
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +24 -3 lines
Merge wrstuden-revivesa into HEAD.

Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 22 18:12:01 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.1: +22 -3 lines
Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.

Revision 1.117.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:45 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.117.6.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.6.1: +0 -7 lines
Sync with HEAD.

Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:20 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +2 -9 lines
sync with head.

Revision 1.118.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:44 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -9 lines
sync with head.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:42 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -2 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:10 2008 UTC (16 years, 7 months ago) by martin
Branches: 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
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.117.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:10 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -5 lines
Sync with HEAD.

Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:52 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +6 -5 lines
sync with head.

Revision 1.115.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:52 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.115.6.2: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.6.2: +6 -5 lines
sync with HEAD

Revision 1.97.2.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:13 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.5: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.5: +6 -5 lines
sync with head.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Mar 10 13:43:33 2008 UTC (16 years, 9 months ago) by ad
Branches: 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
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -5 lines
Use MI atomic operations.

Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:19 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +3 -34 lines
Sync with HEAD.

Revision 1.97.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:09 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.4: preferred, colored
Changes since revision 1.97.2.4: +3 -34 lines
sync with head

Revision 1.115.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:34 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.115.6.1: preferred, colored; branchpoint 1.115: preferred, colored
Changes since revision 1.115.6.1: +3 -34 lines
sync with HEAD

Revision 1.116.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:46:53 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +3 -34 lines
Sync with HEAD

Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:21 2008 UTC (16 years, 11 months ago) by ad
Branches: 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
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -34 lines
Merge vmlocking2 to head.

Revision 1.116.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 30 23:13:00 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +3 -34 lines
Locking changes for alpha.

Revision 1.115.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:13:48 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
sync with HEAD

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:52:56 2007 UTC (17 years, 1 month ago) by garbled
Branches: 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
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.113.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:21:58 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.113.10.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.10.1: +3 -3 lines
Sync with HEAD

Revision 1.97.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:19 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.3: preferred, colored
Changes since revision 1.97.2.3: +13 -14 lines
sync with head.

Revision 1.113.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:36:51 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.113.2.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.114.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:46:58 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +3 -3 lines
Sync with HEAD.

Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:04:52 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +3 -3 lines
Sync with HEAD.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jul 19 12:42:46 2007 UTC (17 years, 4 months ago) by tsutsui
Branches: 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
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3 lines
Fix indent in printf message.

Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:57:24 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +4 -5 lines
Sync with head.

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:26:54 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -5 lines
Sync with head.

Revision 1.113.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:28 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -5 lines
Update to HEAD.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:12 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 18 04:16:37 2007 UTC (17 years, 7 months ago) by thorpej
Branches: thorpej-atomic
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +4 -4 lines
Convert to the new atomic op API.

Revision 1.112.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 20 12:07:13 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.112.2.1: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.2.1: +4 -5 lines
adapt alpha.

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:46:05 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +10 -10 lines
Sync with HEAD.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:10 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, reinoud-bufcleanup
Branch point for: vmlocking, thorpej-atomic, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +10 -10 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:35 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.2: preferred, colored
Changes since revision 1.97.2.2: +29 -48 lines
sync with head.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:01 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +29 -48 lines
Merge newlock2 to head.

Revision 1.111.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:49:33 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.111.4.1: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.4.1: +7 -26 lines
Remove support for SA. Ok core@.

Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:22:56 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +28 -28 lines
Checkpoint work in progress.

Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:22 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.1: preferred, colored
Changes since revision 1.97.2.1: +5 -4 lines
sync with head.

Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:36:55 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +11 -11 lines
sync with head

Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:40:59 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.104.2.2: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.2: +5 -4 lines
sync with head

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:04 2006 UTC (18 years, 4 months ago) by ad
Branches: 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
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -4 lines
Use the LWP cached credentials where sane.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Jul 19 21:11:39 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Wed Jun 21 14:48:01 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +20 -16 lines
sync with head.

Revision 1.103.4.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:34:09 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.103.4.1: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.4.1: +9 -8 lines
Sync with head.

Revision 1.105.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:47:49 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +9 -8 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:56:33 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.1: +9 -8 lines
sync with head.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon May 15 09:32:15 2006 UTC (18 years, 7 months ago) by yamt
Branches: 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
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -4 lines
- include kauth.h for kauth_cred_geteuid.
- tweak indent for a long line.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun May 14 21:55:09 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -4 lines
integrate kauth.

Revision 1.104.4.3: download - view: text, markup, annotated - select for diffs
Thu May 11 23:26:18 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.104.4.2: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.4.2: +4 -4 lines
sync with head

Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed May 10 10:26:40 2006 UTC (18 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -4 lines
ANSIfy startlwp

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed May 10 10:04:14 2006 UTC (18 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -2 lines
Add KERNEL_PROC_UNLOCK(l) before userret in startlwp.

Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:11 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -5 lines
Sync with head.

Revision 1.104.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:31:57 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.104.4.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.1: +3 -3 lines
sync with head - hopefully this will work

Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:06 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
sync with head.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Wed Mar 15 18:12:02 2006 UTC (18 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, peter-altq-base
Branch point for: peter-altq
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument

Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:43:05 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4 lines
Adapt to kernel authorization KPI.

I expect *some* lossage here...

Revision 1.102.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:27:45 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.102.2.1: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.1: +3 -5 lines
sync with head.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Feb 22 22:11:44 2006 UTC (18 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 15 10:02:36 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4 lines
sync with head.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Jan 12 00:30:59 2006 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4 lines
PR/32502: Anders Hjalmarsson: profiling (ticks) is broken on alpha

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:10 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
merge ktrace-lwp.

Revision 1.80.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:48:21 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.80.2.4: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.4: +17 -12 lines
Sync with HEAD. Here we go again...

Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Sep 1 02:19:40 2005 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -3 lines
don't include uvm_extern.h twice.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Sep 1 02:18:19 2005 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +0 -1 lines
revert rev.1.99 as it is no longer necessary.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Aug 31 07:07:29 2005 UTC (19 years, 3 months ago) by he
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 29 00:57:12 2005 UTC (19 years, 3 months ago) by tron
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1
Diff to: previous 1.92.2.2: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +10 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 30 17:55:54 2005 UTC (19 years, 4 months ago) by tron
Branches: 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
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +10 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 28 13:57:06 2005 UTC (19 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +10 -4 lines
- 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 - view: text, markup, annotated - select for diffs
Wed Jun 1 16:09:01 2005 UTC (19 years, 6 months ago) by drochner
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +9 -9 lines
avoid a shadow warning, and fix a pseudo-comment

Revision 1.80.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:11:46 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.80.2.3: preferred, colored
Changes since revision 1.80.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.80.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:30:53 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.80.2.2: preferred, colored
Changes since revision 1.80.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:44:27 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.80.2.1: preferred, colored
Changes since revision 1.80.2.1: +5 -10 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Aug 28 17:53:00 2004 UTC (20 years, 3 months ago) by jdolecek
Branches: 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
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -10 lines
use uvm_grow() to update stack segment size on stack page fault instead
of MD code

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:31:06 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +152 -90 lines
Sync with HEAD

Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 17 16:46:13 2004 UTC (20 years, 4 months ago) by he
Branches: 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
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.1: +4 -2 lines
Pull up revision 1.94 (requested by petrov in ticket #672):
  Update uvmexp's traps and syscalls.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Jul 17 12:21:21 2004 UTC (20 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 17 04:56:31 2004 UTC (20 years, 4 months ago) by petrov
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -2 lines
Update uvmexp's traps and syscalls. Reviewed by Jason Thorpe.

Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Sat May 22 15:20:48 2004 UTC (20 years, 6 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 17 17:43:08 2004 UTC (20 years, 6 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 23 18:44:00 2004 UTC (20 years, 8 months ago) by matt
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 14 01:08:47 2004 UTC (20 years, 9 months ago) by cl
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 19 17:06:06 2004 UTC (20 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +22 -21 lines
-on instruction fetch fault from non-executable pages, signal
 SIGSEGV/SEGV_ACCERR
-whitespace cleanup

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Nov 13 03:09:28 2003 UTC (21 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +12 -29 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 29 05:16:26 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +10 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 27 07:07:35 2003 UTC (21 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -5 lines
uninitialized variables

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Oct 8 00:28:41 2003 UTC (21 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +8 -2 lines
* 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 - view: text, markup, annotated - select for diffs
Tue Oct 7 17:04:18 2003 UTC (21 years, 2 months ago) by skd
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +76 -16 lines
Siginfo changes for alpha kernel.  Approved by thorpej@netbsd.org.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Sep 21 15:14:51 2003 UTC (21 years, 2 months ago) by skd
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -15 lines
Backed out single step emulation.
Approved by thorpej@netbsd.org.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Sep 18 22:36:32 2003 UTC (21 years, 2 months ago) by cl
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +13 -6 lines
add MD part of SA/pthread pagefault handling on alpha

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Sep 18 05:26:41 2003 UTC (21 years, 2 months ago) by skd
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +15 -5 lines
Added kernel support for single stepping, adapted from FreeBSD.
Approved by christos.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Aug 24 17:52:29 2003 UTC (21 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +27 -31 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 11:01:00 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:11:19 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +133 -98 lines
Merge the nathanw_sa branch.

Revision 1.77.2.8: download - view: text, markup, annotated - select for diffs
Tue Jan 7 22:12:17 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.77.2.7: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.7: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:19 2002 UTC (21 years, 11 months ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +3 -4 lines
Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.77.2.7: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:21 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.77.2.6: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.6: +2 -3 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.77.2.6: download - view: text, markup, annotated - select for diffs
Tue Jul 9 16:53:16 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.77.2.5: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.5: +3 -2 lines
#include <sys/sa.h> for type definitions.

Revision 1.77.14.1: download - view: text, markup, annotated - select for diffs
Tue Jul 9 05:27:14 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +5 -5 lines
catch up with -current.

Revision 1.77.2.5: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:03:17 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.77.2.4: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.4: +15 -15 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:34:08 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.73.2.1: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.1: +5 -5 lines
catch up with -current on kqueue branch

Revision 1.77.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:37:32 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.77.2.3: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.3: +5 -5 lines
Catch up to -current.

Revision 1.77.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 16:22:34 2002 UTC (22 years, 6 months ago) by tv
Branches: 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
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +5 -5 lines
Pull up revision 1.78 (requested by thorpej in ticket #213):
make auto const variables static.
ok'ed by thorpej.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Jun 8 15:50:59 2002 UTC (22 years, 6 months ago) by yamt
Branches: 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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -5 lines
make auto const variables static.
ok'ed by thorpej.

Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 17 00:46:04 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.2: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 30 23:43:42 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +1211 -0 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 3 04:10:41 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +39 -7 lines
update to -current

Revision 1.77.2.1
Wed Jul 18 22:22:02 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.77: +0 -1174 lines
file trap.c was added on branch nathanw_sa on 2001-08-30 23:43:42 +0000

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Jul 18 22:22:02 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, nathanw_sa, gehenna-devsw
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -4 lines
Print the stack pointer on a user unaligned access fault.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Jul 14 05:48:45 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +9 -6 lines
Oops, only register those event counters if the primary processor.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Jul 14 05:10:38 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +31 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 12 23:35:43 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
bcopy -> memcpy

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Jun 26 17:29:28 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -2 lines
Panic if we get an MM trans/prot fault in interrupt context.

Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 18:12:57 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.66.2.1: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.1: +69 -77 lines
Catch up to -current.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Jun 2 18:09:08 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Apr 26 04:21:35 2001 UTC (23 years, 7 months ago) by ross
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -4 lines
Move fp_complete() outside kernel lock perimeter.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Apr 26 03:10:45 2001 UTC (23 years, 7 months ago) by ross
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +58 -63 lines
o IEEE 754 floating-point completion code.
o Implement the architected FP_C "Floating Point Control Quadword"

Revision 1.49.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:41:29 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.7: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.7: +19 -20 lines
Sync with HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Apr 20 18:00:50 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +14 -6 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 20 00:10:18 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +7 -16 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 9 01:50:20 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +7 -7 lines
Catch up with -current.

Revision 1.49.2.7: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:30:08 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.6: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.6: +5 -5 lines
Sync with HEAD.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:33 2001 UTC (23 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 5 17:33:42 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.5: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.5: +24 -71 lines
Sync with HEAD

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Jan 3 22:15:38 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +26 -73 lines
ANSI'ify, and inline userret().

Revision 1.49.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:16 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.4: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.4: +2 -2 lines
Sync with HEAD (for UBC fixes).

Revision 1.49.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 13 14:49:10 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.3: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.3: +20 -243 lines
Sync with HEAD (for UBC fixes)

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Dec 13 03:16:37 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -176 lines
Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:38:20 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +32 -81 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 8 09:23:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.2: +36 -8 lines
Sync with HEAD.

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:59:43 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +17 -13 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Nov 22 08:39:50 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +37 -9 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 22 03:54:01 2000 UTC (24 years ago) by itojun
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
constify

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:56:38 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +166 -72 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 20 15:33:39 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +17 -13 lines
Print the CPU ID while dumping trap info.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Sep 4 00:31:59 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +94 -43 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 15 22:16:17 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +11 -18 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 30 00:00:26 2000 UTC (24 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -3 lines
no more vm includes

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Jun 29 09:02:56 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:58:18 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +23 -5 lines
Sync w/ netbsd-1-5-base.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jun 6 18:52:30 2000 UTC (24 years, 6 months ago) by soren
Branches: 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
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -2 lines
defopt SYSCALL_DEBUG.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed May 31 05:14:30 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +22 -5 lines
- 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 - view: text, markup, annotated - select for diffs
Sat May 27 00:40:29 2000 UTC (24 years, 6 months ago) by sommerfeld
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri May 26 21:19:23 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed May 24 16:48:33 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +5 -14 lines
Use preempt(), not an open-coded equivalent (which won't be
equivalent for long).

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Mar 1 02:22:03 2000 UTC (24 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +44 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:23 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -4 lines
Pull up to last week's -current.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Dec 4 21:19:57 1999 UTC (25 years ago) by ragge
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
CL* discarding.

Revision 1.42.2.1.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:31:25 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.42.2.1: preferred, colored; next MAIN 1.42.2.2: preferred, colored
Changes since revision 1.42.2.1: +292 -47 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 21 19:20:13 1999 UTC (25 years, 5 months ago) by cgd
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.2: +11 -2 lines
pull up rev(s) 1.45-1.46 from trunk. (cgd)

Revision 1.42.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:46:06 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.42.2.1: preferred, colored; next MAIN 1.42.2.2: preferred, colored
Changes since revision 1.42.2.1: +311 -74 lines
Sync w/ -current.

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Fri Jun 18 18:02:11 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +283 -47 lines
pullup 1.47->1.49 (cgd): BWX instruction emulation and unaligned access

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon May 10 01:27:28 1999 UTC (25 years, 7 months ago) by cgd
Branches: 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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +28 -2 lines
have to take care to have a valid SP value in the unaligned fixup and
opdec (emulation) handlers.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun May 9 19:43:58 1999 UTC (25 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +257 -47 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 30 21:04:57 1999 UTC (25 years, 7 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: kame, chs-ubc2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -3 lines
pullup 1.46->1.47 (cgd)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Apr 30 20:21:57 1999 UTC (25 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3 lines
processes would have vm->vm_ssize screwed up when they faulted
data regions higher than USRSTACK.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Apr 30 05:47:53 1999 UTC (25 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -2 lines
gross hack for SIGFPE under OSF/1, until ross makes SW completion go

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Apr 23 05:43:02 1999 UTC (25 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -2 lines
support emulation-specified errno mapping tables

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Apr 20 21:16:59 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +28 -18 lines
- 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 - view: text, markup, annotated - select for diffs
Mon Apr 19 23:24:14 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -22 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 24 05:50:51 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -28 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 18 04:56:01 1999 UTC (25 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +11 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 23 03:20:03 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 19 02:29:49 1998 UTC (26 years ago) by ross
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
#include <machine/alpha.h>

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Nov 11 06:41:23 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 7 19:09:53 1998 UTC (26 years, 2 months ago) by ross
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
g/c leftover `{' in #if notdef; it confuses ctags(1)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Sep 24 23:28:18 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +28 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 14 16:50:02 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4 lines
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:14 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2 lines
defopt DDB.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jun 26 00:01:33 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2 lines
defopt COMPAT_OSF1

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jun 25 21:19:12 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
defopt KTRACE

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Mar 26 02:21:46 1998 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -57 lines
Remove references to NEW_PMAP.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Feb 24 07:38:02 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +30 -2 lines
Add support for UVM.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 17 02:35:48 1997 UTC (27 years, 1 month ago) by thorpej
Branches: 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
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +7 -4 lines
Sync w/ trunk.  (ross).

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Nov 17 00:52:49 1997 UTC (27 years, 1 month ago) by ross
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 17 18:47:58 1997 UTC (27 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2 lines
Recover from some include file foo.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 00:52:58 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +4 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Sep 2 13:22:53 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -2 lines
Pull in FIX_UNALIGNED_VAX_FP option.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Sep 2 13:18:40 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
Nuke the idea of <machine/options.h>.  It completely defeats the purpose
of fine-grain option dependencies.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 12 05:54:58 1997 UTC (27 years, 4 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.2: +41 -4 lines
sync with -current as of August 11, 1997

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jul 24 23:55:01 1997 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-bp, alpha-nwscons-base
Branch point for: marc-pcmcia
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +41 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 6 00:13:59 1997 UTC (27 years, 6 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +4 -4 lines
sync nwscons with trunk

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jun 3 17:38:50 1997 UTC (27 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 1 04:11:42 1997 UTC (27 years, 6 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +95 -58 lines
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 - view: text, markup, annotated - select for diffs
Thu May 15 18:33:47 1997 UTC (27 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +90 -56 lines
Print some more info on unresolved user traps, mostly for DIAGNOSTIC.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Apr 10 01:03:07 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 7 23:40:08 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 7 00:19:23 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -1 lines
clean up NetBSD RCS ID strings, include machine/options.h

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Nov 27 01:28:30 1996 UTC (28 years ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Branch point for: alpha-nwscons
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +43 -15 lines
when panicing because of a fatal trap, print the trap's type name, as well
as its kernel entry number.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 13 22:20:58 1996 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
update copyright dates

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 13 21:13:14 1996 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +27 -8 lines
compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 13 02:59:48 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +32 -32 lines
backout previous kprintf change

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:50:43 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +32 -32 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 7 22:26:42 1996 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 20 23:05:10 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +54 -2 lines
add a bunch of printfs for NEW_PMAP

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jul 15 08:28:09 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +80 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 14 04:36:21 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
print the label for the opcode in unaligned access printf as "op" not "type"

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jul 14 04:22:12 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +510 -181 lines
(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 - view: text, markup, annotated - select for diffs
Thu Jul 11 20:14:22 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 11 05:31:24 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +20 -20 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 11 03:53:33 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +20 -20 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 9 00:54:15 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -6 lines
clean and update for new defintions, prototypes, etc.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 23 02:34:37 1995 UTC (29 years ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +39 -12 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 28 02:45:21 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
sync with my current Alpha sources

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 22 20:24:45 1995 UTC (29 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +21 -45 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Apr 22 16:59:47 1995 UTC (29 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -12 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 13 23:07:16 1995 UTC (29 years, 10 months ago) by cgd
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>