The NetBSD Project

CVS log for src/sys/arch/arm/arm/arm_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / arm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.68 / (download) - annotate - [select for diffs], Wed Oct 4 20:28:05 2023 UTC (6 months, 1 week ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.67: +5 -7 lines
Diff to previous 1.67 (colored)

Eliminate l->l_ncsw and l->l_nivcsw.  From memory think they were added
before we had per-LWP struct rusage; the same is now tracked there.

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:16 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.64.2.1: +12 -3 lines
Diff to previous 1.64.2.1 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Feb 21 08:47:13 2021 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.66: +5 -2 lines
Diff to previous 1.66 (colored)

KNF consistency

Revision 1.66 / (download) - annotate - [select for diffs], Sun Feb 21 08:46:28 2021 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.65: +9 -3 lines
Diff to previous 1.65 (colored)

Some preemption updates - still not being used (yet)

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:47 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.64: +8 -9 lines
Diff to previous 1.64 (colored)

Sync w/ HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Dec 1 02:43:13 2020 UTC (3 years, 4 months ago) by rin
Branch: MAIN
Changes since 1.64: +8 -9 lines
Diff to previous 1.64 (colored)

Switch earmv6{,hf}eb to BE8 in kernel side.

My strategy here is to define _ARM_ARCH_BE8 macro in arm/cdefs.h, if
__ARMEB__ && _ARM_ARCH_6.

Use this macro to determine whether system is compiled for and running on
BE8 mode or not.

Note that, for __ARMEB__, some conditions become compile-time constants
determined by _ARM_ARCH_BE8 macro, e.g., whether BE8 or BE32 are accepted
as a userland binary, or unaligned memory access is possible or not.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 14 16:18:36 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.63: +26 -4 lines
Diff to previous 1.63 (colored)

Mirror the changes to aarch64 and

- Switch to TPIDRPRW_IS_CURLWP, because curlwp is accessed much more often
  by MI code.  It also makes curlwp preemption safe,

- Make ASTs operate per-LWP rather than per-CPU, otherwise sometimes LWPs
  can see spurious ASTs (which doesn't cause a problem, it just means some
  time may be wasted).

- Make sure ASTs are always set on the same CPU as the target LWP, and
  delivered via IPI if posted from a remote CPU so that they are resolved
  quickly.

- Add some cache line padding to struct cpu_info.

- Add a memory barrier in a couple of places where ci_curlwp is set.  This
  is needed whenever an LWP that is resuming on the CPU could hold an
  adaptive mutex.  The barrier needs to drain the CPU's store buffer, so
  that the update to ci_curlwp becomes globally visible before the LWP can
  resume and call mutex_exit().

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:27 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.53.4.1: +49 -71 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Merge changes from current as of 20200406

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.60.2.1: +12 -14 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:10 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.62: +12 -14 lines
Diff to previous 1.62 (colored)

Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
  drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
  - a static cpu_info_store array
  - the same arm_cpu_{hatched,mbox}

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:37 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jan 22 10:52:35 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Oops, the cast is required

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jan 21 04:59:47 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Remove unnecessary cast

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jan 7 09:57:10 2020 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored)

KNF

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jan 7 09:55:30 2020 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Give __HAVE_PIC_FAST_SOFTINTS a chance of compiling

Revision 1.58 / (download) - annotate - [select for diffs], Tue Dec 3 15:20:59 2019 UTC (4 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.57: +4 -2 lines
Diff to previous 1.57 (colored)

Use __insn_barrier to enforce ordering in l_ncsw loops.

(Only need ordering observable by interruption, not by other CPUs.)

Revision 1.57 / (download) - annotate - [select for diffs], Sun Dec 1 14:52:13 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.56: +20 -5 lines
Diff to previous 1.56 (colored)

Make cpu_intr_p() safe to use anywhere, i.e. outside assertions:

Don't call kpreempt_disable() / kpreempt_enable() to make sure we're not
preempted while using the value of curcpu().  Instead, observe the value of
l_ncsw before and after the check to see if we have been preempted.  If
we have been preempted, then we need to retry the read.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Nov 23 19:40:34 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.55: +14 -51 lines
Diff to previous 1.55 (colored)

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 1.53.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:51 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.53: +5 -17 lines
Diff to previous 1.53 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:24 2019 UTC (5 years ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.54: +2 -14 lines
Diff to previous 1.54 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:25 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.54 / (download) - annotate - [select for diffs], Wed Aug 15 05:57:01 2018 UTC (5 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

sort #include "opt_..." entries

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:44 2018 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.52: +2 -8 lines
Diff to previous 1.52 (colored)

Remove port-acorn26

OK core@

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:51 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.36.2.1: +59 -8 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

update from HEAD

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:29 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43.2.1: +11 -7 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jul 23 13:35:15 2017 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Trailing whitespace

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:00 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49.2.1: +8 -4 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:22 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.49: +9 -5 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 4 11:46:12 2017 UTC (7 years ago) by sevan
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.50: +8 -4 lines
Diff to previous 1.50 (colored)

Define NCPUINFO and set it to 1 or MAXCPUS whether on single or multiprocessor system.
Use NCPUINFO as the array size for *cpu_info[].
Closes PR port-hpcarm/52138
Patch by skrll
ok pgoyette

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:10 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 16 16:13:20 2017 UTC (7 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

allow pcu_save() and pcu_discard() to be called on other threads,
ptrace needs to use it that way.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:55 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43: +52 -6 lines
Diff to previous 1.43 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Sat May 2 16:20:41 2015 UTC (8 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.48: +5 -7 lines
Diff to previous 1.48 (colored)

Remove unintended commit

Revision 1.48 / (download) - annotate - [select for diffs], Sat May 2 16:18:49 2015 UTC (8 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.47: +7 -5 lines
Diff to previous 1.47 (colored)

Move /* A5.2.10 Synchronisation primitives */ block earlier so it
matches correctly

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 15 21:26:48 2015 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.46: +7 -8 lines
Diff to previous 1.46 (colored)

Make setsoftast take a cpu_info *

Revision 1.46 / (download) - annotate - [select for diffs], Wed Apr 8 18:10:08 2015 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.45: +36 -4 lines
Diff to previous 1.45 (colored)

Don't clear CI_ASTPENDING in exception return, do it in ast() instead.
Add basic support for __HAVE_PREEMPTION.
Use atomic ops for ci_astpending if __HAVE_PREEMPTION is defined.
Use kpreempt_disable/kpreempt_enable

Revision 1.45 / (download) - annotate - [select for diffs], Wed Apr 8 16:37:32 2015 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Small tweaks for preemption.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 8 07:29:44 2015 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.43: +18 -3 lines
Diff to previous 1.43 (colored)

Add an agnostic version of curlwp and curcpu() for modules since they won't
know if the kernel was built with TPIDRPRW_IS_CUR{LWP,CPU} or not.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun Nov 9 16:05:25 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Pull up following revision(s) (requested by skrll in ticket #188):
	sys/arch/arm/include/arm32/pmap.h: revision 1.136
	sys/arch/arm/include/armreg.h: revision 1.100
	sys/arch/arm/cortex/gic.c: revision 1.11
	sys/arch/arm/arm32/db_interface.c: revision 1.54
	sys/arch/arm/include/armreg.h: revision 1.101
	sys/arch/arm/cortex/gic.c: revision 1.12
	sys/arch/arm/arm32/arm32_machdep.c: revision 1.107
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.19
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.20
	sys/arch/evbarm/conf/BPI: revision 1.5
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.21
	sys/arch/arm/arm32/pmap.c: revision 1.306
	sys/arch/arm/arm32/db_machdep.c: revision 1.22
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.3
	sys/arch/arm/arm/undefined.c: revision 1.55
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.22
	sys/arch/arm/arm32/pmap.c: revision 1.307
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.4
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.23
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.5
	sys/arch/evbarm/conf/BPI: revision 1.8
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.24
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.6
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.7
	sys/arch/evbarm/conf/CUBIETRUCK: revision 1.5
	sys/arch/arm/pic/pic.c: revision 1.23
	sys/arch/arm/pic/pic.c: revision 1.24
	sys/arch/arm/pic/picvar.h: revision 1.11
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.20
	sys/arch/arm/mainbus/cpu_mainbus.c: revision 1.16
	sys/arch/arm/arm32/pmap.c: revision 1.298
	sys/arch/arm/arm/cpufunc_asm_arm11.S: revision 1.17
	sys/arch/arm/arm/cpufunc_asm_pj4b.S: revision 1.5
	sys/arch/arm/arm32/pmap.c: revision 1.310
	sys/arch/arm/arm32/pmap.c: revision 1.311
	sys/arch/arm/arm32/arm32_kvminit.c: revision 1.32
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.19
	sys/arch/arm/arm32/arm32_boot.c: revision 1.10
	sys/arch/arm/arm/ast.c: revision 1.25
	sys/arch/arm/include/armreg.h: revision 1.98
	sys/uvm/pmap/pmap_tlb.c: revision 1.10
	sys/arch/arm/arm32/arm32_boot.c: revision 1.8
	sys/arch/arm/arm32/arm32_boot.c: revision 1.9
	sys/arch/arm/arm/arm_machdep.c: revision 1.43
Various ARM MP fixes.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Oct 29 14:14:14 2014 UTC (9 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

Sprinkle #include "opt_multiprocessor.h"

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:44 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.36: +19 -7 lines
Diff to previous 1.36 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:50 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.40: +6 -3 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Rebase.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jun 14 09:13:30 2014 UTC (9 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Fix typo

Revision 1.30.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:30 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.30.4.2: +18 -6 lines
Diff to previous 1.30.4.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:56 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.36.4.1: +16 -4 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Wed Apr 16 22:33:07 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 (colored)

Pendantic structure member initialization.  (setting a field to 0 which is 0).

Revision 1.21.8.2 / (download) - annotate - [select for diffs], Wed Mar 26 02:01:10 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.21.8.1: +11 -3 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

If BE on armv7, set PSR_E_BIT

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:35 2014 UTC (10 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.21: +133 -30 lines
Diff to previous 1.21 (colored)

Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 10 18:03:26 2014 UTC (10 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.39: +12 -3 lines
Diff to previous 1.39 (colored)

Make sure to start BE-8 programs with the PSR[E] set.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 6 02:34:10 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

add diagused

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:11 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Fri Aug 23 05:22:01 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Reap LWP_VFPUSED and use PCU internal tracking.
Add bool vfp_used_p(void);

Revision 1.37 / (download) - annotate - [select for diffs], Sun Aug 18 06:28:18 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>

Revision 1.30.12.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:09 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.30: +83 -79 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:55 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.30.4.1: +83 -19 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Fri Aug 31 23:59:51 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.35: +61 -6 lines
Diff to previous 1.35 (colored)

Make cpu_reset, most of initarm and the kvm init code common.
Add MP hooks for cpu_need_resced
Add idlestck which is allocated in arm32_kvminit

Revision 1.35 / (download) - annotate - [select for diffs], Wed Aug 29 23:10:31 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.34: +15 -2 lines
Diff to previous 1.34 (colored)

Don't use locations in .data to store exception temporaries, use decidicated
space in cpu_info instead.  This also moves undefined_handler_address into
cpu_info as well.
Use the new armreg* inlines for getting TPIDRPRW register.
Add MULTIPROCESSOR version of CPU_INFO_FOREACH

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 29 07:14:03 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.33: +2 -4 lines
Diff to previous 1.33 (colored)

Rename ARM options PROCESS_ID_IS_CUR{CPU,LWP} to TPIDRPRW_IS_CUR{CPU,LWP}
since TPIDRPRW is the cp15 register name.
Initialize it early in start along with CI_ARM_CPUID.
Remove other initializations.
We alays have ci_curlwp.
Enable TIPRPRW_IS_CURCPU in std.beagle.
[tested on a beaglboard (cortex-a8)]

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 16 17:35:01 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.32: +5 -11 lines
Diff to previous 1.32 (colored)

small rototill.
pcb_flags is dead.  PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT.  This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf.  Again this avoids a lot of pcb
references just to access or set this.  It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Aug 12 05:05:47 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.31: +9 -5 lines
Diff to previous 1.31 (colored)

Rework VFP support to use PCU.
Add emulation of instruction which save/restore the VFP FPSCR.
Add a sysarch hook to VFP FPSCR manipulation.

[The emulation will be used by libc to store/fetch exception modes and
rounding mode on a per-thread basis.]

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:03 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.30: +2 -62 lines
Diff to previous 1.30 (colored)

sync with head

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:27 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.30: +2 -62 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync to -current.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:04 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10
Changes since 1.30: +2 -62 lines
Diff to previous 1.30 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:01 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:28 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.27.4.1: +15 -3 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:31 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:25 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache, matt-nb6-plus, jmcneill-usbmp
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:00 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.27.2.1: +12 -0 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.18.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:38 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.4.3: +20 -11 lines
Diff to previous 1.18.4.3 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 7 01:17:26 2010 UTC (13 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.28: +14 -2 lines
Diff to previous 1.28 (colored)

implement ucas_* for arm.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:37 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.27: +8 -11 lines
Diff to previous 1.27 (colored)

sync with head

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:07 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.27: +8 -11 lines
Diff to previous 1.27 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 23 19:18:09 2010 UTC (13 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.27: +8 -11 lines
Diff to previous 1.27 (colored)

Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.
As discussed, a while ago, with ad@.

Revision 1.18.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:03 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.4.2: +9 -8 lines
Diff to previous 1.18.4.2 (colored) to branchpoint 1.18 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:49 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 21 20:32:17 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.25: +8 -7 lines
Diff to previous 1.25 (colored)

Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:45:58 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.4.1: +6 -2 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Aug 15 23:44:58 2009 UTC (14 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored)

Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
do it for us.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:10:38 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18: +94 -5 lines
Diff to previous 1.18 (colored)

sync with head.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:56 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.21: +34 -5 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:51 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.17.6.1: +92 -3 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 16 01:03:47 2009 UTC (15 years, 3 months ago) by bjh21
Branch: MAIN
CVS Tags: 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
Changes since 1.23: +15 -2 lines
Diff to previous 1.23 (colored)

cpu_info_store, machine, and machine_arch can all be shared by acorn26 and
arm32, so share them.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 16 00:44:43 2009 UTC (15 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.22: +21 -2 lines
Diff to previous 1.22 (colored)

acorn26 and arm32 have identical versions of cpu_need_resched().  Unify them.
Similarly, with a small tweak acorn26 can use the same cpu_intr_p() as arm32,
so those can be unified too.

Revision 1.18.10.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:01 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.18.10.1: +0 -244 lines
Diff to previous 1.18.10.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 15 11:15:22 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.21: +2 -5 lines
Diff to previous 1.21 (colored)

Remove compat ifdef.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 21 19:01:00 2008 UTC (15 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, 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-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: nick-hppapmap, matt-nb5-mips64
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

Adapt to SA (conditional KERN_SA) and add cpu_setfunc

Revision 1.18.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:41 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.18: +58 -2 lines
Diff to previous 1.18 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 15 09:55:01 2008 UTC (15 years, 6 months ago) by cegger
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

buildfix: get prototype for cpu_upcall()

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:17 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: MAIN
Changes since 1.18: +57 -2 lines
Diff to previous 1.18 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:01 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.18: +57 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:11 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:53 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.15.14.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:54 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.15.14.1: +8 -2 lines
Diff to previous 1.15.14.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with HEAD

Revision 1.15.12.2 / (download) - annotate - [select for diffs], Fri Mar 21 13:34:40 2008 UTC (16 years, 1 month ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.15.12.1: +8 -2 lines
Diff to previous 1.15.12.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.9.12.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:15 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.12.5: +8 -2 lines
Diff to previous 1.9.12.5 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 15 10:18:13 2008 UTC (16 years, 1 month ago) by rearnsha
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, chris-arm-intr-rework-base7, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored)

VFP support.

Revision 1.9.12.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:33 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.12.4: +3 -2 lines
Diff to previous 1.9.12.4 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.15.14.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:08 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

sync with HEAD

Revision 1.15.26.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:47:18 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.15.26.1: +0 -7 lines
Diff to previous 1.15.26.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with HEAD

Revision 1.15.12.1 / (download) - annotate - [select for diffs], Tue Jan 1 15:39:08 2008 UTC (16 years, 3 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Sync with HEAD.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 22:24:32 2007 UTC (16 years, 3 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.15.22.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:00 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 16 07:31:47 2007 UTC (16 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, chris-arm-intr-rework-base3, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.16: +2 -9 lines
Diff to previous 1.16 (colored)

move the arm32 cpu_intr_p() function into arm32_machdep.c
from arm_machdep.c.  this lets acorn26 link again.

Revision 1.15.26.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:54:35 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.15: +10 -2 lines
Diff to previous 1.15 (colored)

Sync with HEAD

Revision 1.15.24.1 / (download) - annotate - [select for diffs], Thu Dec 13 05:05:13 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.15: +10 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 11 17:02:32 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, cube-autoconf-base, cube-autoconf
Changes since 1.15: +10 -2 lines
Diff to previous 1.15 (colored)

Add cpu_intr_p().

Revision 1.9.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:11 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.12.3: +23 -3 lines
Diff to previous 1.9.12.3 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:58:02 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with head.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:06 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with head.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:54:53 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.13.2.1: +3 -3 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 22 08:29:55 2007 UTC (16 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base2, yamt-kmem-base, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, matt-armv6, hpcarm-cleanup, chris-arm-intr-rework, bouyer-xeni386
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Change the way that emulations locate files within the emulation root to
  avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Wed Apr 18 07:34:42 2007 UTC (17 years ago) by thorpej
Branch: thorpej-atomic
Changes since 1.14: +2 -21 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Remove _lock_cas() in favor of atomic_cas_32().

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:46:59 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.13: +22 -2 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 9 19:21:57 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-atomic-base, reinoud-bufcleanup
Branch point for: vmlocking, thorpej-atomic, mjf-ufs-trans
Changes since 1.13: +22 -2 lines
Diff to previous 1.13 (colored)

Rewrite the ARM mutex implementation to be of the simple-mutex variety.
Because pre-v6 ARM lacks support for an atomic compare-and-swap, we
implement _lock_cas() as a restartable atomic squence that is checked
in the IRQ handler right before AST processing.  (This is safe because,
for all practical purposes, there are no SMP pre-v6 ARM systems.)

This can serve as a model for other non-MP platforms that lack the
necessary atomic operations for mutexes (SuperH, for example).

Upshots of this change:
- kmutex_t is now down to 8 bytes on ARM; about as good as we can get.
- ARM2 systems don't have to trap and emulate SWP or SWPB for mutexes.

The acorn26 port is not updated by this commit to do the LOCK_CAS_CHECK.
That is left as an exercise for the port maintainer.

Reviewed and tested by Matt Thomas.

Revision 1.9.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:51 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.12.2: +2 -58 lines
Diff to previous 1.9.12.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:02 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.12: +2 -58 lines
Diff to previous 1.12 (colored)

Merge newlock2 to head.

Revision 1.11.20.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:33 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.11.20.1: +2 -58 lines
Diff to previous 1.11.20.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Remove support for SA. Ok core@.

Revision 1.9.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:32 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.12.1: +3 -3 lines
Diff to previous 1.9.12.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.11.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:06 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Sync with head.

Revision 1.11.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:34 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 27 21:42:05 2006 UTC (17 years, 6 months ago) by manu
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

- Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407

Revision 1.9.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:08 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +2 -9 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:41 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

merge ktrace-lwp.

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:09 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.4: +2 -9 lines
Diff to previous 1.6.2.4 (colored) next main 1.7 (colored)

Sync with HEAD. Here we go again...

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 14 10:51:22 2005 UTC (18 years, 7 months ago) by he
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.9: +2 -9 lines
Diff to previous 1.9 (colored)

Now that process_frame() is a macro (done "unannounced" in arm's
include/frame.h), don't try to define an inline function with the
same name and same contents.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:08 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.3: +2 -2 lines
Diff to previous 1.6.2.3 (colored)

Fix the sync with head I botched.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:32:16 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.2: +2 -2 lines
Diff to previous 1.6.2.2 (colored)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:17 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.1: +12 -2 lines
Diff to previous 1.6.2.1 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Aug 21 11:49:33 2004 UTC (19 years, 8 months ago) by rearnsha
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.8: +12 -2 lines
Diff to previous 1.8 (colored)

Support upcalls and entry points that are in Thumb state.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:28 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6: +8 -2 lines
Diff to previous 1.6 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 6 08:02:58 2004 UTC (20 years, 2 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Rename es_check in struct execsw to es_makecmds.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 25 19:44:42 2003 UTC (20 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.6: +8 -2 lines
Diff to previous 1.6 (colored)

Enable alignment faults on arm32 for both kernel and userland.

If COMPAT_15 and EXEC_AOUT are defined, support per-process
alignment checking where AFLTs are always enabled when running
kernel code and userland ELF binaries, and dynamically disabled/
enabled when switching to/from a.out binaries. This is necessary
in order to execute older a.out binaries, where gcc made
deliberate use of misaligned loads under certain circumstances.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 17 22:28:48 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.5: +124 -6 lines
Diff to previous 1.5 (colored)

Merge the nathanw_sa branch.

Revision 1.2.6.17 / (download) - annotate - [select for diffs], Sat Aug 3 01:27:42 2002 UTC (21 years, 8 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.6.16: +3 -9 lines
Diff to previous 1.2.6.16 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Don't need an upcall trampoline; upcalls don't return.

Revision 1.2.6.16 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:24 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.15: +2 -3 lines
Diff to previous 1.2.6.15 (colored) to branchpoint 1.2 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.2.6.15 / (download) - annotate - [select for diffs], Fri Jul 5 02:36:35 2002 UTC (21 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.14: +6 -6 lines
Diff to previous 1.2.6.14 (colored) to branchpoint 1.2 (colored)

When delivering an upcall, arrange to have the kernel return to
the upcall directly, and use the upcall trampoline only to exit
if the upcall returns.

Revision 1.2.6.14 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:45 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.13: +3 -3 lines
Diff to previous 1.2.6.13 (colored) to branchpoint 1.2 (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.6.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:42 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.6.2: +15 -3 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

catch up with -current on kqueue branch

Revision 1.2.6.13 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:22 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.12: +14 -2 lines
Diff to previous 1.2.6.12 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.2.6.12 / (download) - annotate - [select for diffs], Thu Apr 11 06:34:36 2002 UTC (22 years ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.11: +6 -5 lines
Diff to previous 1.2.6.11 (colored) to branchpoint 1.2 (colored)

Make this compile again.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 3 23:33:27 2002 UTC (22 years ago) by thorpej
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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, bjh21-hydra-base, bjh21-hydra
Changes since 1.4: +14 -2 lines
Diff to previous 1.4 (colored)

Clean up handling of the vector page on 32-bit ARM systems:
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
  one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
  the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
  vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
  address of the vector page (which MUST be valid when the function
  is called) and a bitmask of vectors the kernel is going to take
  over, and performs all vector page initialization, including setting
  the V bit in the CPU Control register ("relocate vectors to high
  address"), if necessary.

Revision 1.2.6.11 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:05 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.10: +3 -3 lines
Diff to previous 1.2.6.10 (colored) to branchpoint 1.2 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 18 22:21:25 2002 UTC (22 years, 1 month ago) by bjh21
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

PS_STRINGS -> p->p_psstr

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:45 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.1.6.1: +3 -4 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

Sync kqueue branch with -current.

Revision 1.2.6.10 / (download) - annotate - [select for diffs], Tue Jan 8 00:23:06 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.9: +3 -4 lines
Diff to previous 1.2.6.9 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.2.6.9 / (download) - annotate - [select for diffs], Fri Dec 28 06:12:18 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.8: +2 -34 lines
Diff to previous 1.2.6.8 (colored) to branchpoint 1.2 (colored)

Garbage collect cpu_stashcontext().

Revision 1.2.6.8 / (download) - annotate - [select for diffs], Mon Dec 17 21:31:25 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.6.7: +14 -114 lines
Diff to previous 1.2.6.7 (colored) to branchpoint 1.2 (colored)

Convert to new, smaller cpu_upcall().

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 22 17:59:58 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored)

Add 26-bit and 32-bit types.h files, which indicate the programming
model in use for a given platform (__PROG26 vs __PROG32), then pulls
in <arm/types.h>.  Change each ARM port to pull in <arm/arm26/types.h>
or <arm/arm32/types.h> as appropriate.  Change all references to PROG26
and PROG32 to __PROG26 and __PROG32.  Eliminate the opt_progmode.h
header file.

Revision 1.2.6.7 / (download) - annotate - [select for diffs], Sat Nov 17 21:41:00 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.6: +6 -5 lines
Diff to previous 1.2.6.6 (colored) to branchpoint 1.2 (colored)

Oops, fix the computation of the location of the upcall trampoline
stack frame in the presence of an upcall arg.

Revision 1.2.6.6 / (download) - annotate - [select for diffs], Sat Nov 17 21:38:23 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.5: +9 -20 lines
Diff to previous 1.2.6.5 (colored) to branchpoint 1.2 (colored)

Use sadata_upcall_free(), and use it to plug a memory leak in an
error path (copying out arg onto user stack fails).

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Sat Nov 17 21:01:36 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.4: +32 -5 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored)

Do the Right Thing with sau_arg: copy it onto the user stack, and
give the upcall a USER pointer, not a kernel pointer.

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Sat Nov 17 09:00:32 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.3: +38 -6 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

Adapt to latest MI changes.  Update copyright in arm_machdep.c

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Fri Nov 16 16:58:37 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.2: +5 -4 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

cpu_upcall(): Ooops, don't reference the upcall structure after
we've put it back in the pool.  Upcalls seem to be working on
the ARM, now.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Thu Nov 15 06:39:20 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.6.1: +285 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (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.1.6.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:57 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

update to -current

Revision 1.2.6.1, Sat Jul 28 12:29:58 2001 UTC (22 years, 8 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2: +0 -79 lines
FILE REMOVED

file arm_machdep.c was added on branch nathanw_sa on 2001-11-15 06:39:20 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 28 12:29:58 2001 UTC (22 years, 8 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

bzero->memset

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:27:18 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.4.1: +79 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.4.1, Sun Mar 4 23:25:00 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -79 lines
FILE REMOVED

file arm_machdep.c was added on branch thorpej_scsipi on 2001-03-12 13:27:18 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 4 23:25:00 2001 UTC (23 years, 1 month ago) by bjh21
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: thorpej_scsipi, kqueue

Merge setregs() from sys/arch/arm32/arm32/machdep.c,
sys/arch/hpcarm/hpcarm/machdep.c and sys/arch/arm26/arm26/vm_machdep.c
into sys/arch/arm/arm/arm_machdep.c.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>