CVS log for src/sys/arch/alpha/alpha/locore.s
Up to [cvs.NetBSD.org] / src / sys / arch / alpha / alpha
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 31 17:59:23 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +23 -3
lines
Pull up following revision(s) (requested by riastradh in ticket #264):
sys/arch/alpha/include/asm.h: revision 1.45 (patch)
(also applied to locore.s and multiproc.s)
alpha: Add missing barriers in cpu_switchto.
Details in comments.
(accidently missed in original commit for ticket #264)
Revision 1.122.32.1: download - view: text, markup, annotated - select for diffs
Mon Jul 31 14:26:25 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +23 -3
lines
Pull up following revision(s) (requested by riastradh in ticket #1859):
sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
sys/arch/aarch64/aarch64/locore.S: revision 1.91
sys/arch/mips/include/asm.h: revision 1.74
sys/arch/hppa/include/cpu.h: revision 1.13
sys/arch/arm/arm/armv6_start.S: revision 1.38
(applied also to sys/arch/arm/cortex/a9_mpsubr.S,
sys/arch/arm/cortex/a9_mpsubr.S,
sys/arch/arm/cortex/cortex_init.S)
sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
sys/arch/mips/mips/locore.S: revision 1.229
sys/arch/alpha/include/asm.h: revision 1.45
(applied to sys/arch/alpha/alpha/multiproc.s)
sys/arch/sparc64/sparc64/locore.s: revision 1.432
sys/arch/vax/vax/subr.S: revision 1.42
sys/arch/mips/mips/locore_mips3.S: revision 1.116
sys/arch/ia64/ia64/machdep.c: revision 1.44
sys/arch/arm/arm32/cpuswitch.S: revision 1.106
sys/arch/sparc/sparc/locore.s: revision 1.284
(all via patch)
aarch64: Add missing barriers in cpu_switchto.
Details in comments.
Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.
PR kern/57240
alpha: Add missing barriers in cpu_switchto.
Details in comments.
arm32: Add missing barriers in cpu_switchto.
Details in comments.
hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?
ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)
mips: Add missing barriers in cpu_switchto.
Details in comments.
powerpc: Add missing barriers in cpu_switchto.
Details in comments.
sparc: Add missing barriers in cpu_switchto.
sparc64: Add missing barriers in cpu_switchto.
Details in comments.
vax: Note where cpu_switchto needs barriers.
Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Aug 7 10:12:19 2022 UTC (2 years, 4 months ago) by andvar
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,
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,
HEAD
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +6 -6
lines
fix some typos and grammar in comments.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Wed Jul 20 18:25:10 2022 UTC (2 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +4 -11
lines
Fix a couple of nits with savectx():
- Note that this function is only used by dumpsys().
- Don't safe the PS word; there isn't actually a spot for it in the PCB.
- Don't bother returning anything; savectx() is declared void.
Revision 1.136.6.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:00 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.136.6.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.6.1: +69 -17
lines
Sync with HEAD.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Thu Jul 22 15:48:40 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +13 -10
lines
It's unlikely that a process will be using restartable atomic sequences
on Alpha, and furthermore it's unlikely that any given context switch
will be returning to one even if the process has them. So, re-arrange
the RAS processing in cpu_switchto() so that the most likely code paths
are predicted by the branch predictor. On an EV4-class processor, this
will save ~4-6 cycles on just about every context switch.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Jul 11 01:55:51 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +11 -2
lines
Pull in pmap_subr.s (missed in prior commit).
Revision 1.139: download - view: text, markup, annotated - select for diffs
Wed Jul 7 03:30:35 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +41 -2
lines
Provide a BWX version of alpha_copystr() and patch it into place if
the system supports the BWX extension. The inner loop of the BWX
version is 42% shorter than the non-BWX version (7 vs 12 insns).
Revision 1.138: download - view: text, markup, annotated - select for diffs
Wed Jul 7 02:44:04 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +10 -9
lines
Re-arrange alpha_copystr() so that the the error/unlikely cases are forward
branches (which will be predicted as not-taken), and that the likely cases
are fall-through, with the exception of the loop branch (which is a backward
branch, and thus will be predicted as taken).
Revision 1.136.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:16 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +8 -6
lines
Sync w/ HEAD.
Revision 1.136.8.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:09 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136: +8 -6
lines
sync with head
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun May 23 01:00:53 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +8 -6
lines
Fix an error introduced in rev 1.130 where the previous pcb_onfault
handler was not restored properly in the kcopyerr case. Also add a
comment explaining why it's save for these routines to be wrappers
around memcpy().
Fixes port-alpha/56197.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Sat Sep 19 01:32:16 2020 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf,
cjep_staticlib_x
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +26 -7
lines
- The Alpha fast-soft-intrs implementation supports 2 soft interrupt levels,
so in exception_return() ensure we clear ineligible-at-new-IPL softint
bits from the SSIR, otherwise we could loop forever in the following
scenario:
processing softnet -> clock interrupt -> schedule softclock
- If the softint thread blocks, it's possible to bounce back through
the softint return trampoline at something other than IPL_HIGH. This
is not a problem other than it's contrary to what alpha_softint_dispatch()
expect, so make alpha_softint_return() go to IPL_HIGH before it does
anything else.
These two fixes make fast-soft-interrupts work on Alpha.
Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Sep 18 00:11:31 2020 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +25 -14
lines
- Give lwp0 the same kernel thread backstop as all of the others get
in cpu_lwp_fork().
- Add a bunch of comments to lwp_trampoline() to explain what's going on.
- In alpha_softint_switchto() tweak how we save the RA in the stack frame.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Sep 17 00:48:56 2020 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -12
lines
Reduce the __HAVE_FAST_SOFTINTS #ifdef perimeter.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Sep 16 04:07:32 2020 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +169 -24
lines
Implement fast soft interrupts for Alpha. It's not yet enabled, because
there is a bug lurking that causes problems when user space starts up,
so we'll stick with the slow path for now.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Sep 5 18:01:42 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +12 -12
lines
Track the SSIR per-cpu, rather than globally.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:29:07 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3
lines
- Document all of the various interrupt levels in the Processor Stataus
register, and provide symbolic names for them as well.
- Use ALPHA_PSL_IPL_* values directly for IPL_*.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Sep 4 04:09:52 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +18 -48
lines
Save a few instructions every time we manipulate pcb::pcb_onfault.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Sep 4 02:54:56 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +18 -24
lines
- Make the GET_CURLWP actually return curlwp, not &curlwp.
- exception_return(): Use GET_CURLWP directly, rather than a dance
acount GET_CPUINFO.
- Introduce SET_CURLWP(), to set the curlwp value.
- Garbage-collect GET_FPCURLWP.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Thu Sep 3 15:38:17 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +6 -14
lines
Garbage-collect the SWITCH_CONTEXT macro, since it now expands to
just "call_pal PAL_OSF1_swpctx".
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Sep 3 04:18:30 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -6
lines
The only remaining consumer of curpcb was the PROM mapping code, for if
PROM console routines are being used (only on KN8AE). We have access to
the sam information via curlwp, so use that, and eliminate the need to set
cpu_info::ci_curpcb when context switching, which saves an extra all into
PALcode.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Sep 3 02:09:09 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +7 -2
lines
Clean up all of the _PMAP_MAY_USE_PROM_CONSOLE crapola, centralizing the
logic in prom.c, and rename it _PROM_MAY_USE_PROM_CONSOLE in a few places
it's still needed.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Jun 30 16:20:00 2020 UTC (4 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -10
lines
Make copystr() a MI C function, part of libkern and shared on all
architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid
symbol collision. This is because on these two arches, I am not sure
whether the ASM callers do not rely on fixed registers, so I prefer to
keep the ASM body for now.
- On Vax, only the symbol is removed, because the body is used from other
functions.
- On RISC-V, this change fixes a bug: copystr() was just a wrapper around
strlcpy(), but strlcpy() makes the operation less safe (strlen on the
source beyond its size).
- The kASan, kCSan and kMSan wrappers are removed, because now that
copystr() is in C, the compiler transformations are applied to it,
without the need for manual wrappers.
Could test on amd64 only, but should be fine.
Revision 1.122.40.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:25 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.122.40.1: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.40.1: +2 -5
lines
Merge changes from current as of 20200406
Revision 1.123.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:22 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +2 -5
lines
Sync with head.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed Jan 8 20:59:18 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -5
lines
oldlwp is always non-NULL in cpu_switchto so remove the test for NULL.
Revision 1.122.40.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:45 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +167 -336
lines
Sync with HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:24 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base
Branch point for: netbsd-9,
ad-namecache
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +167 -336
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.121.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:53 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +2 -12
lines
sync with head
Revision 1.121.6.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:25 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +2 -12
lines
sync to -current.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:05:58 2012 UTC (12 years, 9 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-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,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base10,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: phil-wifi,
netbsd-8
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -12
lines
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
Revision 1.120.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:18:51 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +5 -7
lines
Catchup with rmind-uvmplock merge.
Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:23:51 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.1: +3 -5
lines
sync with head
Revision 1.121: download - view: text, markup, annotated - select for diffs
Tue Jun 7 00:48:30 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +5 -7
lines
Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:09 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +100 -2
lines
sync with head
Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:43:50 2010 UTC (14 years, 4 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.118.2.1: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.1: +98 -0
lines
Sync with HEAD.
Revision 1.112.20.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:31 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.112.20.3: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.20.3: +100 -2
lines
sync with head.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:17:49 2010 UTC (14 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +100 -2
lines
implement ucas_* for alpha.
Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:02 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
Sync with HEAD.
Revision 1.113.16.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:33:53 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.113.16.1: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.16.1: +2 -2
lines
sync to netbsd-5
Revision 1.112.20.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:01:57 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.112.20.2: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.20.2: +116 -118
lines
sync with head
Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Feb 25 07:14:48 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
s/cpu_fork/cpu_lwp_fork/ in comment.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Dec 10 05:10:00 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +38 -38
lines
Rename L_ADDR to L_PCB and amend some comments accordingly.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:04 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +65 -65
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.116: download - view: text, markup, annotated - select for diffs
Thu Nov 5 04:19:47 2009 UTC (15 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -6
lines
Fix error in previous that could cause us to refer to the wrong cpu_info
after handling an AST.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Nov 3 16:08:00 2009 UTC (15 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +17 -18
lines
Restructure exception_return() a bit in preparation for some upcoming
changes.
Revision 1.112.20.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:19:58 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.112.20.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.20.1: +12 -2
lines
sync with head
Revision 1.113.16.1: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:40:04 2009 UTC (15 years, 6 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +12 -2
lines
Pull up following revision(s) (requested by martin in ticket #798):
sys/arch/alpha/alpha/locore.s: revision 1.114
sys/arch/alpha/alpha/vm_machdep.c: revision 1.100
sys/arch/alpha/include/alpha.h: revision 1.24
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.
Revision 1.113.10.1: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:38:38 2009 UTC (15 years, 6 months ago) by snj
Branches: netbsd-5
CVS tags: 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +12 -2
lines
Pull up following revision(s) (requested by martin in ticket #798):
sys/arch/alpha/alpha/locore.s: revision 1.114
sys/arch/alpha/alpha/vm_machdep.c: revision 1.100
sys/arch/alpha/include/alpha.h: revision 1.24
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:58:16 2009 UTC (15 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +12 -2
lines
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.
Revision 1.112.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:45 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +2 -9
lines
Sync with HEAD.
Revision 1.112.18.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:20 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +2 -9
lines
sync with head.
Revision 1.112.20.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:44 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -9
lines
sync with head.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:10 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
matt-mips64-base2,
jym-xensuspend,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: netbsd-5-0,
netbsd-5
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.111.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:13:43 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +2 -2
lines
sync with HEAD
Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:52:55 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
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,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
mjf-devfs,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +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.107.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:16 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.1: +33 -256
lines
sync with head.
Revision 1.110.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:57:21 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +33 -258
lines
Sync with head.
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:26:52 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +33 -258
lines
Sync with head.
Revision 1.110.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:27 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +33 -258
lines
Update to HEAD.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:12 2007 UTC (17 years, 7 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
ppcoea-renovation-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
jmcneill-pm,
hpcarm-cleanup,
bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +33 -258
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.109.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 20 13:41:48 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.109.2.3: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.2.3: +2 -2
lines
update some comments.
XXX now pmap_activate is never called with sched_mutex held.
XXX what to do for PMAP_NO_LAZY_LEV1MAP?
Revision 1.109.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 20 13:20:08 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.109.2.2: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.2: +1 -1
lines
cpu_switchto:
- update curlwp.
- don't bother to clear ci_want_resched.
Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 20 12:07:11 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.109.2.1: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.1: +31 -256
lines
adapt alpha.
Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:45:50 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +5 -3
lines
Sync with HEAD.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Mar 3 02:20:44 2007 UTC (17 years, 9 months ago) by tsutsui
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.109: preferred, colored
Changes since revision 1.109: +5 -3
lines
Apply fix for boolean_t -> bool changes on uvm.page_idle_zero access.
Thanks Tobias Nygren for help, ok'ed by thorpej, and tested on
1000A by Aaron J. Grier and on PC164 and 3000/300 by me.
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:33 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +11 -63
lines
sync with head.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:01 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +11 -63
lines
Merge newlock2 to head.
Revision 1.108.20.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 11:45:26 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.108.20.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.20.1: +2 -10
lines
For now always call sched_unlock_idle/sched_lock_idle. They will be
removed by yamt's cpu_switchto() changes.
Revision 1.108.20.1: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:22:56 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +16 -60
lines
Checkpoint work in progress.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:10 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2
lines
merge ktrace-lwp.
Revision 1.103.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:48:21 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.103.2.3: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.2.3: +2 -17
lines
Sync with HEAD. Here we go again...
Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue May 31 00:45:02 2005 UTC (19 years, 6 months ago) by chs
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.106: preferred, colored
Changes since revision 1.106: +2 -17
lines
remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.
Revision 1.103.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:11:46 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.103.2.2: preferred, colored
Changes since revision 1.103.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.103.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:30:53 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.103.2.1: preferred, colored
Changes since revision 1.103.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:31:04 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +15 -17
lines
Sync with HEAD
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Jul 17 12:21:20 2004 UTC (20 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +9 -9
lines
as i386 does, propagete errors from uvm_fault() to users of pcb_onfault
via v0 so that eg. read(2) can return more appropriate errors
rather than always EFAULT.
ok'ed by Jason Thorpe.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Nov 4 10:33:16 2003 UTC (21 years, 1 month ago) by dsl
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.104: preferred, colored
Changes since revision 1.104: +4 -4
lines
Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)
Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Oct 7 17:04:18 2003 UTC (21 years, 2 months ago) by skd
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +6 -8
lines
Siginfo changes for alpha kernel. Approved by thorpej@netbsd.org.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:11:18 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +160 -126
lines
Merge the nathanw_sa branch.
Revision 1.97.2.13: download - view: text, markup, annotated - select for diffs
Fri Jan 3 22:27:51 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.97.2.12: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.12: +5 -44
lines
Merge switch_exit() and switch_lwp_exit().
Revision 1.97.2.12: download - view: text, markup, annotated - select for diffs
Tue Dec 31 01:03:46 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.97.2.11: preferred, colored
Changes since revision 1.97.2.11: +5 -37
lines
Rename cpu_preempt() to cpu_switchto(), and make the caller remove the
new process from its run queue before calling cpu_switchto().
While here, make a few cpu_switch() and cpu_switchto() implementations
get the outgoing LWP from the args, rather than looking at the curlwp
variable.
Revision 1.97.2.11: download - view: text, markup, annotated - select for diffs
Wed Oct 23 16:42:53 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.97.2.10: preferred, colored
Changes since revision 1.97.2.10: +23 -117
lines
* Fix a bug in the last branch sync: when loading the proc * to check
for RAS, use ldq, not ldl. While here, save an instruction by loading
directly into a0, rather than into s3 and moving to a0 later.
* Reuse the guts of cpu_switch() for cpu_preempt().
Revision 1.97.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:34:02 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.9: preferred, colored
Changes since revision 1.97.2.9: +33 -17
lines
Catch up to -current.
Revision 1.96.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:30:50 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.96.2.4: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.2.4: +31 -16
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Sep 18 02:35:08 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +31 -16
lines
Add support for restartable atomic sequences. Rearragne the tail
of cpu_switch() slightly so we can reenable interrupts a little
earlier.
Revision 1.96.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:31:21 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.96.2.3: preferred, colored
Changes since revision 1.96.2.3: +7 -17
lines
sync kqueue branch with HEAD
Revision 1.97.2.9: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:40:59 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.8: preferred, colored
Changes since revision 1.97.2.8: +7 -17
lines
Catch up to -current.
Revision 1.97.2.8: download - view: text, markup, annotated - select for diffs
Fri Jul 19 22:20:36 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.7: preferred, colored
Changes since revision 1.97.2.7: +3 -20
lines
Don't need upcall trampolines.
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 16 00:27:29 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +7 -17
lines
catch up with -current.
Revision 1.97.2.7: download - view: text, markup, annotated - select for diffs
Tue Jul 9 16:52:32 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.6: preferred, colored
Changes since revision 1.97.2.6: +70 -70
lines
s/curproc/curlwp/g
Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Jul 1 03:10:01 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +7 -17
lines
When delivering a signal, arrange for the signal handler to be invoked
directly, using the trampoline only for the return path.
Revision 1.96.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:34:07 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.96.2.2: preferred, colored
Changes since revision 1.96.2.2: +15 -12
lines
catch up with -current on kqueue branch
Revision 1.97.2.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:37:30 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.5: preferred, colored
Changes since revision 1.97.2.5: +15 -12
lines
Catch up to -current.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon May 13 21:38:09 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -4
lines
Make sigcode and proc_trampoline no-profile.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Tue Apr 30 16:05:13 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +13 -10
lines
Move call to sched_unlock_idle to later in the context switch to
eliminate a race where another processor could grab the outgoing
process before we were done saving our state into it, with predictable
results.
Bug spotted on i386 by Frank van der Linden <fvdl@wasabisystems.com>.
Revision 1.98.8.2: download - view: text, markup, annotated - select for diffs
Sun Mar 17 23:07:43 2002 UTC (22 years, 9 months ago) by thorpej
Branches: newlock
Diff to: previous 1.98.8.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.8.1: +11 -2
lines
Allocate proc0 in machine-dependent code (can't specify align(16) in
C code on x86).
Revision 1.98.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 10 21:41:32 2002 UTC (22 years, 9 months ago) by thorpej
Branches: newlock
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +9 -2
lines
Alpha support routines for kernel mutexes.
Revision 1.97.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 29 16:22:44 2001 UTC (23 years ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.97.2.4: preferred, colored
Changes since revision 1.97.2.4: +4 -24
lines
l_stat is an int now instead of a u_char. Pointed out by pk in
a commit message.
Revision 1.97.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 17 00:53:13 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.3: preferred, colored
Changes since revision 1.97.2.3: +3 -4
lines
Adapt to new upcall signature and possible argument copying.
Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:34:53 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.2: preferred, colored
Changes since revision 1.97.2.2: +3 -3
lines
Catch up to -current.
Revision 1.96.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:12:52 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.96.2.1: preferred, colored
Changes since revision 1.96.2.1: +3 -3
lines
Update the kqueue branch to HEAD.
Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 30 23:43:40 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.97.2.1: preferred, colored
Changes since revision 1.97.2.1: +1931 -0
lines
First cut at LWP and SA support on the alpha.
Doesn't break in ordinary multiuser mode; LWPs and SAs not yet tested.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Aug 29 20:17:08 2001 UTC (23 years, 3 months ago) by nathanw
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3
lines
Correct a comment: The address of the signal handler is passed to the
sigcode trampoline in pv (t12), not a3, and has been since the
beginning of time.
Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:10:39 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +17 -236
lines
update to -current
Revision 1.97.2.1
Fri Jul 13 00:06:06 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.97: +0 -1695
lines
file locore.s was added on branch nathanw_sa on 2001-08-30 23:43:40 +0000
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Jul 13 00:06:06 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +17 -236
lines
Use memcpy() in kcopy(), copyin(), and copyout(). XXX This means we have
to burn 3 insns to swap the arguments. Need to change the interface to
these routines to match memcpy().
G/C bcopy() from here. We'll let it be provided by libkern (which is
what provides memcpy()) until bcopy() is exorcised completely.
Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 18:12:55 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +116 -89
lines
Catch up to -current.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed May 30 15:24:27 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -2
lines
add missing #include "opt_kgdb.h"
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Apr 29 06:54:04 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +10 -4
lines
Add glue for page zero'ing in the idle loop.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Apr 26 03:10:44 2001 UTC (23 years, 7 months ago) by ross
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +56 -3
lines
o IEEE 754 floating-point completion code.
o Implement the architected FP_C "Floating Point Control Quadword"
Revision 1.65.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:41:27 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.7: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.7: +10 -10
lines
Sync with HEAD.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Apr 21 22:03:21 2001 UTC (23 years, 7 months ago) by ross
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +8 -8
lines
Import and use cpu_info_primary for non-MULTIPROCESSOR.
Hey, it compiles, and it's only -current.
Revision 1.65.2.7: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:53:02 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.6: preferred, colored
Changes since revision 1.65.2.6: +46 -79
lines
Sync with HEAD
Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Apr 19 17:48:46 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -4
lines
Glue in KGDB. Needs some more work -- KGDB currently renders
DDB disabled, but it's a start.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Apr 18 00:38:10 2001 UTC (23 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +45 -74
lines
Fix a problem with kcopy()/copyin()/copyout() on MP systems
that became apparent when UBC was added: store a pointer to
the process itself, not a pointer to ci->ci_curproc.
This gets us back to where we were before UBC went in: MP
kernels get to single-user mode, and can run processes on
both CPUs, but things go south when we try to come into
multi-user mode.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Apr 15 23:07:34 2001 UTC (23 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
Clean up soft interrupt related stuff a bit.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Apr 10 10:09:45 2001 UTC (23 years, 8 months ago) by ross
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -6
lines
g/c transfer_check
Revision 1.65.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:08:33 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.5: preferred, colored
Changes since revision 1.65.2.5: +6 -7
lines
Sync with HEAD.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Jan 19 18:51:17 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -7
lines
Make ASTs per-process.
Revision 1.65.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:15 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.4: preferred, colored
Changes since revision 1.65.2.4: +2 -2
lines
Sync with HEAD (for UBC fixes).
Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 13 14:48:55 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.3: preferred, colored
Changes since revision 1.65.2.3: +11 -6
lines
Sync with HEAD (for UBC fixes)
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Dec 13 03:16:37 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +8 -5
lines
Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:38:20 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -3
lines
Start cleanup of syscall(), similar to i386 and arm32. getpid() rate on my
AS200 goes from ~279000/s to ~446000/s.
Revision 1.65.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:23:23 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.2: preferred, colored
Changes since revision 1.65.2.2: +0 -37
lines
Sync with HEAD.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Nov 27 22:29:26 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -39
lines
split linux signal code off locore.s
Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:59:40 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65.2.1: preferred, colored
Changes since revision 1.65.2.1: +20 -21
lines
Sync with HEAD.
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:56:34 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +199 -221
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Nov 20 03:15:15 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -16
lines
Delete a block of code that was intended to get the second
CPU to handle interrupts, but prevents a whole slew of things
from working properly on the second CPU. It is no longer
necessary now that several other bugs have been fixed.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Nov 20 02:44:45 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +16 -8
lines
In Idle(), only switch to the idle PCB if we're not already running
on it, and make sure to deactivate the old process's address space,
as this will not otherwise be done by cpu_switch() later once we're
on the idle PCB.
Also, update some comments related to when s0 (i.e. the old process)
is NULL in the context switching code.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Nov 19 20:11:12 2000 UTC (24 years ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -3
lines
Correct conditionalization of last change.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Nov 19 20:08:36 2000 UTC (24 years ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -2
lines
MULTIPROCESSOR: context switch to cpu's idle pcb before unlocking the
scheduler in idle so our stack doesn't get stolen out from underneath us.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Sep 4 00:31:59 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +13 -57
lines
Define the biglock perimeter for the Alpha port, and generally clean
up a bunch of the MP code. Still doens't work properly yet, this is
just a snapshot of work-in-progress.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Aug 20 21:50:06 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +22 -10
lines
Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.
Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Jul 19 14:00:24 2000 UTC (24 years, 5 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
In cpu_switch(), load value *after* checking that the base register
is not NULL.
Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:58:16 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +95 -87
lines
Sync w/ netbsd-1-5-base.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Jun 5 21:47:13 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -19
lines
Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Jun 3 20:47:37 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
- Clean up clock interrupt code a bit, and provide a CPU_IS_PRIMARY()
macro in the MULTIPROCESSOR case (hardclock() wants it).
- Implement __GENERIC_SOFT_INTERRUPTS, and redefine the legacy
software interrupts in terms of it. Garbage-collect setsoftserial().
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed May 31 05:14:28 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +91 -69
lines
- In the MULTIPROCESSOR case, initialize p_cpu before a process is
marked SONPROC.
- Always make curproc, fpcurproc, astpending, and want_resched per-CPU
variables in struct cpu_info. Restructure code accordingly, and trim
a few instructions from a few spots in various places in locore.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri May 26 21:19:22 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +8 -8
lines
First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:
- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.
- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).
- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.
- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.
Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri May 26 00:36:42 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +16 -3
lines
Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor. Test against SONPROC as appropriate rather than
combinations of SRUN and curproc. Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:21 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +64 -75
lines
Pull up to last week's -current.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Dec 16 20:20:11 1999 UTC (25 years ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -4
lines
Garbage-collect.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Dec 16 20:17:22 1999 UTC (25 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +19 -31
lines
- Remove a misguided attempt to use procs as idle contexts for secondary
processors. Instead, allocate separate idle PCBs for them (including
the primary -- don't use proc0's for its idle context).
- Use SysValue to store the cpu_info for each processor.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Dec 3 01:13:17 1999 UTC (25 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -11
lines
Remove now-obsolete atomic operations.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Dec 2 19:41:39 1999 UTC (25 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -11
lines
Inline the BWX instructions.
Revision 1.65.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 14 23:39:04 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +47 -26
lines
Sync with -current.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Nov 7 17:01:20 1999 UTC (25 years, 1 month ago) by chs
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -4
lines
in copystr(), be sure to return an error if maxlen == 0.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Nov 1 22:41:55 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +44 -31
lines
From Ross Harvey:
- Fix a bug where IPL wasn't being lowered to process SIRs, which
effectively caused them to be processed at splserial(), and loop
over the ssir, like we do for astpending.
- Optimize the flow of exception_return().
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Nov 1 19:59:58 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +21 -15
lines
Fix a race condition in AST processing described by Andrew Gallatin on
the freebsd-alpha mailing list which basically boiled down to increasing
stack depth due to lowering the IPL before checking for an AST.
This changes AST processing to do basically what the i386 port does (as
described by Charles Hannum):
check_ast:
if (astpending) {
lower IPL
process AST
raise IPL
goto check_ast
}
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Sep 17 19:59:35 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -6
lines
Centralize the declaration and clearing of `cold'.
Revision 1.60.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:32:41 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.60.4.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.4.1: +65 -7
lines
Update from trunk.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jul 11 22:35:28 1999 UTC (25 years, 5 months ago) by ross
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +65 -7
lines
* Set up a trapframe before calling console_restart(), and just pass it the
frame instead of a selection from the saved state.
* new macros: bfalse reg, dst /* "beq" */
btrue reg, dst /* "bne" */
Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:46:04 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +64 -68
lines
Sync w/ -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon May 31 20:40:23 1999 UTC (25 years, 6 months ago) by ross
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +48 -57
lines
Convert to traceback-friendly temporary labels.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Apr 20 21:11:59 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +17 -33
lines
- Revert previous change to XentIF(), now that we're going to enter the
debugger differently.
- Pull in debugger glue if DDB is configured.
And one unrelated change, while I was here: Don't create a fake trapframe
for main(); it hasn't been used by main() for quite some time, and panic
if main() returns, because that's not supposed to happen now.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Apr 19 23:24:14 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +23 -2
lines
Dispatch to the debugger from the Intruction Fault trap vector directly,
rather than doing it from trap(). This so we can switch to a temporary
stack for the debugger (in a forthcoming commit).
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:50:50 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -5
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Mar 22 09:17:11 1999 UTC (25 years, 8 months ago) by ross
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -4
lines
Enable fuword(9), fuiword(9).
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Mar 12 23:03:31 1999 UTC (25 years, 9 months ago) by perry
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -7
lines
remove ovbcopy references
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Feb 23 03:20:02 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +213 -78
lines
Now that we have the kthread mechanism, massively clean up the way
additional processors are spun up on multiprocessor Alpha systems.
Now, each processor gets its own idle thread (the primary processor
uses proc0). This idle thread is used in switch_exit(), rather than
explicitly referencing proc0.
Also, make `curproc', `fpcurproc', and `curpcb' per-cpu values. This
required some data structure rearrangement; cpu info is now statically
allocated in the BSS, rather than via malloc(), and cpu_softc is gone.
(Modeled somewhat after NetBSD/sparc's multiprocessor info structures.)
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Nov 26 20:26:52 1998 UTC (26 years ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +7 -2
lines
Oops, restore pcb_onfault if a fault occures in kcopy(). Pointed out by
Charles Hannum.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Nov 19 02:27:29 1998 UTC (26 years, 1 month ago) by ross
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +14 -8
lines
Nuke the final holdout of INTRNAMES_DEFINITION.
Do a nice gas.new .rept/.endr loop and also pad each string with spaces
in case a platform actually does want to rewrite the names.
G/C some EVCNT_COUNTERS stuff.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Nov 11 06:41:23 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -5
lines
Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Oct 1 16:18:46 1998 UTC (26 years, 2 months ago) by erh
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +39 -2
lines
Add linux signal trampoline code.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Sep 29 07:01:16 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +16 -2
lines
In exception_return(), if MULTIPROCESSOR, skip software interrupts, ASTs,
and floating point handling if we're not the primary CPU.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Sep 24 23:28:18 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +14 -2
lines
First-cut at code to spin up secondary processors on a multiprocessor
Alpha system, conditional on MULTIPROCESSOR.
NOTE: This does not yet work completely. The secondary CPU begins the
boot process, but never makes it into the cpu spinup trampoline. This
is merely a snapshot of a work-in-progress.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Sep 13 01:51:29 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
Make signal delivery work again.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Sep 9 00:07:48 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +9 -14
lines
Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue May 19 18:35:11 1998 UTC (26 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
Argh, finish renaming Lev1map to kernel_lev1map.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Mar 22 07:26:32 1998 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -2
lines
Implement a set of `atomic' (using load-locked and store-conditional)
operations. Initial set includes:
alpha_atomic_setbits_q() set bits in a quad
alpha_atomic_clearbits_q() clear bits in a quad
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Mar 22 05:46:02 1998 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +33 -25
lines
- The pmap now includes support for ASNs. We no longer need to flush
the TLB and I-cache in the SWITCH_CONTEXT macro.
- Right after switching to proc0's newly-created context at startup time,
flush the TLB and I-cache; this is the only place where it's not done
automatically.
- Fix a nasty bug in a critical section of cpu_switch(); change the
pmap_activate -> SWITCH_CONTEXT -> pmap_deactivate sequence to
pmap_deactivate -> pmap_activate -> SWITCH_CONTEXT. This prevents
erroneously marking a pmap inactive if switching to a process that
shares it's address space (and thus its pmap) with the oldproc! Noticed
by Chris Demetriou.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Mar 19 06:44:25 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -22
lines
Nuke swpctxt(); it's only used by the Mach pmap, which we will only ever
use for reference.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Mar 18 20:36:13 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +11 -2
lines
Don't call pmap_deactivate() if we jumped into the middle of cpu_switch()
from switch_exit(), since by this time, the vmspace will have already
been deactivated and freed.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Mar 5 02:10:57 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +12 -3
lines
Fix think'o in last kcopy() change.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Mar 4 02:11:58 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +19 -6
lines
In kcopy(), make sure we save and restore the old fault handler; kcopy()
is called from uiomove(), which may be in the code path of servicing
a non-fatal page fault caused by a copyin() or copyout().
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Feb 27 03:53:49 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +45 -40
lines
Several changes related to all pmaps having their own level 1
page table:
- Update the current hwpcb pointer in the SWITCH_CONTEXT macro, so that
we know it's always correct.
- Optimize cpu_switch(): if we're switching to ourselves, skip the
actual context swap.
- Clean up some comments and remove some code rendered obsolete by
the fact that address spaces are now selected by switching to a
new level 1 page table.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Feb 24 07:38:01 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +32 -2
lines
Add support for UVM.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Feb 12 01:53:19 1998 UTC (26 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
clean up the way bootinfo information is passed and used: move the version
number passed by the boot block into a register, change the kernel's
bootinfo handing so that it always uses bootinfo to get bootinfo-ish values
(filling them in if the boot blocks didn't pass them), and make versioning
a small bit more sane.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 10 21:56:38 1997 UTC (27 years, 1 month ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +32 -44
lines
Sync w/ trunk: ability to traceback past PALcode entry vectors.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Nov 3 04:22:02 1997 UTC (27 years, 1 month ago) by ross
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +32 -44
lines
--Add handcrafted stack frame directives to locore.s palcode vector
--entries / remove kernel entry from locore / reorganize vector entry
--code. Enables access to stack frames transitively w.r.t. palcode
--vectors, e.g. upward traceback works, inverting (possibly several)
--kernel vectors. Until now, all trackbacks ended at the first-reached
--instance of trap(), which was totally useless as there is no mystery
--to trap->panic->cpu_reboot
Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 22 06:30:06 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.32.2.2: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.2: +15 -3
lines
Update marc-pcmcia branch from trunk.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Sep 16 23:09:11 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-3-base,
marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -2
lines
Add stubs for the Alpha Byte/Word Extension (BWX) instructions, present
on EV56 and later processors that have the "amask BWX" bit clear. These
instructions will be used to implement non-swizzle bus access functions
on newer systems, such as the new AlphaStation 500s with EV56 and 21172
PCI chipsets.
See "Alpha Architecture Handbook, Version 3", DEC order number EC-QD2KB-TE.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Sep 16 01:52:00 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3
lines
From page 6-9 of "Alpha AXP Architecture Reference Manual, Second Edition":
An IMB intruction must be executed after software or I/O devices
write into the instruction stream or modify the instruction
stream virtual address mapping, and before the new value is
fetched as an instruction.
We were missing calls to IMB after mappings were changed, which caused
systems with large I-caches (e.g. my AlphaStation 500) to fail miserably
when mapping in new pages of program text, or when context switching
(I couldn't even get the shell from init!).
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 4 00:52:40 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.32.2.1: preferred, colored
Changes since revision 1.32.2.1: +39 -51
lines
Update marc-pcmcia branch from trunk.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Sep 2 18:53:26 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
alpha-nwscons-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +36 -49
lines
Clean up the context switching code a bit:
- Marco-ize the 3 instructions that actually switch to the new process
context.
- Unify (except for the pmap_deactivate() call) the NEW_PMAP and not-NEW_PMAP
versions of cpu_switch(), and clean up some comments.
- Tidy up the not-NEW_PMAP bits of switch_exit().
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Sep 2 14:29:00 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-bp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -3
lines
Note that a2 and a3 contain bootinfo information passed from the boot
program to alpha_init().
Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 2 13:18:19 1997 UTC (27 years, 3 months ago) by thorpej
Branches: bouyer-scsipi
Diff to: previous 1.33.2.1: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +1645 -0
lines
Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
Revision 1.33.2.1
Tue Sep 2 13:18:18 1997 UTC (27 years, 3 months ago) by thorpej
Branches: bouyer-scsipi
FILE REMOVED
Changes since revision 1.33: +0 -1645
lines
file locore.s was added on branch bouyer-scsipi on 1997-09-02 13:18:19 +0000
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Sep 2 13:18:18 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
Branch point for: bouyer-scsipi
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -3
lines
Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 1 20:00:13 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
Repair marc-pcmcia branch.
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 12 05:54:46 1997 UTC (27 years, 4 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.1: +28 -19
lines
sync with -current as of August 11, 1997
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 1 04:11:24 1997 UTC (27 years, 6 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +145 -3
lines
sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Apr 8 00:19:01 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Branch point for: marc-pcmcia
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2
lines
include RCS IDs for assembler files, disabled with NO_KERNEL_RCSIDS
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Apr 7 23:56:39 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
clean up options.h inclusion slightly
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 7 06:36:27 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -1
lines
include machine/options.h
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Apr 7 05:39:10 1997 UTC (27 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -1
lines
clean up NetBSD RCS ID strings
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Feb 3 19:50:23 1997 UTC (27 years, 10 months ago) by cgd
Branches: MAIN
CVS tags: mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +69 -3
lines
clean up a bit, add kernel setjmp and longjmp definitions.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Dec 3 19:54:16 1996 UTC (28 years ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot
Branch point for: alpha-nwscons
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -4
lines
do_sir lowers the IPL itself, now
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Oct 17 02:50:38 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +78 -80
lines
update for changes in asm.h
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Oct 15 23:56:56 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +46 -1
lines
add an XentRestart, pointed to by the retore_term HWRPB vector (and maybe,
eventually, the restart HWRPB vector), which calls console_restart. This
is invoked when the console halt switch is used and the user enters 'c'
at the console prompt, and eventually causes a system crash dump to be
generated.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:17:11 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +36 -33
lines
use assembler directives and labels that make both the ELF- and ECOFF-
targeted assemblers happy.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Aug 20 23:18:44 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +58 -22
lines
OLD_PMAP -> NEW_PMAP
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jul 16 04:40:32 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
do TBIA rather than TBIAP after initial context switch
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jul 14 04:21:09 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +21 -45
lines
(1) Remove old trap definitions, define trap and interrupt handling
more naturally in terms of way the OSF/1 PALcode delivers traps and
interrupts. Clean up fault/exception handling code and system entry
points. Seperate ASTs into a seperate C function.
(2) Clean up interrupt handling slightly.
(3) Add machinery to make [fs]uswintr be a bit more careful when
determining if a fault was actually their fault. (Unfortunately, they're
not actually implemented now, anyway.)
(4) Minor cleanup.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jul 11 23:01:09 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +102 -214
lines
rename rei() to exception_return(). rename proc_trampoline() to
switch_trampoline(). clean up trap/exception/syscall entries and
eliminate common code where appropriate. clean up bootstrapping
code.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jul 11 20:14:17 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -23
lines
don't save and set the USP at every trap entry and exit. It's
unnecessary, and given that there's no reason to waste time and
add complexity in trap handlers. This means that code which sets and
uses the USP has to be a bit more careful, but that doesn't happen much.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jul 11 05:31:19 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +14 -14
lines
Instead of treating the trap/syscall/exception frame like a struct
containing a substruct (the hardware frame) and an array of registers,
treat it like one big array of registers, for easier and prettier
access. Update everything to deal with that.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jul 11 03:53:26 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +35 -7
lines
update for new alpha_cpu.h definitions, -Wall cleanups, and make
things compile with the new work-in-progress pmap code.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 9 04:18:13 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4
lines
fix a few botched names
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 9 00:53:55 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -19
lines
clean and update for new defintions, prototypes, etc.
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 13 18:06:59 1996 UTC (28 years, 6 months ago) by cgd
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +1 -4
lines
pull up from trunk:
>don't pass "argc," "argv," and "envp" from boot blocks to kernel;
>they're unnecessary and there's no reason to use them. Have the
>kernel get necessary values from the PROM directly.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 12 22:11:28 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -4
lines
don't pass "argc," "argv," and "envp" from boot blocks to kernel;
they're unnecessary and there's no reason to use them. Have the
kernel get necessary values from the PROM directly.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 16 22:54:30 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -2
lines
add 'kernel_text' symbol, for use by kvm_mkdb
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Apr 12 06:07:28 1996 UTC (28 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
clean up copyrights and RCS IDs
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Apr 12 02:05:48 1996 UTC (28 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -1
lines
add rpcc entry point
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Feb 2 20:05:08 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3
lines
Don't define _LOCORE here.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Feb 2 02:33:26 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
assym.s -> assym.h
(Some ports did this already.)
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 1 22:28:24 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
LOCORE -> _LOCORE
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Nov 23 02:34:11 1995 UTC (29 years ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +259 -62
lines
wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 3 01:00:11 1995 UTC (29 years, 4 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +42 -18
lines
kill alpha_mb(); it's now inlined. make copy functions' frame sizes
more easily adjustable.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 28 08:27:08 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +550 -1
lines
oops; this got mangled.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 28 02:45:04 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -551
lines
sync with my current Alpha sources
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 24 15:07:13 1995 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +88 -104
lines
remove support for double-mapping the user area and kernel stack.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Mar 9 12:05:34 1995 UTC (29 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
copy*str() should use size_t.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Feb 13 23:07:00 1995 UTC (29 years, 10 months ago) by cgd
Branches: MAIN
preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is
_incredibly_ hack-ish, etc., but it works.
CVSweb <webmaster@jp.NetBSD.org>