|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-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 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
| #
1.71 |
|
12-Sep-2020 |
isaki |
Improve am7930 family drivers to share more code. audioamd(4) on sparc, vsaudio(4) on vax, and bba(4) are. - Remove complex and useless callbacks: onopen, onclose, and indirect_{read,write}. This makes audioamd and vsaudio almost the same. - Remove (already disabled) assembly fast interrupt path from audioamd(4). cf. http://mail-index.netbsd.org/source-changes/2009/12/19/msg004585.html - Use trigger_* method rather than start_* method. It's more suitable. vsaudio(4) was tested by naru@, bba(4) was tested by tsutsui@.
|
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
| #
1.70 |
|
20-Feb-2020 |
skrll |
G/C
|
| #
1.69 |
|
17-Feb-2020 |
skrll |
G/C LS{SLEEP,RUN,ONPROC}
LWP status manipulation was moved out of assembly long ago.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 tls-maxphys-base
|
| #
1.68 |
|
02-Nov-2012 |
chs |
branches: 1.68.38; 1.68.44; Add RAS support for sparc.
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| #
1.67 |
|
15-Aug-2011 |
mrg |
branches: 1.67.2; 1.67.12; re-introduce the NULL savefpstate IPI checks and evcnts. something is Wrong with GCC 4.5.3 and these trigger. i haven't seen anything else particularly wrong so for now this will allow sparc to switch to GCC 4.5, which otherwise seems to be working very well for me.
sigh. i'm going to file a PR to research what is really wrong here.
|
| #
1.66 |
|
01-Jul-2011 |
dyoung |
#include <sys/bus.h> instead of <machine/bus.h>.
|
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase rmind-uvmplock-base jym-xensuspend-nbase jym-xensuspend-base
|
| #
1.65 |
|
20-Feb-2011 |
mrg |
remove the evcnt for NULL struct fpstate * ipi, and switch over to an explicit panic() if we get one.
i'm pretty sure that converting xmpsg_lock from IPL_VM to IPL_SCHED fixed this problem properly. i have not seen the evcnt trigger since that change, nor have several others queried.
|
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-base
|
| #
1.64 |
|
27-Jan-2011 |
mrg |
consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU soft/hard counters. beyond the extra info, it seems to help avoid some of these counters getting corrupted due to unlocked multiple accesses.
adjust the xcallintr() from xcall() hack so that we don't count these events as interrupts. align the existing evcnt name to count this.
|
|
Revision tags: jruoho-x86intr-base
|
| #
1.63 |
|
14-Jan-2011 |
rmind |
branches: 1.63.2; 1.63.4; Retire struct user, remove sys/user.h inclusions. Note sys/user.h header as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.
Various #include fixes and review by matt@.
|
| #
1.62 |
|
13-Jan-2011 |
mrg |
introduce a hack to workaround the savefpstate IPI get's NULL struct fpstate *.
add a new entry point ipi_savefpstate() that is used for this IPI instead of the plain ipi_savefpstate(). check for %o0 being NULL, and if so, just return.
add event counters for the savefpstate IPI, and another one for when it detects the NULL problem.
make the cpu_info struct xmpsg be aligned to a single cache line.
with this change applied (and another minor change in testing) my SS20 with dual SM75's has survived for 17 hours on build.sh -j5, and has reported 7 NULL savefps. (the minor change seems to have a significant effect at reducing this number, but more testing is needed for it.)
XXX: this is horrible and we really need to find the real problem XXX: but this should let people use sparc smp again, and fixes XXX: for the real problem can be tested by seeing if any of the XXX: savefp IPI null counter becomes non-zero.
|
|
Revision tags: matt-mips64-premerge-20101231
|
| #
1.61 |
|
20-Dec-2010 |
matt |
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
|
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base
|
| #
1.60 |
|
03-Jan-2010 |
mrg |
branches: 1.60.4; use genassym generated names for struct intrhand elements and avoid magic.
|
|
Revision tags: matt-premerge-20091211
|
| #
1.59 |
|
10-Dec-2009 |
rmind |
Rename L_ADDR to L_PCB and amend some comments accordingly.
|
| #
1.58 |
|
21-Nov-2009 |
rmind |
Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.
|
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5
|
| #
1.57 |
|
05-Jun-2009 |
mrg |
convert sparc "intrcnt" counters to evcnt(9) style. XXX some of the names could be better, but i just copied them from the old intrnames in locore.
i benchmarked this with a simple test of ircii ./configure && make, to see if the additional load/store & arith would cause any noticeable degradation as the change also converts 32 bit counters to 64 bits. amusingly, the only trend i saw in this was that for both portions, i see a consistent (across at least 8 runs) benefit of about 0.8% improvement. ie, the newer larger code size / counter size code actually runs faster for some reason.. maybe there's a cacheline effect in the size of the code?
XXX the current implementation depends on a couple of things: XXX - ev_count member of evcnt{} is first and has offset 0 XXX - that sizeof(struct evcnt) equals 32 XXX if these are not true, locore.s has #error's to catch it
|
|
Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 haad-dm-base mjf-devfs2-base
|
| #
1.56 |
|
20-Sep-2008 |
tsutsui |
branches: 1.56.4; Remove advertising clause for UCB in various genassym.cf files, which were derived from genassym.c in 4.4BSD-Lite2 (or 386BSD). Closes PR misc/39573. Approved by martin@.
|
|
Revision tags: wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base
|
| #
1.55 |
|
04-Jun-2008 |
ad |
branches: 1.55.4; Remove ref to uvm.page_idle_zero
|
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
|
| #
1.54 |
|
02-May-2008 |
martin |
branches: 1.54.2; Move TNF licenses to 2 clause form
|
|
Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
| #
1.53 |
|
08-Jan-2008 |
martin |
branches: 1.53.6; 1.53.8; 1.53.10; cpu_intr_p() for sparc, from Andrew Doran.
|
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
|
| #
1.52 |
|
17-Oct-2007 |
garbled |
branches: 1.52.2; 1.52.8; 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 tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
| #
1.51 |
|
17-May-2007 |
yamt |
branches: 1.51.10; 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 tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base
|
| #
1.50 |
|
18-Feb-2007 |
ad |
branches: 1.50.4; 1.50.6; 1.50.12; Export __SIMPLELOCK_LOCKED, __SIMPLELOCK_UNLOCKED.
|
|
Revision tags: post-newlock2-merge
|
| #
1.49 |
|
09-Feb-2007 |
ad |
branches: 1.49.2; Merge newlock2 to head.
|
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
| #
1.48 |
|
11-Dec-2005 |
christos |
branches: 1.48.20; merge ktrace-lwp.
|
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
| #
1.47 |
|
24-Sep-2005 |
macallan |
add a function pointer to struct cpu_info: void idlespin(struct cpu_info *) which is called whenever the CPU is idle and uvm_pageidlezero() has nothing to do
|
| #
1.46 |
|
10-Sep-2005 |
uwe |
Hanlde NMI on microSPARC-IIep.
We don't do much useful except reporting, but that's better than to stupidly use sun4m handler and wedge the machine. May need to revisit what's fatal.
Prodding by macallan@
|
| #
1.45 |
|
10-Jul-2005 |
christos |
- add syscall_{plain,fancy} - make it use mi_userret
|
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
| #
1.44 |
|
04-May-2004 |
pk |
branches: 1.44.12; `uvmexp.swtch++' is already done in exit1().
|
| #
1.43 |
|
17-Apr-2004 |
pk |
Add EV_COUNT.
|
| #
1.42 |
|
17-Apr-2004 |
pk |
Add CPUINFO_XMSG_* symbols for use in fast xcall handlers.
|
|
Revision tags: netbsd-2-0-base
|
| #
1.41 |
|
18-Jan-2003 |
thorpej |
branches: 1.41.2; 1.41.4; Merge the nathanw_sa branch.
|
|
Revision tags: nathanw_sa_before_merge nathanw_sa_base
|
| #
1.40 |
|
12-Jan-2003 |
uwe |
Account softintr_common as uvmexp.softs, not uvmexp.intrs.
|
| #
1.39 |
|
11-Jan-2003 |
mrg |
keep track of which cpu's have run a pmap and only broadcast tlb flushes to cpu's who have done so. implement pmap_deactivate() for MULTIPROCESSOR and call it from cpu_switch() when we are about to switch proces and when we enter idle().
with this change, i see significantly reduced tlb IPI traffic and fork/exec bound processes -- such as "configure" -- run significantly faster, upto 15%. i also obvserved a small (0-2%) benefit to CPU bound tasks as well.
|
| #
1.38 |
|
08-Jan-2003 |
pk |
Add CPUINFO_WANT_RESCHED and CPUINFO_WANT_AST
|
|
Revision tags: fvdl_fs64_base
|
| #
1.37 |
|
31-Dec-2002 |
pk |
Add offset for `cpuinfo.ci_tt'.
|
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
| #
1.36 |
|
26-Sep-2002 |
thorpej |
Remove <sys/map.h>
|
|
Revision tags: gehenna-devsw-base
|
| #
1.35 |
|
17-Jul-2002 |
thorpej |
Remove an unnecessary "if defined(SUN4M)"
|
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
| #
1.34 |
|
07-May-2002 |
uwe |
branches: 1.34.2; Drop SUN4_PGSHIFT and SUN4CM_PGSHIFT. They are already known to .S files from sys/param.h. The problem is that lint stubs are generated with -C (keep comments) and gcc complains about macro redefinition, since "assym.h" doesn't have the comments that "sys/param.h" has.
|
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base
|
| #
1.33 |
|
11-Dec-2001 |
uwe |
branches: 1.33.4; Add constants for microSPARC-IIep registers.
|
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
| #
1.32 |
|
08-Jun-2001 |
mrg |
branches: 1.32.2; 1.32.8; add CPUINFO_FLAGS
|
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
| #
1.31 |
|
21-Jan-2001 |
christos |
branches: 1.31.2; fix bit rot so that MP kernel compiles s/cpu_no/ci_cpuid/
|
| #
1.30 |
|
29-Jun-2000 |
mrg |
remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
|
| #
1.29 |
|
31-May-2000 |
thorpej |
- In the MULTIPROCESSOR case, initialize p_cpu before a process is marked SONPROC. - Fix a bug where all cpu_info structures except for the boot CPUs would exist at both a CPU-local VA (CPUINFO_VA) and a gloal VA; The boot CPU's existed only a CPUINFO_VA. - Add a self-reference pointer to the cpu_info that references the global address in the MULTIPROCESSOR case. Just allow it to reference the `local' VA in the single-processor case, as CPUINFO_VA is global enough when there's only one processor to care about. Change curcpu() to return the global address.
|
|
Revision tags: minoura-xpg4dl-base
|
| #
1.28 |
|
26-May-2000 |
thorpej |
branches: 1.28.2; 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.
|
| #
1.27 |
|
26-May-2000 |
thorpej |
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.
|
| #
1.26 |
|
08-May-2000 |
mycroft |
Make the audioamd assembler code compile again.
|
| #
1.25 |
|
30-Apr-2000 |
pk |
Define offset for uvm.page_idle_zero.
|
|
Revision tags: chs-ubc2-newbase
|
| #
1.24 |
|
21-Jan-2000 |
pk |
Update FDC offsets used by fdintr.s
|
| #
1.23 |
|
17-Jan-2000 |
pk |
Add offset to bus handle in `struct fdio'.
|
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
| #
1.22 |
|
04-Oct-1999 |
pk |
branches: 1.22.2; Since a context table is now pointing at the correct per-CPU region table at all times, we can dispense with the hackery that patches the magic entry at context-switch time.
|
|
Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
| #
1.21 |
|
25-Mar-1999 |
pk |
branches: 1.21.2; UVM no longer an option.
|
| #
1.20 |
|
14-Mar-1999 |
jonathan |
Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.
Should use regmaps, but that breaks sparc pDMA assembly code.
|
| #
1.19 |
|
14-Feb-1999 |
pk |
Use the PROMLIB interface.
|
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
| #
1.18 |
|
19-Oct-1998 |
pk |
Maintain a current process (`curproc') a per CPU.
|
| #
1.17 |
|
16-Oct-1998 |
pk |
Drop cpuinfo's `L1_ptps'; instead keep a per CPU segment (level 2) page table descriptor that is used to patch up a region (level 1) page table associated with a user pmap at context switch time.
|
| #
1.16 |
|
12-Oct-1998 |
pk |
Add offset of `cpuinfo.idle_u'.
|
| #
1.15 |
|
12-Oct-1998 |
pk |
Define `sizeof(struct cpu_info)'.
|
| #
1.14 |
|
11-Oct-1998 |
pk |
Allocate a private PCB, kernel stack and interrupt stack for each processor. As a result, the stack setup code in locore.s changes slightly in the MULTIPROCESSOR case. Also, make the stack redzone barrier (for debugging only) a per-CPU entity.
|
| #
1.13 |
|
24-Sep-1998 |
pk |
Add `intreg' cpuinfo offset.
|
| #
1.12 |
|
21-Sep-1998 |
pk |
We no longer need to access memerr() through a function pointer.
|
| #
1.11 |
|
20-Sep-1998 |
pk |
Account for changes in struct cpuinfo & locore
|
| #
1.10 |
|
13-Sep-1998 |
pk |
Pull in <sys/syscall.h> directly into locore.s
|
| #
1.9 |
|
07-Sep-1998 |
pk |
Adapt to cpuvar.h changes.
|
| #
1.8 |
|
06-Sep-1998 |
pk |
Sanitize memerr*() a bit.
|
| #
1.7 |
|
05-Sep-1998 |
christos |
Assign copyright to TNF.
|
|
Revision tags: eeh-paddr_t-base
|
| #
1.6 |
|
26-Jul-1998 |
pk |
Add a cpu-specific function to flush a pure virtually-indexed/virtually-tagged cache, which needs to be flushed at context switch.
|
| #
1.5 |
|
24-Jun-1998 |
jonathan |
Split sparc am7930 driver into sparc attach and "MI" sys/dev/ic/am7930 chipset driver. Needs bus'ifying and register-access.
|
| #
1.4 |
|
05-Feb-1998 |
mrg |
initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes.
this is the sparc portion.
this will be KNF'd shortly. :-)
|
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| #
1.3 |
|
16-Oct-1997 |
mycroft |
Fix up includes.
|
|
Revision tags: thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
| #
1.2 |
|
28-Jun-1997 |
pk |
Accommodate non-VM_PMAP_HACK code.
|
|
Revision tags: is-newarp-before-merge
|
| #
1.1 |
|
12-Mar-1997 |
christos |
Added genassym.cf
|