The NetBSD Project

CVS log for src/sys/arch/arm/arm/syscall.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Oct 5 19:41:03 2023 UTC (17 months, 2 weeks ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +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.67.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +3 -3 lines
Sync with HEAD.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Feb 1 19:31:34 2021 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
G/C some old code that was for acorn26

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:51 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -6 lines
Sync with HEAD

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Apr 6 11:54:20 2019 UTC (5 years, 11 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, is-mlppp-base, is-mlppp, 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-futex
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -18 lines
Centralized shared part of child_return() into MI part

Add a new function md_child_return() for MD specific bits only.

New child_return() is now part of MI and central code that handles
uniformly tracing code (KTR and ptrace(2)).

Synchronize value passed to ktrsysret() among ports to SYS_fork. This is
a traditional value and accessing p_lflag to check for PL_PPWAIT shall
use locking against proc_lock. Returning SYS_fork vs SYS_vfork still isn't
correct enough as there are more entry points to forking code. Instead of
making it too good, just settle with plain SYS_fork for all ports.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Apr 3 08:07:59 2019 UTC (5 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +15 -3 lines
Rework the fork(2)/vfork(2) event signalling under ptrace(2)

Remove the constraint of SIGTRAP event being maskable by a tracee.

Now all SIGTRAP TRAP_CHLD events are delivered to debugger.

This code touches MD specific logic and the child_return routine.
It's an intermediate step with a room for refactoring in future and
right now the least invasive approach. This allows to assert expected
behavior in already existing ATF tests and make the code prettier
in future keeping the same semantics. Probably there is a need for a MI
wrapper of child_return for shared functionality between ports.

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:38 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +22 -9 lines
Sync with HEAD

Revision 1.60.12.1: download - view: text, markup, annotated - select for diffs
Tue Jun 5 08:04:34 2018 UTC (6 years, 9 months ago) by bouyer
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +22 -9 lines
Pull up following revision(s) (requested by martin in ticket #859):
	sys/arch/arm/arm/syscall.c: revision 1.65
PR kern/53261: handle SYS_syscall indirection in MD code - the generic
version would misalign the argument array.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri May 25 15:37:57 2018 UTC (6 years, 9 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-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
Branch point for: phil-wifi
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +22 -9 lines
PR kern/53261: handle SYS_syscall indirection in MD code - the generic
version would misalign the argument array.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Jan 24 09:04:44 2018 UTC (7 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -31 lines
Remove port-acorn26

OK core@

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Jan 18 14:18:23 2018 UTC (7 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -4 lines
Fix test for SMI_IMB{,range} that was broken in 1.46

From Ramakrishna Rao Desetti

Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:51 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.56.2.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.1: +4 -4 lines
update from HEAD

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:29 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +5 -5 lines
Sync with HEAD

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jul 2 16:16:44 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Consistency around the user trapframe for all LWPs and there's no need to
keep assigning it in kernel entry points.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jul 2 16:06:42 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4 lines
Trailing whitespace

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

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Aug 13 21:41:32 2014 UTC (10 years, 7 months ago) by matt
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, nick-nhusb-base, netbsd-8-base, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: nick-nhusb, netbsd-8
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Add __NO_FIQ to prevent testing of the PSR FIQ bit
Use VALID_R15_PSR(pc, spsr) instead of testing explicitly

Revision 1.51.8.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:31 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.51.8.2: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.8.2: +9 -23 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.57.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:56 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +4 -8 lines
sync with head

Revision 1.47.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 15 16:18:36 2014 UTC (11 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +50 -71 lines
Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Jan 29 18:45:21 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -8 lines
Add read_insn and read_thumb_insn inlines to hide the endianness of
instructions and use them as appropriate.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:11 2013 UTC (11 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +9 -9 lines
sync with head

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Aug 18 06:28:18 2013 UTC (11 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +9 -9 lines
Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Jun 26 06:31:53 2013 UTC (11 years, 8 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -13 lines
Use sy_invoke

Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Wed Nov 28 22:40:15 2012 UTC (12 years, 3 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +42 -54 lines
Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.51.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:56 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.51.8.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.8.1: +42 -45 lines
sync with head

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Aug 16 17:35:01 2012 UTC (12 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -10 lines
small rototill.
pcb_flags is dead.  PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT.  This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf.  Again this avoids a lot of pcb
references just to access or set this.  It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Aug 16 17:04:21 2012 UTC (12 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +38 -38 lines
Use tf instead of frame as trapframe pointer.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Aug 1 05:42:56 2012 UTC (12 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -3 lines
Make sure copyargs is 64-bit aligned (for EABI)

Revision 1.51.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:04 2012 UTC (12 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +13 -11 lines
sync with head

Revision 1.51.12.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:27 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.51.12.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.12.1: +2 -11 lines
sync to -current.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:04 2012 UTC (13 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -11 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.51.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:22 2012 UTC (13 years, 1 month ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +13 -2 lines
merge to -current.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Feb 11 23:16:15 2012 UTC (13 years, 1 month ago) by martin
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, jmcneill-usbmp-base2
Branch point for: matt-nb6-plus
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +13 -2 lines
Add a posix_spawn syscall, as discussed on tech-kern.
Based on the summer of code project by Charles Zhang, heavily reworked
later by me - all bugs are likely mine.
Ok: core, releng.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:28 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -3 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:26 2010 UTC (14 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 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.40.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:04 2010 UTC (15 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.2: +7 -6 lines
sync with head

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Nov 21 20:32:17 2009 UTC (15 years, 4 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, 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, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -5 lines
Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:11:59 2009 UTC (15 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -3 lines
Remove uarea swap-out functionality:

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

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

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

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:38 2009 UTC (15 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +63 -245 lines
sync with head.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:15:57 2009 UTC (16 years, 2 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +3 -3 lines
Sync with HEAD.

Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:51 2009 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +61 -243 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Jan 15 23:33:41 2009 UTC (16 years, 2 months ago) by bjh21
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, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
ILL_ILLTRP seems like the right code for a SWI that's not in the range
assigned for syscalls, so use it.

Revision 1.42.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:01 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.42.6.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.6.1: +0 -528 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 23 21:38:39 2008 UTC (16 years, 5 months ago) by matt
Branches: MAIN
CVS tags: 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, 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-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-mips64
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
fix typo (thx nick)

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Oct 23 18:13:52 2008 UTC (16 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +53 -245 lines
Rework syscall.c similar to i386.  Saves 3KB

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Oct 21 12:16:59 2008 UTC (16 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -4 lines
Provide a small inline wrapper for sysent::sy_call() and use it to store
the active syscall description in struct lwp. To be used at some future
point to prevent unloading of modules that provide syscalls, while the
syscalls are in use.

Revision 1.42.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:41 2008 UTC (16 years, 5 months ago) by haad
Branches: haad-dm
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -2 lines
Sync with HEAD.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Oct 17 08:51:43 2008 UTC (16 years, 5 months ago) by cegger
Branches: MAIN
CVS tags: haad-dm-base1
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2 lines
make this compile

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:17 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +10 -2 lines
Merge wrstuden-revivesa into HEAD.

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 20:25:42 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +10 -2 lines
Add a new vp-private flag, SAVP_FLAG_DELIVERING. This flag indicates
that the vp is in the process of delivering a new-thread upcall.
This is a BLOCKED or NEWPROC upcall. Do NOT generate any BLOCKED
upcalls while this is set. Set it at the end of sa_switchcall()
and clear it at syscall entry. Sadly, I have found no other
way to handle this. The old SA interface has no way for
userland to acknowledge that it got the upcall, so use syscall
entry as the indicator that libpthread got it.

This addresses the issue seen on current-users with firefox
dying with a blockedgen != unbockedgen error. The problem is we
deliver a BLOCKED upcall, but between the end of userret()
and when the CPU indicates that it's running in user mode, we take
a page fault. Said page fault blocks, blocking upcall delivery.
The original block, however, was short-lived, and the UNBLOCK
happens shortly. It happens before libpthread actually notices
the BLOCKED upcall. Boom!

Unfortunately a LOCKDEBUG/DIAGNOSTIC kernel still dies before
firefox opens. However this new issue is with uvm code calling
mtsleep when not holding a correct lock; sa_switch() is exploding
at KASSERT(lwp_locked(l, NULL)); before it's done _anything_.

Also, while here, add sa_system_disabled. This is an integer
that we examine when starting SA for a proc. If it's non-zero,
we error out. Once this is hooked into sysctl, you'll be able to
disable SA w/o recompiling.

Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:52 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -19 lines
Sync with HEAD.

Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:33 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +6 -19 lines
sync with head.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:55 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -10 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:13 2008 UTC (16 years, 10 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.41: preferred, colored
Changes since revision 1.41: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Apr 27 18:58:43 2008 UTC (16 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -3 lines
Merge kernel changes in matt-armv6 to HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:51:18 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -11 lines
- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:54 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.2: +5 -5 lines
sync with HEAD

Revision 1.35.18.2: download - view: text, markup, annotated - select for diffs
Thu Feb 28 21:47:40 2008 UTC (17 years ago) by rjs
Branches: hpcarm-cleanup
Diff to: previous 1.35.18.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.18.1: +5 -5 lines
Sync with HEAD.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:22 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +5 -5 lines
Sync with HEAD.

Revision 1.27.2.6: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:27 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27.2.5: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.5: +5 -5 lines
sync with head.

Revision 1.35.22.4: download - view: text, markup, annotated - select for diffs
Sat Feb 9 13:22:41 2008 UTC (17 years, 1 month ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.35.22.3: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.22.3: +5 -5 lines
Sync to HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Feb 6 22:12:39 2008 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, chris-arm-intr-rework-base7, chris-arm-intr-rework-base6, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
Remove the 'args' parameter to 'trace_exit()' it is no longer used.
Instead of passing the (un)real system call code and syscall table pointer,
just pass the number of arguments - which is what ktrace really wants.
Ride forthcoming 4.99.53

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

Revision 1.35.22.3: download - view: text, markup, annotated - select for diffs
Sun Jan 20 16:03:54 2008 UTC (17 years, 2 months ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.35.22.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.22.2: +4 -4 lines
Sync to HEAD.

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:45:10 2008 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +4 -4 lines
sync with HEAD

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:24 2008 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -4 lines
Sync with HEAD

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jan 5 12:53:53 2008 UTC (17 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: matt-armv6-base, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
Don't pass 'curlwp' into trace_enter() and trace_exit().

Revision 1.35.22.2: download - view: text, markup, annotated - select for diffs
Tue Jan 1 15:39:12 2008 UTC (17 years, 2 months ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.35.22.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.22.1: +2 -2 lines
Sync with HEAD.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:30 2007 UTC (17 years, 5 months 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, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base3, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +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.35.12.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:22:35 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -16 lines
Sync with HEAD

Revision 1.35.18.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 17:51:47 2007 UTC (17 years, 5 months ago) by rjs
Branches: hpcarm-cleanup
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -16 lines
Sync with HEAD.

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

Revision 1.35.16.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:18:23 2007 UTC (17 years, 6 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -16 lines
Sync with HEAD.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 28 18:29:05 2007 UTC (17 years, 6 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -3 lines
Add thumb support for syscalls > 255.  If embedded syscall # is 0, take
syscall number from ip register.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:24 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -16 lines
Sync with HEAD.

Revision 1.35.22.1: download - view: text, markup, annotated - select for diffs
Sat Aug 18 13:46:41 2007 UTC (17 years, 7 months ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -16 lines
Sync with HEAD

Revision 1.35.20.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:10 2007 UTC (17 years, 7 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -16 lines
Sync with HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:24 2007 UTC (17 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, chris-arm-intr-rework-base2, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -16 lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:49:18 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +11 -11 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:53 2007 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27.2.2: preferred, colored
Changes since revision 1.27.2.2: +11 -11 lines
sync with head.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Feb 18 07:25:35 2007 UTC (18 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, chris-arm-intr-rework-base, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, jmcneill-pm, hpcarm-cleanup, chris-arm-intr-rework
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +11 -11 lines
Changes for newlock2.

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:32 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27.2.1: preferred, colored
Changes since revision 1.27.2.1: +3 -2 lines
sync with head.

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:37:53 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +7 -19 lines
sync with head

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:41:10 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.2: +3 -2 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jul 19 21:11:40 2006 UTC (18 years, 8 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, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, 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: yamt-idlelwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +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.27.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:49:08 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -21 lines
sync with head.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:17 2006 UTC (18 years, 11 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -19 lines
Sync with head.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:06:52 2006 UTC (19 years ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +544 -0 lines
sync with head.

Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 7 07:21:51 2006 UTC (19 years ago) by thorpej
Branches: elad-kernelauth
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +544 -0 lines
Syscall debug tracing is handled by trace_enter() / trace_exit().  Change
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.

Revision 1.33.2.1
Tue Mar 7 07:21:50 2006 UTC (19 years ago) by thorpej
Branches: elad-kernelauth
FILE REMOVED
Changes since revision 1.33: +0 -544 lines
file syscall.c was added on branch elad-kernelauth on 2006-03-07 07:21:51 +0000

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Mar 7 07:21:50 2006 UTC (19 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: elad-kernelauth
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -3 lines
Syscall debug tracing is handled by trace_enter() / trace_exit().  Change
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Mar 7 03:32:04 2006 UTC (19 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -7 lines
Clean up fallout proc_is_traced_p() change:
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
  trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
  about KTRACE and SYSTRACE, but do no more.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Mar 5 19:08:38 2006 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -15 lines
Add a proc_is_traced_p() macro and use it, instead of copying the same code
in many places. Idea from thorpej.

Revision 1.30.2.1
Sun Mar 5 07:21:38 2006 UTC (19 years ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.30: +0 -560 lines
file syscall.c was added on branch yamt-pdpolicy on 2006-03-13 09:06:52 +0000

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 5 07:21:38 2006 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -3 lines
implement PT_SYSCALL

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:41 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
merge ktrace-lwp.

Revision 1.18.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:09 2005 UTC (19 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.6: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.6: +4 -5 lines
Sync with HEAD. Here we go again...

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jul 10 00:45:52 2005 UTC (19 years, 8 months ago) by christos
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.27: preferred, colored
Changes since revision 1.27: +2 -3 lines
No point in declaring syscall_intern and syscall in a zillion places.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jul 1 18:01:44 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly
Instead of jumping to the default "bad" case, jump to the error handling
switch, so that we can deal with ERESTART/EJUSTRETURN properly.

Revision 1.18.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:50:22 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.5: preferred, colored
Changes since revision 1.18.2.5: +8 -8 lines
Sync with HEAD.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Oct 24 06:58:14 2004 UTC (20 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -8 lines
Fix the argument to KERNEL_PROC_LOCK/KERNEL_PROC_UNLOCK.

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

Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:32:17 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.3: preferred, colored
Changes since revision 1.18.2.3: +3 -3 lines
Sync with HEAD.

Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:17 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.2: preferred, colored
Changes since revision 1.18.2.2: +58 -10 lines
Sync with HEAD.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Aug 21 11:57:36 2004 UTC (20 years, 7 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +58 -10 lines
Handle SWI's from Thumb code.

Note: this may need further work.  For the momement we unconditionally
convert a Thumb SWI insn into an ARM SWI with the operation code
zero-extended to 24 bits.  However, this should really be a property
of the emulation (how do we know that all emulated systems would want
to work this way?), but that would mean pushing all the handling down
into each of the emulators.

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:32:29 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.1: preferred, colored
Changes since revision 1.18.2.1: +57 -8 lines
Sync with HEAD

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 15 04:09:39 2004 UTC (21 years ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
Pullup revs 1.21-1.22 (requested by skrll in ticket #1552)
Fix up some unitialised variables to avoid a possible crash.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Nov 14 19:03:17 2003 UTC (21 years, 4 months ago) by scw
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +25 -2 lines
Check alignment of the fault PC before de-referencing it.
Give the process a Illegal Instruction fault if the PC is misaligned.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Oct 31 03:28:12 2003 UTC (21 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 29 04:38:50 2003 UTC (21 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -5 lines
The uninitialized variable in this case was a bug, which could probably be
used to crash the system.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Oct 26 23:11:15 2003 UTC (21 years, 5 months ago) by chris
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2 lines
Fix up some unitialised variables.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 8 00:28:41 2003 UTC (21 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -6 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.19: download - view: text, markup, annotated - select for diffs
Sun Oct 5 19:44:58 2003 UTC (21 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +32 -6 lines
Add SA_SIGINFO support for ARM (from Chris Gilbert).

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:16 2003 UTC (21 years, 8 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:28:08 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:20:47 2003 UTC (21 years, 8 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Mar 1 04:36:38 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +141 -9 lines
Do the syscall_plain/syscall_fancy dance on ARM.  Shaves a fair number
of cycles off the syscall overhead.

Since all COMPAT_LINUX platforms now support __HAVE_SYSCALL_INTERN,
garbage-collect the LINUX_SYSCALL_FUNCTION stuff.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:28:49 2003 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +27 -23 lines
Merge the nathanw_sa branch.

Revision 1.6.4.9: download - view: text, markup, annotated - select for diffs
Sun Dec 29 19:20:06 2002 UTC (22 years, 2 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.6.4.8: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.8: +3 -3 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Dec 21 16:23:58 2002 UTC (22 years, 3 months ago) by manu
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Pass the system call table to trace_enter() and ktrsys() so that it is
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.

If NULL is given, then the regular systam call table for the process is used.

Revision 1.6.4.8: download - view: text, markup, annotated - select for diffs
Wed Dec 11 05:53:00 2002 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.6.4.7: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.7: +3 -3 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 16 07:40:38 2002 UTC (22 years, 4 months ago) by uebayasi
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Fix compilation errors introduced by recent trace_enter()/ktrsyscall() changes.

Provided by FUKAUMI Naoki <naoki at fukaumi dot org> in kern/19070.

Revision 1.6.4.7: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:35:19 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.6.4.6: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.6: +12 -6 lines
Catch up to -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 5 13:57:11 2002 UTC (22 years, 5 months ago) by bjh21
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge, bjh21-hydra-base, bjh21-hydra
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
Correct some gratuitously-wrong indentation.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 5 13:46:59 2002 UTC (22 years, 5 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -4 lines
Minimal changes to allow a kernel with "options MULTIPROCESSOR" to compile
and boot multi-user on a single-processor machine.  Many of these changes
are wildly inappropriate for actual multi-processor operation, and correcting
this will be my next task.

Revision 1.6.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:32:17 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.6.2.4: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.4: +10 -16 lines
sync kqueue branch with HEAD

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 14 17:45:53 2002 UTC (22 years, 8 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +10 -16 lines
catch up with -current.

Revision 1.6.4.6: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:03:47 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.6.4.5: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.5: +3 -3 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.6.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:34:43 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.6.2.3: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.3: +5 -5 lines
catch up with -current on kqueue branch

Revision 1.6.4.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:38:00 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.6.4.4: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.4: +10 -16 lines
Catch up to -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jun 17 16:32:59 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
CVS tags: kqueue-base, gehenna-devsw-base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -16 lines
MD systrace gluons.

Revision 1.6.4.4: download - view: text, markup, annotated - select for diffs
Thu Apr 11 06:52:39 2002 UTC (22 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.6.4.3: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.3: +23 -19 lines
Make these compile again.

Revision 1.6.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:39:06 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.6.4.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.2: +6 -17 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Mar 24 15:49:39 2002 UTC (23 years ago) by bjh21
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
arm26->acorn26 transition.

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:56:02 2002 UTC (23 years ago) by jdolecek
Branches: kqueue
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.2: +3 -14 lines
Catch up with -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 10 15:47:43 2002 UTC (23 years ago) by bjh21
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
__RCSID -> __KERNEL_RCSID

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 9 19:11:20 2002 UTC (23 years ago) by bjh21
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -14 lines
Move arm700bugcount into stuct cpu_info, and attach it in
identify_master_cpu().

Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:07:19 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.1: +336 -0 lines
Catch up to -current.

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:07:17 2002 UTC (23 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +336 -0 lines
Sync w/ -current.

Revision 1.6.4.1
Sun Jan 20 03:39:51 2002 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.6: +0 -336 lines
file syscall.c was added on branch nathanw_sa on 2002-02-28 04:07:19 +0000

Revision 1.6.2.1
Sun Jan 20 03:39:51 2002 UTC (23 years, 2 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.6: +0 -336 lines
file syscall.c was added on branch kqueue on 2002-02-11 20:07:17 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 20 03:39:51 2002 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: ifpoll-base
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -2 lines
XXX Local prototype for syscall().

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 17 17:26:03 2002 UTC (23 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +20 -21 lines
Separate out syscall() out into three parts:
  swi_handler() does stuff that all SWIs will need, then calls
   curproc->p_emul->e_syscall.
  syscall() handles native NetBSD system calls.
  linux_syscall() handles Linux system calls.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 14 23:14:33 2002 UTC (23 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +13 -4 lines
Crude first cut at ARMLinux binary compatibility.  Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 13 15:04:09 2002 UTC (23 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -7 lines
Use symbolic names for SWI number blocks (from <arm/swi.h>).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 13 14:39:13 2002 UTC (23 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -4 lines
Make this actually compile on acorn32.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jan 12 20:02:13 2002 UTC (23 years, 2 months ago) by bjh21
Branches: MAIN
Combined syscall handler for all ARM ports.  This is basically the arm32
version, made readable and compatible with arm26.  In addition, this adds
support for NetBSD/arm's newly allocated SWI range.

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>