CVS log for src/sys/arch/hppa/hppa/trap.c
Up to [cvs.NetBSD.org] / src / sys / arch / hppa / hppa
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Oct 5 19:41:04 2023 UTC (14 months 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.122: preferred, colored
Changes since revision 1.122: +2 -5
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.122: download - view: text, markup, annotated - select for diffs
Sun Jul 23 10:09:36 2023 UTC (16 months, 1 week ago) by skrll
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +8 -2
lines
PR/57261: hppa should be converted to __HAVE_SYSCALL_INTERN
Provide syscall_intern and use the md_syscall in syscall trap handling.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Sep 2 23:48:10 2022 UTC (2 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: 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.120: preferred, colored
Changes since revision 1.120: +2 -4
lines
Remove unnecessary inclusion of <net/netisr.h>.
Revision 1.111.4.3: download - view: text, markup, annotated - select for diffs
Fri Jun 10 17:34:22 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.111.4.2: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.4.2: +4 -4
lines
Pull up following revision(s) (requested by skrll in ticket #1468):
sys/arch/hppa/hppa/trap.c: revision 1.120
sys/arch/hppa/include/ptrace.h: revision 1.11-1.12 (via patch)
Define a PTRACE_ILLEGAL_ASM
Match up PTRACE_BREAKPOINT_ASM with PTRACE_BREAKPOINT which is the
gdb breakpoint instruction.
Only report the SSBREAKPOINT break instruction as SIGTRAP/TRAP_TRACE. All
other break instructions will be reported as SIGTRAP/TRAP_BRKPT
This fixes a mistake I made back in 2008.
PR/56866: hppa: kernel gets confused between actual breakpoints and
single-step breakpoints
Revision 1.111.4.2: download - view: text, markup, annotated - select for diffs
Fri Jun 10 16:28:16 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.111.4.1: preferred, colored; branchpoint 1.111: preferred, colored
Changes since revision 1.111.4.1: +157 -4
lines
Pull up following revision(s) (requested by skrll in ticket #1466):
sys/arch/hppa/hppa/trap.c: revision 1.119
Handle 'NA' (non-access) traps for the lpa and probe instructions. The
change is inspired by OpenBSD with a bunch of my own, mainly stylistic,
changes.
Thanks to Tom Lane for the analysis.
PR/56118: sporadic app crashes in HPPA -current
Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu Jun 9 16:45:38 2022 UTC (2 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -4
lines
Only report the SSBREAKPOINT break instruction as SIGTRAP/TRAP_TRACE. All
other break instructions will be reported as SIGTRAP/TRAP_BRKPT
This fixes a mistake I made back in 2008.
PR/56866: hppa: kernel gets confused between actual breakpoints and single-step breakpoints
Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Jun 9 16:38:23 2022 UTC (2 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +157 -4
lines
Handle 'NA' (non-access) traps for the lpa and probe instructions. The
change is inspired by OpenBSD with a bunch of my own, mainly stylistic,
changes.
Thanks to Tom Lane for the analysis.
PR/56118: sporadic app crashes in HPPA -current
Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Jun 7 06:06:46 2022 UTC (2 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -5
lines
Whitespace
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat May 28 21:14:56 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3
lines
fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Aug 19 02:19:07 2020 UTC (4 years, 3 months ago) by msaitoh
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-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -3
lines
s/ be be / be /
Revision 1.114.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:23:55 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +3 -3
lines
Sync with bouyer-xenpvh-base2 (HEAD)
Revision 1.107.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 25 10:54:23 2020 UTC (4 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +3 -3
lines
Pull up following revision(s) (requested by skrll in ticket #1542):
sys/arch/hppa/hppa/trap.c: revision 1.115
Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.
Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 25 10:52:56 2020 UTC (4 years, 7 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3
lines
Pull up following revision(s) (requested by skrll in ticket #854):
sys/arch/hppa/hppa/trap.c: revision 1.115
Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Apr 25 08:02:39 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3
lines
Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.
Revision 1.107.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:39 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.107.18.1: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.18.1: +14 -16
lines
Merge changes from current as of 20200406
Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Dec 6 08:40:33 2019 UTC (5 years ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +11 -9
lines
Simplify userret function signature. From ad@
Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Nov 29 18:27:32 2019 UTC (5 years ago) by ad
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +7 -6
lines
PR port-sparc/54718 (sparc install hangs since recent scheduler changes)
- userret() must be called every time we return to user, it's not optional.
- If clearing the AST with interrupts off, you must loop over userret().
Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Nov 21 19:24:00 2019 UTC (5 years ago) by ad
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -9
lines
mi_userret(): take care of calling preempt(), set spc_curpriority directly,
and remove MD code that does the same.
Revision 1.107.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:19 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +30 -39
lines
Sync with HEAD
Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Apr 15 20:45:08 2019 UTC (5 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +14 -14
lines
Trailing whitespace
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Apr 6 11:54:20 2019 UTC (5 years, 8 months ago) by kamil
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -6
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.109: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:25 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +15 -33
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.108: download - view: text, markup, annotated - select for diffs
Wed Apr 3 08:07:59 2019 UTC (5 years, 8 months ago) by kamil
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +14 -2
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.101.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:16 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +24 -3
lines
update from HEAD
Revision 1.106.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:57 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +26 -5
lines
Sync with HEAD
Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Mar 2 11:05:12 2015 UTC (9 years, 9 months ago) by martin
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-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
netbsd-8
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +26 -5
lines
Send SIGBUS when accessing mmap() past end of file (handle EINVAL in fault
path). While there, handle ENOMEM as well.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:04 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -38
lines
Rebase to HEAD as of a few days ago.
Revision 1.96.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:50 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.96.4.2: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.4.2: +5 -38
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.101.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:11 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.101.4.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.4.1: +4 -25
lines
sync with head
Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Mar 6 19:02:58 2014 UTC (10 years, 9 months ago) by skrll
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,
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.105: preferred, colored
Changes since revision 1.105: +3 -3
lines
Move to a flat space register convention. %sr[4-7] are all now the space
number allocated to the process. gcc produces (slightly) better code
with this convention.
Retain backwards compatiblity.
Welcome to 6.99.36
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Feb 13 15:04:18 2014 UTC (10 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -23
lines
Simplify cpu_spawn_return - setregs has done all the work already.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Oct 25 09:46:10 2013 UTC (11 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
Change a few __unused to __diagused/__debugused
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Oct 19 14:02:29 2013 UTC (11 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3
lines
Use __unused on a variable used in a KASSERT
Revision 1.101.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:17 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -15
lines
sync with head
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Jul 13 10:29:37 2013 UTC (11 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -15
lines
Use sy_invoke
Revision 1.96.4.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:43 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.96.4.1: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.4.1: +4 -5
lines
sync with head.
Revision 1.96.8.4: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:40 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96.8.3: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.8.3: +4 -19
lines
sync to latest -current.
Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 23 16:51:51 2012 UTC (12 years, 7 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.1: +2 -3
lines
Pull up following revision(s) (requested by skrll in ticket #196):
sys/arch/hppa/hppa/trap.c: revision 1.101
Pass the trap address in ksi_addr without privilege bits.
Previously GDB would get confused by the trap address given when hitting
the _rtld_debug_state breakpoint.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Apr 23 11:25:03 2012 UTC (12 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -5
lines
Pass the trap address in ksi_addr without privilege bits.
Previously GDB would get confused by the trap address given when hitting
the _rtld_debug_state breakpoint.
Revision 1.96.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:26 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +36 -42
lines
sync with head
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Apr 6 12:21:59 2012 UTC (12 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base4
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -16
lines
unifdef FPEMUL. All our supported systems have an FPU.
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 17 17:33:08 2012 UTC (12 years, 8 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +24 -3
lines
Pull up following revision(s) (requested by skrll in ticket #114):
sys/arch/hppa/hppa/trap.c: revision 1.99
sys/arch/hppa/hppa/vm_machdep.c: revision 1.51
sys/arch/hppa/hppa/vm_machdep.c: revision 1.52
Deal with setting of space registers and protection ids for posix_spawn.
Thanks to martin for the help.
Remove WIP code.
Revision 1.96.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 11 01:52:21 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96.8.2: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.8.2: +22 -1
lines
sync to latest -current
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Mar 7 22:07:13 2012 UTC (12 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: jmcneill-usbmp-base8,
jmcneill-usbmp-base7
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +24 -3
lines
Deal with setting of space registers and protection ids for posix_spawn.
Thanks to martin for the help.
Revision 1.96.8.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:29 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96.8.1: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.8.1: +2 -28
lines
sync to -current.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:08 2012 UTC (12 years, 9 months ago) by rmind
Branches: MAIN
CVS tags: jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -28
lines
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
Revision 1.96.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:14 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +15 -2
lines
merge to -current.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Feb 13 01:07:37 2012 UTC (12 years, 9 months ago) by martin
Branches: MAIN
CVS tags: netbsd-6-base,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +15 -2
lines
Add missing MD code for posix_spawn
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:46 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +5 -5
lines
Sync with HEAD.
Revision 1.78.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:36 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78.2.2: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.2: +21 -9
lines
sync with head
Revision 1.95.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:25 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +5 -5
lines
Sync with HEAD
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Jan 23 09:44:59 2011 UTC (13 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -5
lines
Make some more information (psw/fpu_state) per cpu.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:34 2010 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -5
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.94: download - view: text, markup, annotated - select for diffs
Tue Nov 9 06:41:03 2010 UTC (14 years ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base6
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +6 -3
lines
#if 0 out the trap checks around tf_iioq_{head,tail}. The sti(4) code
can/will trigger them.
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:33 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.1: +22 -12
lines
Sync with HEAD.
Revision 1.54.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:09 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.54.10.3: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.10.3: +113 -107
lines
sync with head.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:18:39 2010 UTC (14 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +11 -2
lines
fix hppa ucas_*():
- "ret" is a kernel-space pointer.
- move the ucas RAS check from the device interrupt path
to the page-fault path.
Revision 1.78.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:19 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78.2.1: preferred, colored
Changes since revision 1.78.2.1: +15 -14
lines
sync with head
Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon May 31 20:19:33 2010 UTC (14 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -3
lines
Fix previous.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon May 31 19:40:21 2010 UTC (14 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +15 -15
lines
Pull change across from OpenBSD:
Make single stepping a system call work. Instead of single stepping
through the syscall gateway page, which doesn't work since that page is
shared between process, this makes us step over that bit by setting a
breakpoint on the instruction where the system call returns.
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:52 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +72 -78
lines
sync with head
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:27 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +106 -110
lines
Sync with HEAD.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Apr 26 15:22:38 2010 UTC (14 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +6 -5
lines
SANITY output tweak.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Apr 26 12:16:21 2010 UTC (14 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -5
lines
KNF
Revision 1.88: 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
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -12
lines
Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.
As discussed, a while ago, with ad@.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Apr 6 07:44:09 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -3
lines
Include SSBREAKPOINT in the PTRACE #ifdef/#endif.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Apr 3 07:46:02 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +7 -8
lines
Add md_astpending to struct mdlwp and use it.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Mar 31 12:56:14 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -10
lines
Make cpl, ipending, and intr_depth per CPU values.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Mar 24 12:56:30 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +6 -4
lines
Correct the list of traps that we need to get the va and space from
ii[os]q.
From OpenBSD.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Mar 22 23:29:11 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4
lines
Wrap long line.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Mar 22 23:27:05 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +13 -19
lines
Whitespace / comment formatting.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Mar 22 23:26:06 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +17 -17
lines
Improve the output from frame_sanity_check.
Revision 1.80: 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.79: preferred, colored
Changes since revision 1.79: +9 -7
lines
fix copy{in,out}{,str}() to return the error returned by uvm_fault().
fixes PR 41813.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Mar 16 16:20:19 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +7 -10
lines
The FP regs are accessed in both physical and virtual modes. Make sure
they're allocated in directly mapped memory to avoid aliasing problems
and unnecessary cache flushing.
Fix various names and references. If we ever directly map the uarea and
pcb we can change things at that point.
Significantly helps my J210 (PA7200).
Mostly from OpenBSD.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Mar 11 21:43:15 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Branch point for: rmind-uvmplock
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +8 -3
lines
Start at the first, not the second, exception register.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Mar 11 21:41:50 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +15 -18
lines
Comment formating.
Revision 1.54.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:26 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.54.10.2: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.10.2: +145 -217
lines
sync with head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Feb 10 20:54:46 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -3
lines
Oops. Whitespace in previous.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Feb 10 20:52:35 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4
lines
Remove a cast by fixing a printf format.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Feb 10 20:51:23 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +9 -11
lines
Reformat a comment.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Feb 10 20:49:58 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -5
lines
Minor tweaks.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Feb 10 17:00:45 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
Use __arraycount
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Jan 17 08:50:04 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +9 -4
lines
Use pmap_extract instead of kvtop.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Jan 16 13:29:47 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -4
lines
Tweak astpending handling.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 16 07:56:16 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +22 -2
lines
Check cpl level has returned to entry value when leaving trap/syscall.
From OpenBSD.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jan 16 07:45:53 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -2
lines
Add a comment.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jan 16 07:37:21 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -13
lines
Rename type_raw to trapnum and use in a couple more places.
Reduces diff to OpenBSD.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Jan 16 07:17:39 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +8 -6
lines
Count traps in uvmexp. Reduces diff to OpenBSD.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Jan 6 07:42:58 2010 UTC (14 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +50 -156
lines
Update 64bit arg handling to use the flags in the syscall table.
Only do trace_enter/trace_exit if we're tracing.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Jan 6 07:38:49 2010 UTC (14 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -3
lines
curlwp is never NULL now. Sprinkle KASSERT just in case.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Nov 27 20:32:10 2009 UTC (15 years ago) by skrll
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2
lines
Fix DEBUG build. Hi rmind.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:09 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -6
lines
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Nov 21 15:36:34 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +14 -15
lines
Use lwp_getpcb() on hppa and ia64, clean from struct user usage.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Nov 3 05:07:26 2009 UTC (15 years, 1 month ago) by snj
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +11 -15
lines
Follow upstream license changes for files with Michael Shalayeff's
copyright. In most cases, this means dropping the 3rd and 4th clauses.
Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:17:48 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +28 -22
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.54.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:14 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.54.10.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.10.1: +58 -24
lines
sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Apr 30 07:01:27 2009 UTC (15 years, 7 months ago) by skrll
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,
jymxensuspend-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -12
lines
Merge nick-hppapmap.
This is a port of the OpenBSD pmap and trap handling code to get us
- Performance boost on some/all machines.
- Well on the way to PA2.0 (in 32bit mode) support. Several
machines probe hardware, but fail sometime after interrupts
are enabled.
Other things changed / fixed on the branch are
- update autoconf to use the OpenBSD code.
- com @ dino is very close to being supported.
- HPPA_REDZONE has been replaced with a working redzone which
is enabled with DIAGNOSTIC.
- UPAGES has been halved in size.
- power(4) from OpenBSD to fix a few bugs.
- updated list of modules from OpenBSD.
- initial ports of uturn(4), astro(4) and elroy(4).
- update some copyrights (remove advertising clause, etc.)
Thanks to mjf for some of the above, testing and listening.
Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:06 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.57.2.3: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.3: +25 -12
lines
Sync with HEAD.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Apr 11 09:49:23 2009 UTC (15 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +25 -12
lines
Fixup two more syscalls with 64-bit args.
Remove reference to script that is supposed to do this automatically - I
don't have it.
Fixes PR/41185.
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 19 18:23:35 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.2: +3 -7
lines
Fixup redzone stuff and enable it if DIAGNOSTIC.
Revision 1.54.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:02 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.1: +30 -2
lines
Sync with HEAD.
Revision 1.55.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:12 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.55.6.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.6.1: +4 -3
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 22 16:54:29 2008 UTC (16 years ago) by mjf
Branches: nick-hppapmap
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +3 -3
lines
Fix a typo I saw when turning on TRAPDEBUG. struct pmap doesn't have
a pmap_space member, it should be pm_space.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 27 08:02:41 2008 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -6
lines
Commit work in progress.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Oct 21 12:16:59 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
CVS tags: nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-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,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
jym-xensuspend
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -3
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.55.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:47 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +30 -3
lines
Sync with HEAD.
Revision 1.56: 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: haad-dm-base1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +30 -3
lines
Merge wrstuden-revivesa into HEAD.
Revision 1.55.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 14 20:25:42 2008 UTC (16 years, 1 month ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.55.2.3: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.3: +9 -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.55.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 30 04:55:55 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.55.2.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.2: +4 -3
lines
Change how we make SA threads not generate upcalls. Instead of clearing
LW_SA, use a private flag, LP_SA_NOBLOCK, that we set when we want
to not generate upcalls. This means we do NOT need to lock (l)
(ourselves) to set it.
Adjust tests that look at LW_SA. Now, we are an upcall-generating
lwp if ((l->l_flag & LW_SA) && (~l->l_pflag & LP_SA_NOBLOCK)).
Introduce code pattern to set & remember this:
f = ~l->l_pflag & LP_SA_NOBLOCK;
l->l_pflag |= LP_SA_NOBLOCK;
...
/* f is now LP_SA_NOBLOCK if it wasn't set in l_pflag before */
l->l_pflag ^= f;
I updated a lot of the trap handlers to do trap handling iff LP_SA_NOBLOCK
is not set. I tried to figure out if the trap handler could be triggered
for user-based faults as opposed to kernel faults to user addresses, and
only look at LP_SA_NOBLOCK for the latter.
Above is a result of discussions with rmind at to reduce lock twiddling.
Also, per same discussions, add locking to sys_sa_preempt(). p_lock is
the lock we want.
Also, per same discussions, remove use of LSSUSPENDED as a thread state.
We needed to use it when we were emulating the 4.X and previous behavior
of hiding cached threads. For the moment, we now have them instead
remain visible to all and have them sleeping on the "lwpcache" wait
channel.
sa_newcachelwp(): sa_putcachelwp() wants savp_mutex held, not p_lock.
Tweak some comments.
Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 22 18:12:02 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.1: +20 -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.54.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:12 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -9
lines
Sync with HEAD.
Revision 1.54.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:07 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +2 -9
lines
sync with head.
Revision 1.54.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:32 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -9
lines
sync with head.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:44 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +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.55: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:23 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.54: preferred, colored
Changes since revision 1.54: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:05 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.46.2.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.2: +155 -15
lines
sync with HEAD
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:36 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +155 -15
lines
Sync with HEAD.
Revision 1.28.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:27 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.7: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.7: +5 -6
lines
sync with head.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Feb 6 22:12:41 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-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,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -6
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.28.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:36:45 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.6: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.6: +154 -13
lines
sync with head
Revision 1.49.8.3: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:14:13 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.49.8.2: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.8.2: +13 -8
lines
Sync with HEAD
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jan 18 10:00:48 2008 UTC (16 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +13 -8
lines
KNF
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Jan 18 09:56:41 2008 UTC (16 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4
lines
Correct a comment.
Revision 1.49.8.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 19:19:08 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.49.8.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.8.1: +137 -1
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jan 10 21:08:40 2008 UTC (16 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +139 -3
lines
Various improvements to the hppa kernel for gdb.
- add the useful space and control registers to struct reg
- update process_{read,write}_regs accordingly
- use MID_HPPA in core dumps.
- dump the fp regs into cores.
- add single stepping support from OpenBSD.
Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:46:23 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.1: +4 -4
lines
sync with HEAD
Revision 1.49.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:50 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jan 5 12:53:55 2008 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
Don't pass 'curlwp' into trace_enter() and trace_exit().
Revision 1.42.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:36:17 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.42.2.4: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.4: +2 -5
lines
Sync with HEAD.
Revision 1.28.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:42:45 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.5: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.5: +2 -5
lines
sync with head.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 15:58:28 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +2 -5
lines
Sync with HEAD
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:17:05 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -7
lines
sync with HEAD
Revision 1.45.8.3: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:25:00 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.45.8.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.8.2: +2 -5
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Nov 5 20:43:02 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs,
bouyer-xeni386
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -5
lines
Don't set l_usrpri / spc_curpriority here. mi_userret() does it.
Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:26:18 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.4: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.4: +3 -4
lines
sync with head.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:54:31 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +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.42.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:37:46 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.42.2.3: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.3: +3 -4
lines
Sync with head.
Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:35:31 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +3 -4
lines
sync with head.
Revision 1.42.10.3: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:23:31 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.42.10.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.10.2: +4 -14
lines
Sync with HEAD
Revision 1.45.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:04 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.45.8.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.8.1: +3 -4
lines
Sync with HEAD.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Oct 2 13:49:45 2007 UTC (17 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking-base,
ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -4
lines
Make want_resched a member of cpu_info.
Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:26:24 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.3: +37 -32
lines
sync with head.
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:18:59 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -12
lines
Sync with HEAD.
Revision 1.38.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:03:30 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.38.2.1: preferred, colored; next MAIN 1.38.2.2: preferred, colored
Changes since revision 1.38.2.1: +22 -16
lines
Sync w/ NetBSD-4-RC_1
Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:38:05 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.2: +3 -12
lines
Sync with HEAD.
Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:18 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -12
lines
Sync with HEAD.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:24 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap,
matt-armv6
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -12
lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:59:35 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +34 -20
lines
Sync with head.
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 6 10:36:41 2007 UTC (17 years, 5 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-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,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +22 -16
lines
Pull up following revision(s) (requested by skrll in ticket #758):
sys/arch/hppa/hppa/trap.c: revision 1.45
Fix up the frame sanity checking to not bitch when taking interrupts in
the sti ROM code.
Fixes PR/34715.
Thanks to David H. Gutteridge.
Revision 1.42.10.2: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:12:30 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.42.10.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.10.1: +27 -20
lines
Sync with HEAD.
Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:55:05 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +27 -20
lines
Sync with head.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:25 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +19 -12
lines
Sync with head.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun May 27 09:41:25 2007 UTC (17 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +27 -20
lines
Fix up the frame sanity checking to not bitch when taking interrupts in
the sti ROM code.
Fixes PR/34715.
Thanks to David H. Gutteridge.
Revision 1.42.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:54 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +19 -12
lines
Update to HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri May 18 13:32:18 2007 UTC (17 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -5
lines
Minor KNF and make some output a bit easier to read.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:19 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -9
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.40.2.5: download - view: text, markup, annotated - select for diffs
Wed May 2 07:18:51 2007 UTC (17 years, 7 months ago) by skrll
Branches: yamt-idlelwp
Diff to: previous 1.40.2.4: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.4: +4 -19
lines
Backout previous - the problem isn't in the syscall code not saving things
correctly. It's in pmap_activate which can overwrite the saved space
registers when switching back to the lwp if it was switched away from at
a critical point, e.g. in the syscall gateway page.
Not sure of a correct fix at the moment.
Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 10 14:25:51 2007 UTC (17 years, 7 months ago) by skrll
Branches: yamt-idlelwp
Diff to: previous 1.40.2.3: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.3: +19 -4
lines
Add the hack from OpenBSD for trap while in the SYSCALLGATE page. Add the
following comment to explain what's going on.
In case we were interrupted from the syscall gate page
treat this as we were not really running user code anymore
The problem is that if we preempt when returning from this
trap the interspace branch setting of IASQ to HPPA_SID_KERNEL
is not picked up by the syscall code. Instead, it will attempt
to return into the syscall gate page with the user space id
causing a (fatal) ITLB trap for the process.
The syscall handler should probably be fixed.
Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 4 17:28:27 2007 UTC (17 years, 8 months ago) by skrll
Branches: yamt-idlelwp
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.2: +14 -8
lines
More cleanup/improvement. Still WIP.
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 23 21:45:18 2007 UTC (17 years, 8 months ago) by skrll
Branches: yamt-idlelwp
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +3 -3
lines
Adapt hp700/hppa to yamt-idlelwp.
XXX Interrupts can fire before curlwp = new in sched_switch_unlock.
XXX This triggers the DEBUG check in sys/arch/hppa/hppa/trap.c:451
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:48:18 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4
lines
Sync with HEAD.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:55 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
ppcoea-renovation,
mjf-ufs-trans
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Mar 3 14:37:54 2007 UTC (17 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Remove hppa_{round,trunc}_page.
Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:06:42 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.2: +7 -25
lines
sync with head.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:04 2007 UTC (17 years, 9 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.39: preferred, colored
Changes since revision 1.39: +7 -25
lines
Merge newlock2 to head.
Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:49:34 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.3: +4 -23
lines
Remove support for SA. Ok core@.
Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 29 14:34:10 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +7 -6
lines
Make hp700 compile.
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:49 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +6 -8
lines
Sync with head.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 4 19:41:46 2007 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-4
Branch point for: wrstuden-fixsa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -8
lines
Pull up following revision(s) (requested by skrll in ticket #323):
sys/uvm/uvm_unix.c: revision 1.37
sys/arch/hppa/hppa/trap.c: revision 1.39
Update uvm_grow to support stacks that grow upwards.
Use on hppa and fix a bug in the hppa trap handler.
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:04 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +13 -10
lines
sync with head.
Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 18 11:42:04 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.1: +6 -8
lines
sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Dec 18 09:39:14 2006 UTC (17 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
newlock2-nbase,
newlock2-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -8
lines
Update uvm_grow to support stacks that grow upwards.
Use on hppa and fix a bug in the hppa trap handler.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:17 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -2
lines
Sync with head.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:04:42 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -2
lines
sync with head
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 9 21:32:29 2006 UTC (18 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -2
lines
Make this compile without KTRACE.
From Sergey Svishchev in a private email.
Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:39:52 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +13 -15
lines
sync with head
Revision 1.30.8.5: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:22:58 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30.8.4: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.8.4: +3 -3
lines
sync with head.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Aug 25 07:21:07 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Fix a spello in a debug message.
Revision 1.30.8.4: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:41:53 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30.8.3: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.8.3: +6 -3
lines
sync with head
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jul 19 21:11:41 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -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.34.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:48:50 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -3
lines
Merge from HEAD.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jul 7 09:38:47 2006 UTC (18 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3
lines
Fix use of user_backtrace. It takes a lwp pointer now.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:52:02 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +10 -15
lines
sync with head.
Revision 1.30.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:34:33 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.30.6.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.6.1: +3 -3
lines
Sync with head.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:47:57 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +3 -3
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.30.8.3: download - view: text, markup, annotated - select for diffs
Wed May 24 10:56:50 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30.8.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.8.2: +3 -3
lines
sync with head.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 12 04:26:40 2006 UTC (18 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
P_PROFIL is held in p_flag of struct proc so test for it there.
Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:31 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +7 -12
lines
Sync with head.
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:32:44 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.1: +1240 -0
lines
sync with head - hopefully this will work
Revision 1.30.8.2: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:18 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30.8.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.8.1: +7 -7
lines
sync with head.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Mar 15 18:12:02 2006 UTC (18 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
peter-altq-base,
elad-kernelauth-base
Branch point for: peter-altq
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -7
lines
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument
Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:06:53 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -7
lines
sync with head.
Revision 1.32.2.1
Tue Mar 7 07:21:50 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
FILE REMOVED
Changes since revision 1.32: +0 -1240
lines
file trap.c was added on branch elad-kernelauth on 2006-04-19 02:32:44 +0000
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Mar 7 07:21:50 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base2
Branch point for: elad-kernelauth
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +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.31: download - view: text, markup, annotated - select for diffs
Tue Mar 7 03:32:05 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -6
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.30: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:07:04 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:37 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
merge ktrace-lwp.
Revision 1.7.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:56:31 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.2.4: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.4: +34 -29
lines
Sync with HEAD. Here we go again...
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jul 3 22:21:10 2005 UTC (19 years, 5 months ago) by he
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
Branch point for: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3
lines
Remove "bad" label no longer in use.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jul 1 18:01:44 2005 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -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.26: download - view: text, markup, annotated - select for diffs
Sat May 7 15:06:51 2005 UTC (19 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +14 -12
lines
add additional args to frame_sanity_check() so we can log which
context it was called from and the trap type (if called from trap()).
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun May 1 19:17:52 2005 UTC (19 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +18 -16
lines
check pcb_onfault for kernel T_DATALIGN traps (for ddb).
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:11 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +4 -4
lines
sync with -current
Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:01 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +4 -4
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:38:37 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.2.3: preferred, colored
Changes since revision 1.7.2.3: +4 -4
lines
Sync with HEAD.
Hi Perry!
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Feb 17 14:19:49 2005 UTC (19 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4
lines
user_backtrace() is used if DEBUG or USERTRACE is defined, but not DIAGNOSTIC.
Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 12 06:00:41 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.2.2: preferred, colored
Changes since revision 1.7.2.2: +3 -3
lines
Correct some ktr* calls to pass a struct lwp *
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:11 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.2.1: preferred, colored
Changes since revision 1.7.2.1: +32 -34
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 7 21:47:05 2004 UTC (20 years, 4 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +32 -34
lines
handle T_CONDITION traps (by sending SIGFPE).
fix T_EXCEPTION code to handle the other FP major opcodes.
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:35:29 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +230 -108
lines
Sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jul 24 19:04:53 2004 UTC (20 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +70 -33
lines
real siginfo support.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jul 24 18:59:06 2004 UTC (20 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +41 -5
lines
FPU fixes and improvements, adapted from openbsd:
- handle exceptions correctly
- emulation of unimplemented instructions (eg. on PA-7300LC)
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jul 18 20:57:34 2004 UTC (20 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -13
lines
use mi_userret().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jun 15 16:29:32 2004 UTC (20 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -19
lines
clear pcb_onfault before calling uvm_fault() and restore it after.
remove some debug code that actually makes debugging harder.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 9 16:06:56 2004 UTC (20 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -5
lines
redo rev. 1.13, handle curlwp being NULL correctly.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun May 16 17:07:29 2004 UTC (20 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
for instruction TLB miss traps, process the fault with VM_PROT_EXECUTE
instead of VM_PROT_READ (to support non-executable mappings).
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Mar 26 14:11:01 2004 UTC (20 years, 8 months ago) by drochner
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.15: preferred, colored
Changes since revision 1.15: +30 -13
lines
To the rest of the kernel, pretend that hppa supports SIGINFO.
There are still only "sigcontext" stackframes passed to the user,
but at least we can clean up the MI sources now.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 14 01:08:47 2004 UTC (20 years, 8 months ago) by cl
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +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.14: download - view: text, markup, annotated - select for diffs
Fri Nov 28 19:02:25 2003 UTC (21 years ago) by chs
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -17
lines
de-__P, remove register, ansify.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 8 12:08:12 2003 UTC (21 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -4
lines
In trap(), curlwp could be NULL so don't refer it implicitly.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 31 03:28:13 2003 UTC (21 years, 1 month ago) by simonb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Oct 21 00:49:34 2003 UTC (21 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
NULL -> 0 for preempt() argument.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 13 21:12:12 2003 UTC (21 years, 1 month ago) by cl
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +15 -4
lines
add MD part of SA/pthread pagefault handling on hppa
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 31 01:26:36 2003 UTC (21 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +103 -65
lines
update for LWPs, and some lite cleanup.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:29:41 2003 UTC (21 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1
lines
__KERNEL_RCSID()
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Apr 1 20:50:12 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Use PAGE_SIZE rather than NBPG.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Dec 21 16:23:58 2002 UTC (21 years, 11 months ago) by manu
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
fvdl_fs64_base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
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.5: download - view: text, markup, annotated - select for diffs
Fri Nov 15 20:06:01 2002 UTC (22 years ago) by manu
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Add a realcode argument to trace_enter and ktrsyscall. realcode is the
original system call number, which can be negative for a Mach trap.
We cannot just replace code by realcode, because ktrsyscall uses it as
an index in the system call table, thus crashing the kernel when the
value is negative.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:35:49 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.2.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +49 -21
lines
sync kqueue branch with HEAD
Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:44:47 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.3.2.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.3: +2 -2
lines
catch up with -current.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 19 15:07:33 2002 UTC (22 years, 3 months ago) by fredette
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
Since trap_kdebug() may be a macro, be sure to cast to void when not
using its result.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 16 08:13:47 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.3.2.2: preferred, colored
Changes since revision 1.3.2.2: +35 -6
lines
catch up with -current.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 14 17:47:15 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +1091 -0
lines
catch up with -current.
Revision 1.3.2.1
Sun Jul 7 22:52:54 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
FILE REMOVED
Changes since revision 1.3: +0 -1120
lines
file trap.c was added on branch gehenna-devsw on 2002-07-14 17:47:15 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 7 22:52:54 2002 UTC (22 years, 5 months ago) by fredette
Branches: MAIN
Branch point for: gehenna-devsw
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +35 -6
lines
Now include the HPPA trap number in a user backtrace, and display
backtraces for more traps.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:37:06 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +1092 -0
lines
catch up with -current on kqueue branch
Revision 1.2.2.1
Mon Jun 17 16:33:05 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.2: +0 -1091
lines
file trap.c was added on branch kqueue on 2002-06-23 17:37:06 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jun 17 16:33:05 2002 UTC (22 years, 5 months ago) by christos
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -15
lines
MD systrace gluons.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 5 01:04:21 2002 UTC (22 years, 6 months ago) by fredette
Branches: MAIN
Added files to support generic HP PA-RISC based machines. hp700-specific
files to follow.
CVSweb <webmaster@jp.NetBSD.org>