#
1.67 |
|
20-Jan-2024 |
thorpej |
Largely unify the <machine/cpu.h> headers on the m68k platforms.
|
#
1.66 |
|
19-Jan-2024 |
thorpej |
Switch the x68k port to use the same clockframe layout as the other m68k ports.
|
#
1.65 |
|
18-Jan-2024 |
thorpej |
Make the M68K_MMU_* defines real kernel options, available in opt_m68k_arch.h. For 68030, 68040, and 68060, infer M68K_MMU_MOTOROLA. For 68010 and 68020, it must be an explicit option (set in std.${MACHINE} or, in the case of hp300, inferred from the specific model option).
|
#
1.64 |
|
09-Jan-2024 |
thorpej |
Remove duplicated / slightly-tweaked loadustp() (load user segment table) routines from all of the m68k ports using the shared pmap. Instead, in pmap_init(), set up a function pointer to the appropriate mmu_load_urp*() function in mmu_subr.s.
|
#
1.63 |
|
07-Jan-2024 |
isaki |
TAB/space/indent cleanup.
|
Revision tags: 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 bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
|
#
1.62 |
|
23-Nov-2019 |
ad |
cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/. - Make the required actions very explicit. - Pass in LWP pointer for convenience. - When a trap is required on another CPU, have the IPI set it locally. - Expunge cpu_did_resched().
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.61 |
|
18-Feb-2019 |
thorpej |
Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.60 |
|
22-Aug-2018 |
msaitoh |
- Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 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 pgoyette-compat-base 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 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
1.59 |
|
17-Dec-2016 |
flxd |
branches: 1.59.14; 1.59.16; Fix typo "one the" and architecture where appropriate.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
branches: 1.58.4; 1.58.8; Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|
#
1.67 |
|
20-Jan-2024 |
thorpej |
Largely unify the <machine/cpu.h> headers on the m68k platforms.
|
#
1.66 |
|
19-Jan-2024 |
thorpej |
Switch the x68k port to use the same clockframe layout as the other m68k ports.
|
#
1.65 |
|
18-Jan-2024 |
thorpej |
Make the M68K_MMU_* defines real kernel options, available in opt_m68k_arch.h. For 68030, 68040, and 68060, infer M68K_MMU_MOTOROLA. For 68010 and 68020, it must be an explicit option (set in std.${MACHINE} or, in the case of hp300, inferred from the specific model option).
|
#
1.64 |
|
09-Jan-2024 |
thorpej |
Remove duplicated / slightly-tweaked loadustp() (load user segment table) routines from all of the m68k ports using the shared pmap. Instead, in pmap_init(), set up a function pointer to the appropriate mmu_load_urp*() function in mmu_subr.s.
|
#
1.63 |
|
07-Jan-2024 |
isaki |
TAB/space/indent cleanup.
|
Revision tags: 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 bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
|
#
1.62 |
|
23-Nov-2019 |
ad |
cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/. - Make the required actions very explicit. - Pass in LWP pointer for convenience. - When a trap is required on another CPU, have the IPI set it locally. - Expunge cpu_did_resched().
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.61 |
|
18-Feb-2019 |
thorpej |
Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.60 |
|
22-Aug-2018 |
msaitoh |
- Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 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 pgoyette-compat-base 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 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
1.59 |
|
17-Dec-2016 |
flxd |
branches: 1.59.14; 1.59.16; Fix typo "one the" and architecture where appropriate.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
branches: 1.58.4; 1.58.8; Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|
#
1.64 |
|
09-Jan-2024 |
thorpej |
Remove duplicated / slightly-tweaked loadustp() (load user segment table) routines from all of the m68k ports using the shared pmap. Instead, in pmap_init(), set up a function pointer to the appropriate mmu_load_urp*() function in mmu_subr.s.
|
#
1.63 |
|
07-Jan-2024 |
isaki |
TAB/space/indent cleanup.
|
Revision tags: 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 bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
|
#
1.62 |
|
23-Nov-2019 |
ad |
cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/. - Make the required actions very explicit. - Pass in LWP pointer for convenience. - When a trap is required on another CPU, have the IPI set it locally. - Expunge cpu_did_resched().
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.61 |
|
18-Feb-2019 |
thorpej |
Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.60 |
|
22-Aug-2018 |
msaitoh |
- Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 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 pgoyette-compat-base 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 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
1.59 |
|
17-Dec-2016 |
flxd |
branches: 1.59.14; 1.59.16; Fix typo "one the" and architecture where appropriate.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
branches: 1.58.4; 1.58.8; Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|
#
1.63 |
|
07-Jan-2024 |
isaki |
TAB/space/indent cleanup.
|
Revision tags: 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 bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
|
#
1.62 |
|
23-Nov-2019 |
ad |
cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/. - Make the required actions very explicit. - Pass in LWP pointer for convenience. - When a trap is required on another CPU, have the IPI set it locally. - Expunge cpu_did_resched().
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.61 |
|
18-Feb-2019 |
thorpej |
Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.60 |
|
22-Aug-2018 |
msaitoh |
- Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 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 pgoyette-compat-base 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 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
1.59 |
|
17-Dec-2016 |
flxd |
branches: 1.59.14; 1.59.16; Fix typo "one the" and architecture where appropriate.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
branches: 1.58.4; 1.58.8; Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|
#
1.62 |
|
23-Nov-2019 |
ad |
cpu_need_resched():
- Remove all code that should be MI, leaving the bare minimum under arch/. - Make the required actions very explicit. - Pass in LWP pointer for convenience. - When a trap is required on another CPU, have the IPI set it locally. - Expunge cpu_did_resched().
|
Revision tags: phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.61 |
|
18-Feb-2019 |
thorpej |
Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.60 |
|
22-Aug-2018 |
msaitoh |
- Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 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 pgoyette-compat-base 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 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
1.59 |
|
17-Dec-2016 |
flxd |
branches: 1.59.14; 1.59.16; Fix typo "one the" and architecture where appropriate.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
branches: 1.58.4; 1.58.8; Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|
Revision tags: isaki-audio2-base
|
#
1.61 |
|
18-Feb-2019 |
thorpej |
Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.60 |
|
22-Aug-2018 |
msaitoh |
- Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
Revision tags: 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 pgoyette-compat-base 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 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
1.59 |
|
17-Dec-2016 |
flxd |
branches: 1.59.14; Fix typo "one the" and architecture where appropriate.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
branches: 1.58.4; 1.58.8; Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|
#
1.59 |
|
17-Dec-2016 |
flxd |
Fix typo "one the" and architecture where appropriate.
|
Revision tags: 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 tls-earlyentropy-base tls-maxphys-base
|
#
1.58 |
|
31-Jul-2014 |
isaki |
Remove the variable not used anymore. sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.57 |
|
19-Oct-2013 |
christos |
branches: 1.57.2; make cpu_need_resched() macros consistent; __USE flags
|
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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 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-base2 netbsd-6-base
|
#
1.56 |
|
02-Feb-2012 |
tsutsui |
branches: 1.56.6; 1.56.10; Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL)) for crash(8) as amiga and sun3. There are _KERNEL protections in it.
Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
#
1.55 |
|
15-Nov-2011 |
tsutsui |
branches: 1.55.4; Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports). Tested on TT030, Sun3/80, and X68030.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.54 |
|
16-May-2011 |
tsutsui |
branches: 1.54.4; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
#
1.53 |
|
12-May-2011 |
tsutsui |
Make intiobase and intiolimit unsigned for consistency.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.52 |
|
08-Feb-2011 |
rmind |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
|
#
1.51 |
|
22-Dec-2010 |
matt |
branches: 1.51.2; 1.51.4; Collect cpu_info and friends and move to m68k/include/cpu.h Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info.
|
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
|
#
1.50 |
|
06-Jun-2010 |
mrg |
fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO atari: HADES FALCON MILAN-PCIIDE mac68k: GENERIC sun2: GENERIC sun3: GENERIC GENERIC3X cesfic: attempted GENERIC, does not build due to lack of machine/bus.h hp300: GENERIC luna68k: GENERIC mvme68k: GENERIC news68k: GENERIC next68k: GENERIC x68k: GENERIC
|
Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
|
#
1.49 |
|
21-Oct-2009 |
rmind |
branches: 1.49.2; 1.49.4; Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
|
Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 nick-hppapmap-base mjf-devfs2-base
|
#
1.48 |
|
17-Jan-2009 |
isaki |
Purge x68k_config_found() to simplify consinit routine. config_console() calls initialization of grf, ite, mfp directly, instead of tracing special device tree with an emulated 'struct device'.
|
#
1.47 |
|
18-Dec-2008 |
isaki |
Sync with other m68k ports. - Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE. - Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
|
#
1.46 |
|
18-Dec-2008 |
isaki |
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s These synchronize code with other m68k ports.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
#
1.45 |
|
27-Feb-2008 |
xtraeme |
branches: 1.45.4; 1.45.12; Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
|
Revision tags: nick-net80211-sync-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base reinoud-bufcleanup-base
|
#
1.44 |
|
17-Oct-2007 |
garbled |
branches: 1.44.12; 1.44.16; 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 matt-mips64-base ppcoea-renovation-base vmlocking-base
|
#
1.43 |
|
04-Aug-2007 |
ad |
branches: 1.43.2; Add ci_cpuid where it's missing.
|
Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
|
#
1.42 |
|
21-May-2007 |
tsutsui |
branches: 1.42.2; 1.42.4; 1.42.8; Move declarations of m68k common functions from <machine/cpu.h> to <m68k/m68k.h>. While here, remove some obsolete function decls.
|
#
1.41 |
|
20-May-2007 |
mhitch |
Add missing call to lwp_startup() in lwp_trampoline() (which was renamed from proc_trampoline to match the other ports).
A DIAGNOSTIC kernel will now boot and run. LOCKDEBUG still doesn't work yet. Also, my amiga no longer loses time.
|
#
1.40 |
|
19-May-2007 |
isaki |
Use do { } while (0) to macro.
|
#
1.39 |
|
19-May-2007 |
isaki |
Adapt to the merge of yamt-idlelwp branch. tested on my X68030.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.38 |
|
04-Mar-2007 |
christos |
branches: 1.38.2; 1.38.4; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: ad-audiomp-base
|
#
1.37 |
|
16-Feb-2007 |
ad |
branches: 1.37.2; Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts via a soft interrupt. In the near future, softclock will be run from process context.
|
Revision tags: post-newlock2-merge
|
#
1.36 |
|
09-Feb-2007 |
ad |
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.35 |
|
11-Dec-2005 |
christos |
branches: 1.35.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.34 |
|
13-Jun-2005 |
he |
branches: 1.34.2; Change the signature of badaddr() and badbaddr() from taking a caddr_t to taking a volatile void*. This gets rid of a number of casts to make this compile under -Wcast-qual. Add some volatiles and consts in other places to make this build under -Wcast-qual. Also rename a few variables to make this build under -Wshadow. Also get rid of duplicated declarations of badaddr() and badbaddr() in machdep.c, they're already there from <machine/cpu.h>.
|
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
|
#
1.33 |
|
18-Jan-2005 |
chs |
de-__P, remove register, ansify.
|
Revision tags: kent-audio1-beforemerge kent-audio1-base
|
#
1.32 |
|
26-Sep-2004 |
yamt |
branches: 1.32.4; don't expose cpu_info to userland.
|
#
1.31 |
|
22-Sep-2004 |
yamt |
move some per-cpu data definitions to MI place so that they can be modified without touching all ports. discussed on tech-kern@.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.30 |
|
04-Jan-2004 |
jdolecek |
Rearrange process exit path to avoid need to free resources from different process context ('reaper').
From within the exiting process context: * deactivate pmap and free vmspace while we can still block * introduce MD cpu_lwp_free() - this cleans all MD-specific context (such as FPU state), and is the last potentially blocking operation; all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free() * process is now immediatelly marked as zombie and made available for pickup by parent; the remaining last lwp continues the exit as fully detached * MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now always just linked to the list of available u-areas. Introduce (blocking) uvm_uarea_drain(), which is called to release the excessive u-area memory; this is called by parent within wait4(), or by pagedaemon on memory shortage. uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.28 |
|
18-Jan-2003 |
thorpej |
branches: 1.28.2; Merge the nathanw_sa branch.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.27 |
|
28-Oct-2002 |
chs |
untangle includes a bit: don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead, include cpu.h and cacheops.h in just those .c files that need them.
|
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 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base kqueue-base
|
#
1.26 |
|
30-May-2001 |
mrg |
branches: 1.26.8; use _KERNEL_OPT
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.25 |
|
19-Dec-2000 |
scw |
branches: 1.25.2; Unification of the m68k syscall() function.
|
#
1.24 |
|
25-Aug-2000 |
thorpej |
Make need_resched() take a "struct cpu_info *" argument. This causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
|
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 minoura-xpg4dl-base
|
#
1.23 |
|
26-May-2000 |
thorpej |
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.22 |
|
23-Apr-2000 |
minoura |
Do not include opt_m680x0 in LKM.
|
#
1.21 |
|
18-Apr-2000 |
minoura |
defopt M680[2346]0.
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.20 |
|
23-Sep-1999 |
minoura |
branches: 1.20.2; Use m68k common cacheops.c.
|
#
1.19 |
|
10-Aug-1999 |
thorpej |
Define cpu_number() as discussed on tech-smp.
|
Revision tags: chs-ubc2-base
|
#
1.18 |
|
05-May-1999 |
minoura |
Use mvme68k-derived delay routine. Now that we support various models, the old constant-loop delay routine may cause problems.
|
Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.17 |
|
24-Mar-1999 |
minoura |
branches: 1.17.2; 1.17.4; 1.17.6; Shut up gcc -Wall.
|
#
1.16 |
|
16-Mar-1999 |
minoura |
Merged minoura_x68k_bus_h branch.
|
Revision tags: minoura_x68k_bus_h-base3
|
#
1.15 |
|
26-Feb-1999 |
is |
synchronize types, and s/curproc/p/ in one forgotten place
|
#
1.14 |
|
26-Feb-1999 |
is |
x68k specific part of fix for PR 6152
|
Revision tags: minoura_x68k_bus_h-base2 minoura_x68k_bus_h-base
|
#
1.13 |
|
13-Dec-1998 |
minoura |
branches: 1.13.2; Splitted out the interrupt handling code to a separate file. Disallow getting down the interrupt level by splXX.
|
Revision tags: kenh-if-detach-base
|
#
1.12 |
|
11-Nov-1998 |
thorpej |
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 tags: chs-ubc-base
|
#
1.11 |
|
07-Oct-1998 |
thorpej |
Oops, back out a buglet I didn't intend to commit in the last change.
|
#
1.10 |
|
06-Oct-1998 |
thorpej |
configure() prototype is in <sys/device.h>
|
#
1.9 |
|
22-Aug-1998 |
minoura |
Eliminated vm_offset_t and vm_size_t.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
13-Feb-1998 |
scottr |
Avoid declaring the "astpending" and "want_resched" globals in cpu.h, as this breaks C++ code that happens to indirectly include this header. Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports, which have already implemented a similar solution.
|
#
1.7 |
|
26-Oct-1997 |
is |
Make these compile after m68k/m68k.h 1.4->1.5.
|
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 marc-pcmcia-base
|
#
1.6 |
|
10-Oct-1997 |
oki |
Add prototypes.
|
Revision tags: thorpej-signal-base marc-pcmcia-bp is-newarp-before-merge is-newarp-base
|
#
1.5 |
|
03-Feb-1997 |
oki |
branches: 1.5.8; Remove #ifdef GENERIC ... #endif
|
#
1.4 |
|
08-Jan-1997 |
oki |
Add fpu_probe prototype.
|
#
1.3 |
|
11-Sep-1996 |
thorpej |
Use <m68k/cpu.h>.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.2 |
|
21-May-1996 |
oki |
Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
#
1.1 |
|
05-May-1996 |
oki |
branches: 1.1.1; Initial revision
|