Up to [cvs.netbsd.org] / src / sys / arch / arm / arm32
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.61.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:01 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.61: +3 -4
lines
Diff to previous 1.61 (colored) next main 1.62 (colored)
Sync with HEAD.
Revision 1.60.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:51 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.60.4.1: +1 -1
lines
Diff to previous 1.60.4.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)
sync with head
Revision 1.63 / (download) - annotate - [select for diffs], Thu Apr 7 10:03:47 2011 UTC (13 months, 2 weeks ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
netbsd-6-base,
netbsd-6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
HEAD
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
Fetch user read-only thread and process id from l->l_private, not the pcb. (need to g/c the pcb field formerly used for this).
Revision 1.60.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:30 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.60: +4 -5
lines
Diff to previous 1.60 (colored)
sync with head
Revision 1.61.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:12 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.61: +2 -3
lines
Diff to previous 1.61 (colored) next main 1.62 (colored)
Sync with HEAD
Revision 1.62 / (download) - annotate - [select for diffs], Tue Feb 1 01:20:14 2011 UTC (15 months, 3 weeks ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7,
bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.61: +2 -3
lines
Diff to previous 1.61 (colored)
include "assym.h" instead of pte.h
Revision 1.61 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:23 2011 UTC (16 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.60: +4 -4
lines
Diff to previous 1.60 (colored)
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros. Various #include fixes and review by matt@.
Revision 1.57.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:04 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.2.2: +7 -7
lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)
sync with head
Revision 1.60 / (download) - annotate - [select for diffs], Thu Dec 10 05:10:01 2009 UTC (2 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock
Changes since 1.59: +7 -7
lines
Diff to previous 1.59 (colored)
Rename L_ADDR to L_PCB and amend some comments accordingly.
Revision 1.57.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:38 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.2.1: +13 -3
lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored)
sync with head.
Revision 1.58.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:57 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.58: +13 -3
lines
Diff to previous 1.58 (colored) next main 1.59 (colored)
Sync with HEAD.
Revision 1.55.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:52 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.55.6.2: +11 -1
lines
Diff to previous 1.55.6.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)
Sync with HEAD.
Revision 1.58.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:01 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.58: +13 -3
lines
Diff to previous 1.58 (colored) next main 1.59 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.59 / (download) - annotate - [select for diffs], Wed Nov 19 06:34:21 2008 UTC (3 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.58: +13 -3
lines
Diff to previous 1.58 (colored)
Use IF32_bits instead of I32_bit. Only disable/irq is __HAVE_UNNESTED_IRQS is undefined.
Revision 1.55.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:52 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.55.6.1: +192 -56
lines
Diff to previous 1.55.6.1 (colored) to branchpoint 1.55 (colored)
Sync with HEAD.
Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:33 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.56: +193 -57
lines
Diff to previous 1.56 (colored) next main 1.57 (colored)
sync with head.
Revision 1.57.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:55 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57: +188 -51
lines
Diff to previous 1.57 (colored)
sync with head.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:43 2008 UTC (4 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Changes since 1.57: +188 -51
lines
Diff to previous 1.57 (colored)
Merge kernel changes in matt-armv6 to HEAD.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Apr 20 15:42:19 2008 UTC (4 years, 1 month ago) by scw
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.56: +7 -8
lines
Diff to previous 1.56 (colored)
There's really no need to switch VM contexts within cpu_switchto() as MI code always calls pmap_deactivate/pmap_activate on context switch. Instead, just record the last active lwp (or NULL if it exited) and defer switching VM context to pmap_activate(). This saves an additional function call overhead in cpu_switchto(). While here, g/c unused cpuswitch.S local .Lblock_userspace_access.
Revision 1.55.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:12 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.55: +13 -1
lines
Diff to previous 1.55 (colored)
Sync with HEAD.
Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:53 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.55: +13 -1
lines
Diff to previous 1.55 (colored) next main 1.56 (colored)
sync with head.
Revision 1.48.12.6 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:54 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.48.12.5: +102 -182
lines
Diff to previous 1.48.12.5 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)
sync with HEAD
Revision 1.48.10.3 / (download) - annotate - [select for diffs], Fri Mar 21 13:34:40 2008 UTC (4 years, 2 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.48.10.2: +13 -1
lines
Diff to previous 1.48.10.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)
Sync with head.
Revision 1.41.16.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:15 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.16.5: +13 -1
lines
Diff to previous 1.41.16.5 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)
sync with head.
Revision 1.56 / (download) - annotate - [select for diffs], Sat Mar 15 10:19:40 2008 UTC (4 years, 2 months ago) by rearnsha
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
chris-arm-intr-rework-base7,
ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.55: +13 -1
lines
Diff to previous 1.55 (colored)
VFP support.
Revision 1.48.6.2 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:40 2008 UTC (4 years, 2 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.48.6.1: +41 -116
lines
Diff to previous 1.48.6.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)
Sync with HEAD.
Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:22 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.50: +41 -116
lines
Diff to previous 1.50 (colored) next main 1.51 (colored)
Sync with HEAD.
Revision 1.48.12.5 / (download) - annotate - [select for diffs], Mon Jan 28 18:16:16 2008 UTC (4 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.48.12.4: +118 -1
lines
Diff to previous 1.48.12.4 (colored) to branchpoint 1.48 (colored)
Add fast softint switch support.
Revision 1.41.16.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:35 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.16.4: +41 -116
lines
Diff to previous 1.41.16.4 (colored) to branchpoint 1.41 (colored)
sync with head
Revision 1.50.8.2 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:02 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.50.8.1: +28 -56
lines
Diff to previous 1.50.8.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)
Sync with HEAD
Revision 1.48.10.2 / (download) - annotate - [select for diffs], Sun Jan 20 16:03:55 2008 UTC (4 years, 4 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.48.10.1: +41 -116
lines
Diff to previous 1.48.10.1 (colored) to branchpoint 1.48 (colored)
Sync to HEAD.
Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 19 16:49:42 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base,
chris-arm-intr-rework-base6,
chris-arm-intr-rework-base5,
chris-arm-intr-rework-base4,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.54: +30 -40
lines
Diff to previous 1.54 (colored)
Optimize cpu_switchto to store the new PCB address in r7, rather than loading it from memory in 3 places. Also adjust ordering of a few loads to try and avoid stalling.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Jan 19 15:04:10 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Changes since 1.53: +1 -19
lines
Diff to previous 1.53 (colored)
With the removal of IPKDB on arm, the undefined stack is only used to bounce into SVC32 mode, there is no per-process data stored on it. We can therefore use the undefined stack setup by the platform machdep.c as a system wide undefined stack. This removes the need for a per-process undefined stack, and the processor mode switching overhead it causes in cpu_switchto. The space freed in the USPACE is used to increase the per process kernel stack size.
Revision 1.50.8.1 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:11 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.50: +17 -64
lines
Diff to previous 1.50 (colored)
Sync with HEAD
Revision 1.53 / (download) - annotate - [select for diffs], Sun Jan 13 02:43:53 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Changes since 1.52: +6 -36
lines
Diff to previous 1.52 (colored)
Take a micro-optimization from FreeBSD/arm. When switching from SVC32->UND32 to read/write R13_und we don't need to clear the mode bits as: PSR_SVC32_MODE | PSR_UND32_MODE = PSR_UND32_MODE While reading the code I also noted that interrupts are enabled for most of the function as pmap_switch returns with interrupts in the state they are on entry. This appears to be different to what the code after pmap_switch expects, in that the behaviour suggests they should be disabled. Because of this I've made the writing of R13_und explicitly disable. interupts as part of the mode switch. This also means that the IRQenableALL call is now redundant as the interrupts are already enabled. XXX: it's not clear if arm_fpe_core_changecontext should be called with interrupts disabled. Remove unused items: IRQdisableALL, IRQenableALL & Lcpufuncs. Tested on cats. lmbench shows no performance change.
Revision 1.52 / (download) - annotate - [select for diffs], Sat Jan 12 20:57:26 2008 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.51: +8 -3
lines
Diff to previous 1.51 (colored)
Add and fix a couple of comments.
Revision 1.51 / (download) - annotate - [select for diffs], Sat Jan 12 20:50:23 2008 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.50: +6 -28
lines
Diff to previous 1.50 (colored)
Push a switchframe in dumpsys and cpu_switchto, but as dumpsys calls other funcs a switchframe needs to be a multiple of 8 bytes. Stash sp as well in the switchframe to bump it to 24bytes. Setup the switchframe appropriately in cpu_lwp_fork. Remove savectx - nothing uses it. All of this make gdb's life much easier when dealing with crash dumps and live kernels. Reviewd by chris.
Revision 1.48.10.1 / (download) - annotate - [select for diffs], Tue Jan 1 15:39:14 2008 UTC (4 years, 4 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.48: +7 -199
lines
Diff to previous 1.48 (colored)
Sync with HEAD.
Revision 1.44.12.1.4.1 / (download) - annotate - [select for diffs], Sat Nov 10 02:56:25 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-nb4-arm
Changes since 1.44.12.1: +5 -6
lines
Diff to previous 1.44.12.1 (colored) next main 1.45 (colored)
Add AT91 support from Sami Kantoluoto Add TI OMAP2430 support from Marty Fouts @ Danger Inc
Revision 1.48.12.4 / (download) - annotate - [select for diffs], Wed Nov 7 06:24:51 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.48.12.3: +2 -1
lines
Diff to previous 1.48.12.3 (colored) to branchpoint 1.48 (colored)
Make sure instructions are aligned after .asciz
Revision 1.48.12.3 / (download) - annotate - [select for diffs], Tue Nov 6 23:14:58 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.48.12.2: +7 -204
lines
Diff to previous 1.48.12.2 (colored) to branchpoint 1.48 (colored)
sync with HEAD
Revision 1.48.6.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:06:46 2007 UTC (4 years, 6 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.48: +7 -199
lines
Diff to previous 1.48 (colored)
Sync with HEAD.
Revision 1.41.16.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:20 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.16.3: +7 -199
lines
Diff to previous 1.41.16.3 (colored) to branchpoint 1.41 (colored)
sync with head.
Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:30 2007 UTC (4 years, 7 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
chris-arm-intr-rework-base3,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs,
bouyer-xeni386
Changes since 1.49: +1 -1
lines
Diff to previous 1.49 (colored)
Merge the ppcoea-renovation branch to HEAD. This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here. TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted. NOTES: pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.46.4.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:28 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.46.4.1: +7 -199
lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)
Sync with head.
Revision 1.46.12.3 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:36 2007 UTC (4 years, 7 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.46.12.2: +7 -199
lines
Diff to previous 1.46.12.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)
Sync with HEAD
Revision 1.48.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:51 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.48: +7 -199
lines
Diff to previous 1.48 (colored) next main 1.49 (colored)
Sync with HEAD.
Revision 1.49 / (download) - annotate - [select for diffs], Sat Sep 15 09:25:21 2007 UTC (4 years, 8 months ago) by scw
Branch: MAIN
CVS Tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
ppcoea-renovation-base,
bouyer-xenamd64
Changes since 1.48: +7 -199
lines
Diff to previous 1.48 (colored)
ARM cpu_switchto() has been partially broken since yamt-idlelwp was merged as its cache/tlb management smarts relied too heavily on pre-merge context- switch behaviour. See PR kern/36548 for one manifestation of the breakage. To address this: - Ditch the shadow pmap variables in the PCB (pagedir, l1vec, dacr, cstate) as it was too easy for them to get out of sync with the pmap. - Re-write (and fix) the convoluted cpuswitch.S cache/tlb ASM code in C. It's only slightly less efficient, but is much more readable/maintainable. - Document cpufuncs.cf_context_switch() as being C-callable. - pmap_activate() becomes a no-op if the lwp's vmspace is already active. (Good performance win, since pmap_activate() is now invoked on every context-switch, even though ARM's cpu_switchto() already does all the grunt work) XXX: Some CPU-specific armXX_context_switch() implementations (arm67, arm7tdmi, arm8) always flush the I+D caches. This should not be necessary. Someone with access to hardware (acorn32?) needs to deal with this.
Revision 1.48.12.2 / (download) - annotate - [select for diffs], Tue Sep 11 19:23:53 2007 UTC (4 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.48.12.1: +14 -2
lines
Diff to previous 1.48.12.1 (colored) to branchpoint 1.48 (colored)
Add a diagnostic check for cpu_switchto(x, NULL);
Revision 1.41.16.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:14 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.16.2: +48 -488
lines
Diff to previous 1.41.16.2 (colored) to branchpoint 1.41 (colored)
sync with head.
Revision 1.48.12.1 / (download) - annotate - [select for diffs], Wed Aug 29 04:17:02 2007 UTC (4 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.48: +55 -32
lines
Diff to previous 1.48 (colored)
Reworked cpuswitch for armv6 and new world order
Revision 1.46.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:58:05 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.46: +48 -488
lines
Diff to previous 1.46 (colored) next main 1.47 (colored)
Sync with head.
Revision 1.46.12.2 / (download) - annotate - [select for diffs], Tue Jun 26 18:12:13 2007 UTC (4 years, 11 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.46.12.1: +5 -11
lines
Diff to previous 1.46.12.1 (colored) to branchpoint 1.46 (colored)
Sync with HEAD.
Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:07 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.46: +48 -488
lines
Diff to previous 1.46 (colored)
Sync with head.
Revision 1.48 / (download) - annotate - [select for diffs], Fri May 25 10:40:04 2007 UTC (5 years ago) by skrll
Branch: MAIN
CVS Tags: nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
chris-arm-intr-rework-base2,
chris-arm-intr-rework-base
Branch point for: matt-armv6,
jmcneill-pm,
hpcarm-cleanup,
chris-arm-intr-rework
Changes since 1.47: +5 -11
lines
Diff to previous 1.47 (colored)
No need to check if oldl == newl in cpu_switchto. All the callers ensure this is never the case. Fixup a few comments while I'm here.
Revision 1.46.12.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:39 2007 UTC (5 years ago) by matt
Branch: ppcoea-renovation
Changes since 1.46: +48 -482
lines
Diff to previous 1.46 (colored)
Update to HEAD.
Revision 1.47 / (download) - annotate - [select for diffs], Thu May 17 14:51:15 2007 UTC (5 years ago) by yamt
Branch: MAIN
Changes since 1.46: +48 -482
lines
Diff to previous 1.46 (colored)
merge yamt-idlelwp branch. asked by core@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular.
Revision 1.45.2.3 / (download) - annotate - [select for diffs], Sun Apr 8 08:17:52 2007 UTC (5 years, 1 month ago) by skrll
Branch: yamt-idlelwp
Changes since 1.45.2.2: +12 -1
lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)
Set curlwp in cpu_switchto and provide a cpu_did_resched. Who is copying who now?
Revision 1.45.2.2 / (download) - annotate - [select for diffs], Thu Mar 29 10:52:27 2007 UTC (5 years, 1 month ago) by skrll
Branch: yamt-idlelwp
Changes since 1.45.2.1: +48 -493
lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)
Adapt arm32. Thanks to scw for helping out. Tested on my cats (SA1) XXX hydra should die. i've made some changes, but no guarantees.
Revision 1.44.12.1 / (download) - annotate - [select for diffs], Sun Mar 4 12:15:39 2007 UTC (5 years, 2 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base
Branch point for: matt-nb4-arm
Changes since 1.44: +2 -1
lines
Diff to previous 1.44 (colored) next main 1.45 (colored)
Pull up following revision(s) (requested by matt in ticket #470): sys/arch/evbarm/iq80310/iq80310_timer.c: revision 1.20 sys/arch/evbarm/ifpga/pl030_rtc.c: revision 1.8 sys/arch/evbarm/include/types.h: revision 1.7 sys/arch/arm/arm32/genassym.cf: revision 1.30 sys/arch/arm/arm32/cpuswitch.S: revision 1.46 Get DOMAIN_CLIENT directly from arm/arm32/pte.h instead of from genassym to avoid redefinition when both assymh and pte.h are included (as in INTEGRATOR's intmmu.S, which uses more macros from pte.h). Convert evbarm to __HAVE_GENERIC_TODR.
Revision 1.45.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:49:19 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.45: +2 -1
lines
Diff to previous 1.45 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.41.16.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:54 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.16.1: +2 -16
lines
Diff to previous 1.41.16.1 (colored) to branchpoint 1.41 (colored)
sync with head.
Revision 1.46 / (download) - annotate - [select for diffs], Mon Feb 19 01:59:23 2007 UTC (5 years, 3 months ago) by briggs
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
ppcoea-renovation,
mjf-ufs-trans
Changes since 1.45: +2 -1
lines
Diff to previous 1.45 (colored)
Get DOMAIN_CLIENT directly from arm/arm32/pte.h instead of from genassym to avoid redefinition when both assymh and pte.h are included (as in INTEGRATOR's intmmu.S, which uses more macros from pte.h).
Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:02 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.44: +1 -16
lines
Diff to previous 1.44 (colored)
Merge newlock2 to head.
Revision 1.44.8.1 / (download) - annotate - [select for diffs], Tue Jan 30 11:45:26 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.44: +1 -16
lines
Diff to previous 1.44 (colored) next main 1.45 (colored)
For now always call sched_unlock_idle/sched_lock_idle. They will be removed by yamt's cpu_switchto() changes.
Revision 1.42.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:37:53 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.42: +11 -11
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
sync with head
Revision 1.41.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:16 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41: +11 -11
lines
Diff to previous 1.41 (colored)
sync with head.
Revision 1.42.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:34:14 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.42: +11 -11
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
Sync with head.
Revision 1.42.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:47:51 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.42: +11 -11
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.42.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:56:35 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.42: +11 -11
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
sync with head.
Revision 1.44 / (download) - annotate - [select for diffs], Sat May 13 08:56:08 2006 UTC (6 years ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2,
netbsd-4
Changes since 1.43: +4 -4
lines
Diff to previous 1.43 (colored)
Fix some more comments.
Revision 1.42.10.1 / (download) - annotate - [select for diffs], Thu May 11 23:26:18 2006 UTC (6 years ago) by elad
Branch: elad-kernelauth
Changes since 1.42: +8 -8
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
sync with head
Revision 1.43 / (download) - annotate - [select for diffs], Wed May 10 07:13:30 2006 UTC (6 years ago) by skrll
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.42: +8 -8
lines
Diff to previous 1.42 (colored)
Fix some comments.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:41 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.41: +1 -1
lines
Diff to previous 1.41 (colored)
merge ktrace-lwp.
Revision 1.36.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:09 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.36.2.2: +1 -1
lines
Diff to previous 1.36.2.2 (colored) next main 1.37 (colored)
Fix the sync with head I botched.
Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:32:17 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.36.2.1: +0 -0
lines
Diff to previous 1.36.2.1 (colored)
Sync with HEAD.
Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:29 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.36: +147 -101
lines
Diff to previous 1.36 (colored)
Sync with HEAD
Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 15 08:44:18 2003 UTC (8 years, 6 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
matt-timespec,
ktrace-lwp-base,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.40: +66 -34
lines
Diff to previous 1.40 (colored)
- Add LOCKDEBUG-protected calls to sched_lock_idle() to cpu_switchto and the idle loop. They seem to have gone AWOL sometime in the past. Fixes port-arm/23390. - While here, tidy up the idle loop. - Add a cheap DIAGNOSTIC check for run queue sanity.
Revision 1.40 / (download) - annotate - [select for diffs], Tue Nov 4 22:20:50 2003 UTC (8 years, 6 months ago) by scw
Branch: MAIN
Changes since 1.39: +4 -4
lines
Diff to previous 1.39 (colored)
Fix a braino introduced in r1.37. Thanks to Tom Spindler for spotting it.
Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 4 10:33:16 2003 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.38: +2 -2
lines
Diff to previous 1.38 (colored)
Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead. Remove p_raslock and rename p_lwplock p_lock (one lock is enough). Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS. Avoid unpredictable branch in i386 locore.S (pad fields left in struct proc to avoid kernel bump)
Revision 1.38 / (download) - annotate - [select for diffs], Thu Oct 23 08:59:10 2003 UTC (8 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.37: +51 -75
lines
Diff to previous 1.37 (colored)
Don't drop to spl0 in cpu_switch/cpu_switchto. Do it in the idle loop
instead.
With this change, we no longer need to save the current interrupt level
in the switchframe. This is no great loss since both cpu_switch and
cpu_switchto are always called at splsched, so the process' spl is
effectively saved somewhere in the callstack.
This fixes an evbarm problem reported by Allen Briggs:
lwp gets into sa_switch -> mi_switch with newl != NULL
when it's the last element on the runqueue, so it
hits the second bit of:
if (newl == NULL) {
retval = cpu_switch(l, NULL);
} else {
remrunqueue(newl);
cpu_switchto(l, newl);
retval = 0;
}
mi_switch calls remrunqueue() and cpu_switchto()
cpu_switchto unlocks the sched lock
cpu_switchto drops CPU priority
softclock is received
schedcpu is called from softclock
schedcpu hits the first if () {} block here:
if (l->l_priority >= PUSER) {
if (l->l_stat == LSRUN &&
(l->l_flag & L_INMEM) &&
(l->l_priority / PPQ) != (l->l_usrpri / PPQ)) {
remrunqueue(l);
l->l_priority = l->l_usrpri;
setrunqueue(l);
} else
l->l_priority = l->l_usrpri;
}
Since mi_switch has already run remrunqueue, the LWP has been
removed, but it's not been put back on any queue, so the
remrunqueue panics.
Revision 1.37 / (download) - annotate - [select for diffs], Mon Oct 13 21:44:27 2003 UTC (8 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.36: +47 -9
lines
Diff to previous 1.36 (colored)
A couple of Xscale tweaks: - Use the "clz" instruction to pick a run-queue, instead of using the ffs-by-table-lookup method. - Use strd instead of stmia where possible. - Use multiple ldr instructions instead of ldmia where possible.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:07 2003 UTC (8 years, 11 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.35: +2 -1
lines
Diff to previous 1.35 (colored)
Make sure to include opt_foo.h if a defflag option FOO is used.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 23 09:05:22 2003 UTC (8 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.34: +1 -5
lines
Diff to previous 1.34 (colored)
Fix for port-arm/21962. Rather than fixing the #ifndef spl0, I removed the test as spl0 is actually a macro for splx(0). The code now calls splx(0) (note building with the #ifdef fixed, caused the build to fail on a GENERIC acorn32 kernel.)
Revision 1.34 / (download) - annotate - [select for diffs], Sat May 31 01:40:05 2003 UTC (8 years, 11 months ago) by kristerw
Branch: MAIN
Changes since 1.33: +4 -2
lines
Diff to previous 1.33 (colored)
Fix LINTSTUB comments.
Revision 1.33 / (download) - annotate - [select for diffs], Wed May 21 18:04:42 2003 UTC (9 years ago) by thorpej
Branch: MAIN
Changes since 1.32: +3 -103
lines
Diff to previous 1.32 (colored)
Remove #ifdefs supporting the old pmap, switching fully to the new.
Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 26 17:50:21 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Changes since 1.31: +3 -2
lines
Diff to previous 1.31 (colored)
Remove a strh. I don't think it's available on archv3 and it doesn't work on acorn32's with an SA110 in them as the bus doesn't support halfword transfers.
Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 22 00:24:49 2003 UTC (9 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
Some ARM32_PMAP_NEW-related cleanup: * Define a new "MMU type", ARM_MMU_SA1. While the SA-1's MMU is basically compatible with the generic, the SA-1 cache does not have a write-through mode, and it is useful to know have an indication of this. * Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at compile time. We evaluate it like so: - If SA-1-style MMU is the only type configured -> 1 - If SA-1-style MMU is not configured -> 0 - Otherwise, defer to a run-time variable. If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly code can include the necessary run-time support. PMAP_INCLUDE_PTE_SYNC largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve included with the original new pmap. * In the new pmap, make pmap_pte_init_generic() check to see if the CPU has a write-back cache. If so, init the PT cache mode to C=1,B=0 to get write-through mode. Otherwise, init the PT cache mode to C=1,B=1. * Add a new pmap_pte_init_arm8(). Old pmap, same as generic. New pmap, sets page table cacheability to 0 (ARM8 has a write-back cache, but flushing it is quite expensive). * In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to C=1,B=0, since the write-back check in generic gets it wrong for ARM9, since we use write-through mode all the time on ARM9 right now. (What this really tells me is that the test for write-through cache is less than perfect, but we can fix that later.) * Add a new pmap_pte_init_sa1(). Old pmap, same as generic. New pmap, does generic initialization, then resets page table cache mode to C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 18 11:08:25 2003 UTC (9 years, 1 month ago) by scw
Branch: MAIN
Changes since 1.29: +319 -2
lines
Diff to previous 1.29 (colored)
Add the generic arm32 bits of the new pmap, contributed by Wasabi Systems. Some features of the new pmap are: - It allows L1 descriptor tables to be shared efficiently between multiple processes. A typical "maxusers 32" kernel, where NPROC is set to 532, requires 35 L1s. A "maxusers 2" kernel runs quite happily with just 4 L1s. This completely solves the problem of running out of contiguous physical memory for allocating new L1s at runtime on a busy system. - Much improved cache/TLB management "smarts". This change ripples out to encompass the low-level context switch code, which is also much smarter about when to flush the cache/TLB, and when not to. - Faster allocation of L2 page tables and associated metadata thanks, in part, to the pool_cache enhancements recently contributed to NetBSD by Wasabi Systems. - Faster VM space teardown due to accurate referenced tracking of L2 page tables. - Better/faster cache-alias tracking. The new pmap is enabled by adding options ARM32_PMAP_NEW to the kernel config file, and making the necessary changes to the port-specific initarm() function. Several ports have already been converted and will be committed shortly.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 17 22:28:49 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +240 -116
lines
Diff to previous 1.28 (colored)
Merge the nathanw_sa branch.
Revision 1.3.2.28 / (download) - annotate - [select for diffs], Tue Jan 7 23:51:53 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.2.27: +7 -9
lines
Diff to previous 1.3.2.27 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Shave a couple of cycles off the beginning of cpu_switch().
Revision 1.3.2.27 / (download) - annotate - [select for diffs], Fri Jan 3 21:19:10 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.26: +33 -114
lines
Diff to previous 1.3.2.26 (colored) to branchpoint 1.3 (colored)
Merge switch_exit() and switch_lwp_exit(), and hand-schedule the resulting function to avoid stalls on StrongARM and XScale.
Revision 1.3.2.26 / (download) - annotate - [select for diffs], Tue Dec 31 01:03:47 2002 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.25: +3 -52
lines
Diff to previous 1.3.2.25 (colored) to branchpoint 1.3 (colored)
Rename cpu_preempt() to cpu_switchto(), and make the caller remove the new process from its run queue before calling cpu_switchto(). While here, make a few cpu_switch() and cpu_switchto() implementations get the outgoing LWP from the args, rather than looking at the curlwp variable.
Revision 1.28.2.7 / (download) - annotate - [select for diffs], Thu Oct 24 21:25:46 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28.2.6: +7 -1
lines
Diff to previous 1.28.2.6 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)
Flush the cache before reading sched_whichqs. This is entirely the wrong way to do this, but it should work (very slowly) until I work out the right way.
Revision 1.28.2.6 / (download) - annotate - [select for diffs], Sat Oct 19 15:13:23 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28.2.5: +20 -1
lines
Diff to previous 1.28.2.5 (colored) to branchpoint 1.28 (colored)
Switch to the idle PCB in the idle loop.
Revision 1.28.2.5 / (download) - annotate - [select for diffs], Sat Oct 19 13:30:43 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28.2.4: +52 -14
lines
Diff to previous 1.28.2.4 (colored) to branchpoint 1.28 (colored)
In cpu_switch and cpu_exit, use curcpu to find curproc and curpcb, rather than assuming CPU 0. Also fix a register-shuffling botch in cpu_exit.
Revision 1.28.2.4 / (download) - annotate - [select for diffs], Sat Oct 19 12:40:25 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28.2.3: +11 -19
lines
Diff to previous 1.28.2.3 (colored) to branchpoint 1.28 (colored)
Reshuffle register usage in cpu_exit along the lines of cpu_switch to reduce saving and restoring of registers.
Revision 1.28.2.3 / (download) - annotate - [select for diffs], Sat Oct 19 12:24:12 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28.2.2: +38 -48
lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored)
Redo the following revision: syssrc/sys/arch/arm/arm32/cpuswitch.S 1.27 Original log message: The grand cpu_switch register reshuffle! In particular, use r8 to hold the old process, and r7 for medium-term scratch, saving r0-r3 for things we don't need saved over function calls. This gets rid of five register-to-register MOVs.
Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Oct 19 11:59:36 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28.2.1: +665 -0
lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)
Re-do the following revisions, this time on a branch where they won't interfere with the nathanw_sa merge: syssrc/sys/arch/arm/arm32/cpuswitch.S 1.26 syssrc/sys/arch/arm/arm32/genassym.cf 1.18 syssrc/sys/arch/arm/arm32/vm_machdep.c 1.21 syssrc/sys/arch/arm/include/pcb.h 1.5 Original commit message: In cpu_switch(), stack more registers at the start of the function, and hence save fewer into the PCB. This should give me enough free registers in cpu_switch to tidy things up and support MULTIPROCESSOR properly. While we're here, make the stacked registers into an APCS stack frame, so that DDB backtraces through cpu_switch() will work. This also affects cpu_fork(), which has to fabricate a switchframe and PCB for the new process.
Revision 1.28.2.1, Sat Oct 19 00:10:53 2002 UTC (9 years, 7 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.28: +0 -661
lines
FILE REMOVED
file cpuswitch.S was added on branch bjh21-hydra on 2002-10-19 11:59:36 +0000
Revision 1.28 / (download) - annotate - [select for diffs], Sat Oct 19 00:10:53 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base,
bjh21-hydra-base
Branch point for: bjh21-hydra
Changes since 1.27: +58 -52
lines
Diff to previous 1.27 (colored)
Undo recent cpu_switch register usage changes in order to decrease nathanw_sa merge pain.
Revision 1.27 / (download) - annotate - [select for diffs], Fri Oct 18 23:06:33 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.26: +38 -48
lines
Diff to previous 1.26 (colored)
The grand cpu_switch register reshuffle! In particular, use r8 to hold the old process, and r7 for medium-term scratch, saving r0-r3 for things we don't need saved over function calls. This gets rid of five register-to-register MOVs.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Oct 18 21:32:57 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.25: +19 -15
lines
Diff to previous 1.25 (colored)
In cpu_switch(), stack more registers at the start of the function, and hence save fewer into the PCB. This should give me enough free registers in cpu_switch to tidy things up and support MULTIPROCESSOR properly. While we're here, make the stacked registers into an APCS stack frame, so that DDB backtraces through cpu_switch() will work. This also affects cpu_fork(), which has to fabricate a switchframe and PCB for the new process.
Revision 1.3.2.25 / (download) - annotate - [select for diffs], Fri Oct 18 02:35:20 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.24: +34 -139
lines
Diff to previous 1.3.2.24 (colored) to branchpoint 1.3 (colored)
Catch up to -current.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 15 20:53:38 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.24: +1 -124
lines
Diff to previous 1.24 (colored)
Switch to using the MI C versions of setrunqueue() and remrunqueue(). GCC produces almost exactly the same instructions as the hand-assembled versions, albeit in a different order. It even found one place where it could shave one off. Its insistence on creating a stack frame might slow things down marginally, but not, I think, enough to matter.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 14 22:32:50 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.23: +2 -3
lines
Diff to previous 1.23 (colored)
Continue the " - . - 8" purge. Specifically: add rd, pc, #foo - . - 8 -> adr rd, foo ldr rd, [pc, #foo - . - 8] -> ldr rd, foo Also, when saving the return address for a function pointer call, use "mov lr, pc" just before the call unless the return address is somewhere other than just after the call site. Finally, a few obvious little micro-optimisations like using LDR directly rather than ADR followed by LDR, and loading directly into PC rather than bouncing via R0.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 13 14:54:48 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.22: +7 -12
lines
Diff to previous 1.22 (colored)
Instead of "add rd, pc, #foo - . - 8", use either "adr rd, foo" or (where appropriate) "mov lr, pc". This makes things slightly less confusing and ugly.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 12 12:20:10 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.21: +7 -2
lines
Diff to previous 1.21 (colored)
Move curpcb into struct cpu_info in MULTIPROCESSOR kernels.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 9 22:28:03 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (colored)
Use ADR rather than an explicit ADD from PC.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 8 23:48:24 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.19: +1 -2
lines
Diff to previous 1.19 (colored)
Remove an outdated register assignment comment.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 5 13:46:59 2002 UTC (9 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.18: +23 -5
lines
Diff to previous 1.18 (colored)
Minimal changes to allow a kernel with "options MULTIPROCESSOR" to compile and boot multi-user on a single-processor machine. Many of these changes are wildly inappropriate for actual multi-processor operation, and correcting this will be my next task.
Revision 1.3.2.24 / (download) - annotate - [select for diffs], Wed Sep 18 23:57:32 2002 UTC (9 years, 8 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.23: +12 -8
lines
Diff to previous 1.3.2.23 (colored) to branchpoint 1.3 (colored)
Fix cpu_switch() after RAS integration from trunk.
Revision 1.3.2.23 / (download) - annotate - [select for diffs], Tue Sep 17 23:50:18 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.22: +4 -4
lines
Diff to previous 1.3.2.22 (colored) to branchpoint 1.3 (colored)
Rearrange slightly and pass p, not l, to ras_lookup().
Revision 1.3.2.22 / (download) - annotate - [select for diffs], Tue Sep 17 21:13:20 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.21: +31 -11
lines
Diff to previous 1.3.2.21 (colored) to branchpoint 1.3 (colored)
Catch up to -current.
Revision 1.1.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:32:22 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.5: +173 -123
lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync kqueue branch with HEAD
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Aug 31 16:38:03 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.7.2.1: +23 -1
lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
catch up with -current.
Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 31 03:07:32 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base,
gehenna-devsw-base
Changes since 1.17: +23 -1
lines
Diff to previous 1.17 (colored)
Add machine-dependent bits of RAS for arm32.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:06 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.7: +151 -123
lines
Diff to previous 1.7 (colored)
catch up with -current.
Revision 1.3.2.21 / (download) - annotate - [select for diffs], Tue Aug 20 15:21:29 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.20: +65 -18
lines
Diff to previous 1.3.2.20 (colored) to branchpoint 1.3 (colored)
Check to see if the incoming LWP has the same L1 table as the outgoing LWP. If so, then we can skip the cache purge and TTB reload. This results in a ~40% reduction in cache purges called from cpu_switch() in my test using two threaded applications which communicate with each other.
Revision 1.3.2.20 / (download) - annotate - [select for diffs], Mon Aug 19 21:39:00 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.19: +125 -116
lines
Diff to previous 1.3.2.19 (colored) to branchpoint 1.3 (colored)
Partial (ARM only) sync with trunk -- significant performance improvements for XScale-based systems.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 17 16:36:33 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +40 -46
lines
Diff to previous 1.16 (colored)
More local label fixups.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 17 01:08:21 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +23 -17
lines
Diff to previous 1.15 (colored)
Must ... micro ... optimize! * Save an instruction in the transition from idle to have-process-to- switch-to, and eliminate two instructions that cause datadep-stalls on StrongARM And XScale (one in each idle block). * Rearrange some other instructions to avoid datadep-stalls on StrongARM and XScale. * Since cpu_do_powersave == 0 is by far the common case, avoid a pipeline flush by reordering the two idle blocks.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 16 15:25:54 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +28 -20
lines
Diff to previous 1.14 (colored)
* Add a new machdep.powersave sysctl, which controls the use of the CPU's "sleep" function in the idle loop. * Default all CPUs to not use powersave, except for the PDA processors (SA11x0 and PXA2x0). This significantly reduces inteterrupt latency in high-performance applications (and was good to squeeze another ~10% out of an XScale IOP on a Gig-E benchmark).
Revision 1.14 / (download) - annotate - [select for diffs], Thu Aug 15 01:37:01 2002 UTC (9 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.13: +27 -27
lines
Diff to previous 1.13 (colored)
* Use local label names (.Lfoo vs. (Lfoo or foo)) * When moving from cpsr, use "cpsr" instead of "cpsr_all" (which is provided, but doesn't make sense since mrs doesn't support fields like msr does).
Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 14 23:23:06 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +13 -13
lines
Diff to previous 1.12 (colored)
We only need to modify the CPSR's control field, so use cpsr_c rather than cpsr_all.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 14 23:07:36 2002 UTC (9 years, 9 months ago) by chris
Branch: MAIN
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
Tweak asm to avoid a couple of stalls.
Revision 1.3.2.19 / (download) - annotate - [select for diffs], Mon Aug 12 21:00:26 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.18: +7 -8
lines
Diff to previous 1.3.2.18 (colored) to branchpoint 1.3 (colored)
Rearrange the beginning of cpu_switch() slightly to reduce data-dep stalls on StrongARM and XScale.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 12 21:00:12 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +7 -8
lines
Diff to previous 1.10 (colored)
Rearrange the beginning of cpu_switch() slightly to reduce data-dep stalls on StrongARM and XScale.
Revision 1.3.2.18 / (download) - annotate - [select for diffs], Mon Aug 12 20:52:14 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.17: +39 -1
lines
Diff to previous 1.3.2.17 (colored) to branchpoint 1.3 (colored)
Add the requisite calls to sched_lock_idle() and sched_unlock_idle() if LOCKDEBUG is defined, as is done on the trunk.
Revision 1.3.2.17 / (download) - annotate - [select for diffs], Mon Aug 12 20:34:50 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.16: +7 -10
lines
Diff to previous 1.3.2.16 (colored) to branchpoint 1.3 (colored)
More register usage tweaks to reduce differences with trunk.
Revision 1.3.2.16 / (download) - annotate - [select for diffs], Mon Aug 12 20:21:25 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.15: +6 -4
lines
Diff to previous 1.3.2.15 (colored) to branchpoint 1.3 (colored)
Tweak register usage in cpu_switch() slightly to reduce differences with the trunk.
Revision 1.3.2.15 / (download) - annotate - [select for diffs], Mon Aug 12 20:13:57 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.14: +5 -7
lines
Diff to previous 1.3.2.14 (colored) to branchpoint 1.3 (colored)
Tweak register usage in cpu_preempt() slightly.
Revision 1.3.2.14 / (download) - annotate - [select for diffs], Mon Aug 12 20:02:00 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.13: +4 -6
lines
Diff to previous 1.3.2.13 (colored) to branchpoint 1.3 (colored)
Reduce some differences with the trunk.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 12 19:33:01 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +4 -8
lines
Diff to previous 1.9 (colored)
Make a slight tweak to register usage to save an instruction.
Revision 1.3.2.13 / (download) - annotate - [select for diffs], Tue Aug 6 19:22:20 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.12: +50 -15
lines
Diff to previous 1.3.2.12 (colored) to branchpoint 1.3 (colored)
Rearrange the exit path so that we don't do a idcache_wbinv_all *twice* when a process or lwp exits.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Aug 6 19:20:29 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +41 -15
lines
Diff to previous 1.8 (colored)
Rearrange the exit path so that we don't do a idcache_wbinv_all *twice* when a process exits.
Revision 1.3.2.12 / (download) - annotate - [select for diffs], Tue Aug 6 17:45:38 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.11: +10 -12
lines
Diff to previous 1.3.2.11 (colored) to branchpoint 1.3 (colored)
* In switch_exit()/switch_lwp_exit(), set the outgoing-lwp register to NULL (rather than lwp0) so that we actually use the "exiting process" optimization in cpu_switch(). * Correct some comments.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 6 17:44:35 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +4 -5
lines
Diff to previous 1.7 (colored)
* Pass proc0 to switch_exit(), to make this a little more like the nathanw_sa branch. * In switch_exit(), set the outgoing-proc register to NULL (rather than proc0) so that we actually use the "exiting process" optimization in cpu_switch().
Revision 1.3.2.11 / (download) - annotate - [select for diffs], Mon Aug 5 23:08:55 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.10: +7 -2
lines
Diff to previous 1.3.2.10 (colored) to branchpoint 1.3 (colored)
Fix cpu_preempt() for the __NEWINTR case.
Revision 1.3.2.10 / (download) - annotate - [select for diffs], Mon Aug 5 19:51:45 2002 UTC (9 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.9: +27 -60
lines
Diff to previous 1.3.2.9 (colored) to branchpoint 1.3 (colored)
Back out the changes that implement the scheduler locking protocol. The register usage in this file is very different than on the trunk, and so the changes made to the trunk don't really apply here. Fix up some comments while here.
Revision 1.3.2.9 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:50 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.8: +13 -13
lines
Diff to previous 1.3.2.8 (colored) to branchpoint 1.3 (colored)
Curproc->curlwp renaming. Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp". "curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:44 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.4: +50 -15
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)
catch up with -current on kqueue branch
Revision 1.3.2.8 / (download) - annotate - [select for diffs], Fri Jun 21 23:43:50 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.7: +2 -2
lines
Diff to previous 1.3.2.7 (colored) to branchpoint 1.3 (colored)
switch_search -> Lswitch_search in switch_exit().
Revision 1.3.2.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:38:04 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.6: +65 -17
lines
Diff to previous 1.3.2.6 (colored) to branchpoint 1.3 (colored)
Catch up to -current.
Revision 1.7 / (download) - annotate - [select for diffs], Tue May 14 19:22:34 2002 UTC (10 years ago) by chris
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.6: +50 -15
lines
Diff to previous 1.6 (colored)
Implement scheduler lock protocol, this fixes PR arm/10863. Also add correct locking when freeing pages in pmap_destroy (fix from potr) This now means that arm32 kernels can be built with LOCKDEBUG enabled. (only tested on cats though)
Revision 1.3.2.6 / (download) - annotate - [select for diffs], Thu Apr 11 07:00:15 2002 UTC (10 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.5: +2 -2
lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored)
Make this compile again.
Revision 1.3.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:07:21 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.4: +3 -3
lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored)
Catch up to -current.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:18 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.3: +3 -3
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)
Sync w/ -current.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 25 19:19:24 2002 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base,
newlock,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Overhaul of the ARM cache code. This is mostly a simplification pass. Rather than providing a whole slew of cache operations that aren't ever used, distill them down to some useful primitives: icache_sync_all Synchronize I-cache icache_sync_range Synchronize I-cache range dcache_wbinv_all Write-back and Invalidate D-cache dcache_wbinv_range Write-back and Invalidate D-cache range dcache_inv_range Invalidate D-cache range dcache_wb_range Write-back D-cache range idcache_wbinv_all Write-back and Invalidate D-cache, Invalidate I-cache idcache_wbinv_range Write-back and Invalidate D-cache, Invalidate I-cache range Note: This does not yet include an overhaul of the actual asm files that implement the primitives. Instead, we've provided a safe default for each CPU type, and the individual CPU types can now be optimized one at a time.
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:48 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.1.2.2: +23 -53
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
Sync kqueue branch with -current.
Revision 1.3.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:23:08 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.3: +17 -48
lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)
Catch up to -current.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 29 17:14:02 2001 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -27
lines
Diff to previous 1.4 (colored)
Provide a way for platforms to move away from the old RiscPC-centric interrupt code. Garbage-collect some unused stuff.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Nov 29 16:20:54 2001 UTC (10 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.2: +2 -2
lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)
l_stat is an int now instead of a u_char. Pointed out by pk in a commit message.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 19 20:38:58 2001 UTC (10 years, 6 months ago) by chris
Branch: MAIN
Changes since 1.3: +12 -23
lines
Diff to previous 1.3 (colored)
Give the idle loop a non-profiled entry, means it appears in profile info correctly (rather than all it's time being under remrunqueue) switch_exit only needs to take 1 parameter, it loads the value of proc0 into R1 itself Fixup some comments to reflect the real state of things. Tweak a couple of bits of asm to avoid a load delay. remove excess code for setting curpcb and curproc.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Nov 15 06:39:21 2001 UTC (10 years, 6 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.1: +888 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)
Machine-dependent kernel mods for scheduler activations on 32-bit ARM processors. Kernel boots multi-user on an XScale, but upcalls not yet tested.
Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:16:29 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.2: +6 -5
lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.3.2.1, Sun Nov 11 22:07:41 2001 UTC (10 years, 6 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3: +0 -714
lines
FILE REMOVED
file cpuswitch.S was added on branch nathanw_sa on 2001-11-15 06:39:21 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 11 22:07:41 2001 UTC (10 years, 6 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Changes since 1.2: +6 -5
lines
Diff to previous 1.2 (colored)
Correct comments for ffs algoritm (it isn't using register r0)
Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:37:33 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Catch up with -current.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 16 17:38:08 2001 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Fix .type which uses wrong symbol name.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:58 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.1.2.1: +713 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
update to -current
Revision 1.1.2.1, Sat Jul 28 13:28:03 2001 UTC (10 years, 10 months ago) by lukem
Branch: kqueue
Changes since 1.1: +0 -713
lines
FILE REMOVED
file cpuswitch.S was added on branch kqueue on 2001-08-03 04:10:58 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 28 13:28:03 2001 UTC (10 years, 10 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp,
kqueue
Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.