The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:03 2023 UTC (4 months, 3 weeks ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.74: +2 -3 lines
Diff to previous 1.74 (colored)

Arrange to update cached LWP credentials in userret() rather than during
syscall/trap entry, eliminating a test+branch on every syscall/trap.

This wasn't possible in the 3.99.x timeframe when l->l_cred came about
because there wasn't a reliable/timely way to force an ONPROC LWP running on
a remote CPU into the kernel (which is just about the only new thing in
this scheme).

Revision 1.74 / (download) - annotate - [select for diffs], Sat Jan 8 09:01:00 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

KNF

Revision 1.73 / (download) - annotate - [select for diffs], Sat Jan 8 09:00:23 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.72: +5 -6 lines
Diff to previous 1.72 (colored)

Make VERBOSE_ARM32 compile again and reduce #ifdefs while I'm here

Revision 1.72 / (download) - annotate - [select for diffs], Sun Oct 31 16:23:47 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.71: +38 -2 lines
Diff to previous 1.71 (colored)

Rework Arm (32bit and 64bit) AP startup so that cpu_hatch doesn't sleep.

The AP initialisation code in cpu_init_secondary_processor will read and
initialise the required system registers and state for the BP to attach
and report.

Rework the interrupt handler code for this new sequence. Thankfully,
this removes a bunch of code for bcm2836mp.

The VFP detection handler on <= armv7 relies on the global undefined
handler being in place until the BP attaches vfp. That is, after the
APs have been spun up.

gicv3_its.c has a serialisation issue which is protected against in
the gicv3_its_cpu_init, which is called from cpu_hatch, with a spin
lock. The serialisation issue needs addressing more completely.

Tested on RPI3, Apple M1, QEMU, and lx2k

Fixes PR port-arm/56264:
   diagnostic assertion "l->l_stat == LSONPROC" failed on RPI3

Revision 1.71 / (download) - annotate - [select for diffs], Sat Oct 30 09:23:10 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.70: +2 -3 lines
Diff to previous 1.70 (colored)

Remove stale comment

Revision 1.70 / (download) - annotate - [select for diffs], Sat Oct 30 08:20:35 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.69: +7 -10 lines
Diff to previous 1.69 (colored)

KNF and remove (some) unnecessary #includes

Revision 1.69 / (download) - annotate - [select for diffs], Sat Oct 30 08:10:48 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.68: +11 -8 lines
Diff to previous 1.68 (colored)

Use designated initialisers for static handlers and reduce the kernel size
a little.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Oct 26 06:34:02 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.67: +2 -7 lines
Diff to previous 1.67 (colored)

G/C FAST_FPE

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Tue Sep 22 18:41:48 2020 UTC (3 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Pull up following revision(s) (requested by skrll in ticket #1092):

	sys/arch/arm/arm/undefined.c: revision 1.67

Allow an undefined instruction to use lr (r14) as Rt. New gcc emits this
with TPIDRURO read.

Not sure why the exception handler cares if sp or pc are used as Rt

Revision 1.67 / (download) - annotate - [select for diffs], Mon Sep 21 10:35:12 2020 UTC (3 years, 5 months 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Allow an undefined instruction to use lr (r14) as Rt. New gcc emits this
with TPIDRURO read.

Not sure why the exception handler cares if sp or pc are used as Rt

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:32 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.62.2.1: +3 -4 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.66 / (download) - annotate - [select for diffs], Tue Oct 1 18:00:07 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.65: +3 -4 lines
Diff to previous 1.65 (colored)

in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:51 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.62: +13 -10 lines
Diff to previous 1.62 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:24 2019 UTC (4 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Sun Mar 17 08:25:10 2019 UTC (4 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Fixup a comment

Revision 1.63 / (download) - annotate - [select for diffs], Sat Mar 16 10:13:34 2019 UTC (4 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.62: +9 -6 lines
Diff to previous 1.62 (colored)

Style and whitespace. NFC.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:38 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.61: +6 -14 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Mon May 28 21:05:00 2018 UTC (5 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.61: +6 -14 lines
Diff to previous 1.61 (colored)

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:44 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, 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: pgoyette-compat
Changes since 1.60: +2 -21 lines
Diff to previous 1.60 (colored)

Remove port-acorn26

OK core@

Revision 1.47.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:51 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.47.2.2: +10 -27 lines
Diff to previous 1.47.2.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

update from HEAD

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:29 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55.2.1: +10 -9 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jul 2 16:16:44 2017 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored)

Consistency around the user trapframe for all LWPs and there's no need to
keep assigning it in kernel entry points.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Thu May 11 02:58:35 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 6 13:05:59 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, 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
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

KNF

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:22 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.56: +7 -7 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:10 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.56: +7 -7 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Mon Feb 27 06:46:59 2017 UTC (7 years ago) by chs
Branch: MAIN
CVS Tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

apply changes equivalent to freebsd r256822, r267759 and r298171:
fix the dtrace "args" variable to return correct values.
simplify the invop handlers a bit by changing the second argument
from a pointer into the stack to a pointer to the trapframe.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Feb 20 17:25:41 2017 UTC (7 years ago) by skrll
Branch: MAIN
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (colored)

Trailing whitespace

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

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Wed Apr 15 13:22:50 2015 UTC (8 years, 10 months ago) by matt
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.55: +2 -21 lines
Diff to previous 1.55 (colored)

Remove FAST_FPE code

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Sun Nov 9 16:05:25 2014 UTC (9 years, 3 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.54: +4 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (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.55 / (download) - annotate - [select for diffs], Tue Oct 14 22:23:22 2014 UTC (9 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored)

Use KM_NOSLEEP in install_coproc_handler.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:45 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.47.2.1: +98 -48 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.41.4.4 / (download) - annotate - [select for diffs], Thu May 22 11:39:31 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.41.4.3: +98 -48 lines
Diff to previous 1.41.4.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (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.48.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:56 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.48.2.1: +86 -55 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Fri Mar 28 21:44:35 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.53: +5 -13 lines
Diff to previous 1.53 (colored)

Move undefined evcnt's to cpu_info.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Mar 15 05:58:30 2014 UTC (9 years, 11 months ago) by ozaki-r
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.52: +51 -2 lines
Diff to previous 1.52 (colored)

Add a trap handler for DTrace FBT provider

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 5 02:18:30 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.51: +30 -29 lines
Diff to previous 1.51 (colored)

frame -> tf
printf out the insn, faulting pc, lr, sp when we get an undefined insn
int the kernel.

Revision 1.34.12.1 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.34: +106 -24 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

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

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jan 29 18:45:21 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.50: +6 -17 lines
Diff to previous 1.50 (colored)

Add read_insn and read_thumb_insn inlines to hide the endianness of
instructions and use them as appropriate.

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

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Sun Aug 18 08:08:15 2013 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.49: +11 -6 lines
Diff to previous 1.49 (colored)

Properly recognize Thumb2 instructions.
(a thumb2 FP programs correctly runs now).

Revision 1.49 / (download) - annotate - [select for diffs], Sun Aug 18 06:28:18 2013 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.48: +22 -8 lines
Diff to previous 1.48 (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.41.4.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:42 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.41.4.2: +6 -6 lines
Diff to previous 1.41.4.2 (colored) to branchpoint 1.41 (colored)

sync with (a bit old) head

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:15 2012 UTC (11 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.43: +26 -14 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

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

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:02 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.48 / (download) - annotate - [select for diffs], Mon Nov 12 18:00:35 2012 UTC (11 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored)

C99 types

Revision 1.41.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:56 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.41.4.1: +22 -10 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 16 17:35:01 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.46: +7 -6 lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Sun Aug 12 05:05:47 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.45: +5 -6 lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Sat Aug 11 07:05:57 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

Make sure to advance the PC after emulating an instruction.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jul 12 17:20:20 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.43: +14 -3 lines
Diff to previous 1.43 (colored)

Add event counters for undefined instruction and cp15 instruction emulation.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:04 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 16 16:59:47 2011 UTC (12 years, 3 months ago) by he
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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, 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-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: matt-nb6-plus
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Semicolons are not optional :)

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 15 19:01:54 2011 UTC (12 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

Make sure to advance past the instruction we just emulated.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:01 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.40: +54 -4 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.39.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:51 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.39.4.1: +52 -2 lines
Diff to previous 1.39.4.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Thu Apr 7 11:02:24 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.40: +54 -4 lines
Diff to previous 1.40 (colored)

Add a cp15 trapper to emulate the mrc/mcr instructions for the thread id
registers.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:29 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:26 2010 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.32.20.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:04 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.20.2: +4 -4 lines
Diff to previous 1.32.20.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:04 2009 UTC (14 years, 3 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
Branch point for: rmind-uvmplock
Changes since 1.38: +4 -3 lines
Diff to previous 1.38 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

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

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

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:12 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.32.20.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:38 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.20.1: +6 -13 lines
Diff to previous 1.32.20.1 (colored) to branchpoint 1.32 (colored)

sync with head.

Revision 1.34.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:43 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.34.6.1: +3 -3 lines
Diff to previous 1.34.6.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 15 22:23:16 2009 UTC (14 years, 11 months ago) by cegger
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-base, jymxensuspend-base
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

ansify function definitions

Revision 1.34.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:57 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.34: +5 -6 lines
Diff to previous 1.34 (colored)

Sync with HEAD.

Revision 1.32.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:51 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.16.1: +3 -4 lines
Diff to previous 1.32.16.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:32 2008 UTC (15 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

kill MALLOC and FREE macros.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:01 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.34: +3 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

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

Revision 1.35 / (download) - annotate - [select for diffs], Wed Nov 19 06:29:48 2008 UTC (15 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.34: +3 -4 lines
Diff to previous 1.34 (colored)

Add some KASSERTS and tests for I32_bit to include F32_bit

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:09 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33: +2 -8 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.32.18.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:40 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.32.18.1: +2 -8 lines
Diff to previous 1.32.18.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.32.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:52 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32: +4 -13 lines
Diff to previous 1.32 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 21 14:12:06 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, 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, 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, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64, haad-dm
Changes since 1.33: +2 -8 lines
Diff to previous 1.33 (colored)

Remove unneeded playing about with kernel_lock.

Revision 1.32.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:33 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +4 -7 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.32.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:55 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +4 -7 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:43 2008 UTC (15 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.32: +4 -7 lines
Diff to previous 1.32 (colored)

Merge kernel changes in matt-armv6 to HEAD.

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

Sync with HEAD.

Revision 1.29.18.2 / (download) - annotate - [select for diffs], Wed Dec 26 22:24:33 2007 UTC (16 years, 2 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.29.18.1: +2 -6 lines
Diff to previous 1.29.18.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Mon Dec 3 18:34:53 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.29.4.1: +2 -6 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.25.12.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:34 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.12.4: +2 -6 lines
Diff to previous 1.25.12.4 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:13 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.30: +2 -6 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD

Revision 1.29.24.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:14:58 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.29.24.1: +3 -11 lines
Diff to previous 1.29.24.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with HEAD

Revision 1.29.20.2 / (download) - annotate - [select for diffs], Tue Nov 6 19:24:59 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29.20.1: +2 -6 lines
Diff to previous 1.29.20.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 5 20:43:02 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base7, 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-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.31: +2 -6 lines
Diff to previous 1.31 (colored)

Don't set l_usrpri / spc_curpriority here. mi_userret() does it.

Revision 1.29.18.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:06:46 2007 UTC (16 years, 4 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored)

Sync with HEAD.

Revision 1.25.12.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:19 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.12.3: +3 -7 lines
Diff to previous 1.25.12.3 (colored) to branchpoint 1.25 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:30 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (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.29.4.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:27 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored)

Sync with head.

Revision 1.29.26.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:36:50 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:36 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.29.20.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:49 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 2 11:07:19 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.29: +3 -7 lines
Diff to previous 1.29 (colored)

Make want_resched a member of cpu_info.

Revision 1.29.24.1 / (download) - annotate - [select for diffs], Tue Aug 28 19:23:42 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.29: +7 -10 lines
Diff to previous 1.29 (colored)

Deal with new world order.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:49:18 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.28: +8 -8 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.25.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:53 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.12.2: +9 -10 lines
Diff to previous 1.25.12.2 (colored) to branchpoint 1.25 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 18 07:25:35 2007 UTC (17 years ago) by matt
Branch: MAIN
CVS Tags: yamt-x86pmap-base, yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-x86pmap, vmlocking, ppcoea-renovation, matt-armv6, jmcneill-pm, hpcarm-cleanup, chris-arm-intr-rework
Changes since 1.28: +8 -8 lines
Diff to previous 1.28 (colored)

Changes for newlock2.

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

Merge newlock2 to head.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:33 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Remove support for SA. Ok core@.

Revision 1.25.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:32 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.12.1: +15 -7 lines
Diff to previous 1.25.12.1 (colored) to branchpoint 1.25 (colored)

sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:37:53 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.26: +15 -7 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.26.10.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:41:10 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26: +15 -7 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 19 21:11:40 2006 UTC (17 years, 7 months ago) by ad
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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.26: +15 -7 lines
Diff to previous 1.26 (colored)

- Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.

Revision 1.25.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:08 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25: +7 -3 lines
Diff to previous 1.25 (colored)

sync with head.

Revision 1.17.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:14 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.17.2.6: +7 -3 lines
Diff to previous 1.17.2.6 (colored) next main 1.18 (colored)

Sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 10 11:18:55 2005 UTC (18 years, 3 months ago) by scw
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, ktrace-lwp-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.25: +7 -3 lines
Diff to previous 1.25 (colored)

Give THUMB_CODE its own 'struct undefined_handler' so we don't try to
install the same handler structure twice (for difference coprocs).

Spotted by dbj@ using QUEUEDEBUG.

Revision 1.17.2.6 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:22 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.2.5: +4 -4 lines
Diff to previous 1.17.2.5 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 24 06:58:14 2004 UTC (19 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Fix the argument to KERNEL_PROC_LOCK/KERNEL_PROC_UNLOCK.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:17 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.2.2: +100 -63 lines
Diff to previous 1.17.2.2 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 21 12:03:16 2004 UTC (19 years, 6 months ago) by rearnsha
Branch: MAIN
Changes since 1.23: +100 -63 lines
Diff to previous 1.23 (colored)

Convert the coprocessor defines into an enum to avoid excessive
preprocessor hackery.  If supporting Thumb add an 18th undefined
handler for undefined instruction traps taken in Thumb state.  Kill
MAX_COPROCS and use NUM_UNKNOWN_HANDLERS instead.

Add support for breakpoints set in Thumb code and hand them off to
GDB as required.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:03 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.2.1: +12 -8 lines
Diff to previous 1.17.2.1 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 7 11:45:41 2004 UTC (19 years, 6 months ago) by rearnsha
Branch: MAIN
Changes since 1.22: +12 -8 lines
Diff to previous 1.22 (colored)

Don't overload the unknown instruction handling for the core onto CP0.
Instead, add a seventeenth 'co-processor' specifically for the core.
Add support for ARMv5 unknown instructions in the 'NV' space.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:29 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17: +57 -26 lines
Diff to previous 1.17 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 29 22:21:29 2003 UTC (20 years, 3 months ago) by bjh21
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.21: +11 -4 lines
Diff to previous 1.21 (colored)

Use kdb_trap() rather than Debugger() to deal with unhandled undefined
instructions in the kernel, so that DDB gets a useful trapframe.  Also
panic if this happens when DDB's not around.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Nov 14 19:03:17 2003 UTC (20 years, 3 months ago) by scw
Branch: MAIN
Changes since 1.20: +24 -8 lines
Diff to previous 1.20 (colored)

Check alignment of the fault PC before de-referencing it.
Give the process a Illegal Instruction fault if the PC is misaligned.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 31 16:44:35 2003 UTC (20 years, 4 months ago) by cl
Branch: MAIN
Changes since 1.19: +5 -15 lines
Diff to previous 1.19 (colored)

Reduce code duplication by adding mi_userret() in sys/userret.h
containing signal posting, kernel-exit handling and sa_upcall processing.

XXX the pc532, sparc, sparc64 and vax ports should have their
XXX userret() code rearranged to use this.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 8 00:28:41 2003 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +5 -4 lines
Diff to previous 1.18 (colored)

* Shuffle some data structures so, and add a flags word to ksiginfo_t.
  Right now the only flag is used to indicate if a ksiginfo_t is a
  result of a trap.  Add a predicate macro to test for this flag.
* Add initialization macros for ksiginfo_t's.
* Add accssor macro for ksi_trap.  Expands to 0 if the ksiginfo_t was
  not the result of a trap.  This matches the sigcontext trapcode semantics.
* In kpsendsig(), use KSI_TRAP_P() to select the lwp that gets the signal.
  Inspired by Matthias Drochner's fix to kpsendsig(), but correctly handles
  the case of non-trap-generated signals that have a > 0 si_code.

This patch fixes a signal delivery problem with threaded programs noted by
Matthias Drochner on tech-kern.

As discussed on tech-kern.  Reviewed and OK's by Christos.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 5 19:44:58 2003 UTC (20 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.17: +22 -5 lines
Diff to previous 1.17 (colored)

Add SA_SIGINFO support for ARM (from Chris Gilbert).

Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 28 01:54:49 2003 UTC (20 years, 10 months ago) by briggs
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.16: +14 -6 lines
Diff to previous 1.16 (colored)

Add arm32 machine-specific remote kgdb support.  Largely
from PR port-arm/15530 by bsh@, but with some updates from
me, including a fresh arm32/kgdb_machdep.c--ported from pc532.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 17 22:28:49 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.15: +27 -22 lines
Diff to previous 1.15 (colored)

Merge the nathanw_sa branch.

Revision 1.9.4.12 / (download) - annotate - [select for diffs], Tue Jan 7 22:12:19 2003 UTC (21 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.4.11: +3 -3 lines
Diff to previous 1.9.4.11 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

In the SA universe, the switch-to-this-LWP decision is made at a
different level than where preempt() calls are made, which renders
the "newlwp" argument useless.  Replace it with a "more work to do"
boolean argument.  Returning to userspace preempt() calls pass 0.
"Voluntary" preemptions in e.g. uiomove() pass 1.  This will be used
to indicate to the SA subsystem that the LWP is not yet finished in
the kernel.

Collapse the SA vs. non-SA cases of preempt() together, making the
conditional code block much smaller, and don't call sa_preempt() if
more work is to come.

NOTE: THIS IS NOT A COMPLETE FIX TO THE preempt()-in-uiomove() PROBLEM
THAT CURRENTLY EXISTS FOR SA PROCESSES.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sat Oct 19 14:04:36 2002 UTC (21 years, 4 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.15: +6 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Lock the kernel when handling page faults and undefined instructions.

Revision 1.9.4.11 / (download) - annotate - [select for diffs], Thu Sep 26 20:04:44 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.10: +3 -3 lines
Diff to previous 1.9.4.10 (colored) to branchpoint 1.9 (colored)

Change "if (l->l_flag & L_SA_UPCALL)" to "while (l->l_flag & L_SA_UPCALL)"
in userret() functions or equivalent, to permit delivery of multiple upcalls
in a single kernel entry.

XXX It's getting crowded in here. Collapsing posting signals, upcalls, and
XXX kernel-exit handling into one mechanism would be nice.

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

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

Revision 1.9.4.9 / (download) - annotate - [select for diffs], Wed Jul 3 20:31:06 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.8: +5 -5 lines
Diff to previous 1.9.4.8 (colored) to branchpoint 1.9 (colored)

Do p->p_userret handling rather than the old P_WEXIT check in the
FAST_FPE case of undefinedinstruction().

Revision 1.9.4.8 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:48 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.7: +4 -4 lines
Diff to previous 1.9.4.7 (colored) to branchpoint 1.9 (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.8.4.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:43 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.8.4.1: +8 -6 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

catch up with -current on kqueue branch

Revision 1.9.4.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:38:01 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.6: +5 -2 lines
Diff to previous 1.9.4.6 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 2 22:47:09 2002 UTC (21 years, 10 months ago) by rjs
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
Branch point for: bjh21-hydra
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

Make it compile when VERBOSE_ARM32 is defined.

Revision 1.9.4.6 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:24 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.5: +2 -3 lines
Diff to previous 1.9.4.5 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 12 18:50:31 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)

Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.

Revision 1.9.4.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:06 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.4: +5 -5 lines
Diff to previous 1.9.4.4 (colored) to branchpoint 1.9 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 24 15:49:39 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

arm26->acorn26 transition.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:47 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.8: +7 -20 lines
Diff to previous 1.8 (colored)

Sync kqueue branch with -current.

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:23:07 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.3: +5 -19 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 20 01:20:22 2001 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.11: +2 -15 lines
Diff to previous 1.11 (colored)

* Share a common vector page between arm26 and arm32.
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
  between arm26 and arm32.

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Mon Dec 17 21:34:41 2001 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.4.2: +3 -3 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)

cpu_upcall() -> sa_upcall_userret().

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 23 21:18:30 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Use <arm/undefined.h> instead of <machine/undefined.h>.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 22 17:59:59 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +4 -5 lines
Diff to previous 1.9 (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.9.4.2 / (download) - annotate - [select for diffs], Thu Nov 15 06:39:21 2001 UTC (22 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.9.4.1: +323 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (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.9.4.1, Thu Oct 18 21:26:21 2001 UTC (22 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.9: +0 -317 lines
FILE REMOVED

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

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 18 21:26:21 2001 UTC (22 years, 4 months ago) by bjh21
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Branch point for: nathanw_sa
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Recognize GDB's default breakpoint instruction (as of GDB 5.0), in addition to
the instruction we used with GDB 4.x.  The new instruction has the advantage
of fitting the pattern that ARM recommend using for instructions that need to
stay undefined.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:50:44 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Catch up with -current.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Mar 27 15:30:17 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.2.2: +60 -59 lines
Diff to previous 1.5.2.2 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 17 18:12:09 2001 UTC (22 years, 11 months ago) by bjh21
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Changes since 1.7: +3 -13 lines
Diff to previous 1.7 (colored)

Create an ARM2-specific undefined-instruction handler which deals with the
undef/SWI bug and handles emulating SWP.

Untested bacuse my ARM2 machine isn't currently set up.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 13 23:56:48 2001 UTC (22 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.6: +8 -5 lines
Diff to previous 1.6 (colored)

Change the value of tf_pc in undefined-instruction handlers on arm32.  It now
always points to the undefined instruction in question.  It's up to the
handler to advance it to the next instruction if it wants execution to
continue there.  This is how things have always worked on arm26.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 13 20:22:02 2001 UTC (22 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.5: +54 -46 lines
Diff to previous 1.5 (colored)

Separate out the SIGTRAP (gdb breakpoint) generator from undefinedinstruction()
so it's no longer a special case.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:27:19 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.2.1: +315 -0 lines
Diff to previous 1.5.2.1 (colored)

Sync with HEAD.

Revision 1.5.2.1, Sun Mar 11 16:18:40 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5: +0 -315 lines
FILE REMOVED

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

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 11 16:18:40 2001 UTC (22 years, 11 months ago) by bjh21
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.4: +66 -54 lines
Diff to previous 1.4 (colored)

Change undefined instruction handler to use a linked list for each
co-processor.  This is necessary so we can have several handlers for
CP0 (used as a catch-all for non-CP instructions).

Handlers are now removed using remove_coproc_handler(), rather than by calling
install_coproc_handler() with a NULL handler.

Because install_coproc_handler() can now allocate memory, there's a version
for use at boot time that doesn't.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 8 21:30:35 2001 UTC (22 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.3: +37 -8 lines
Diff to previous 1.3 (colored)

Use the same undefined-instuction handler on both arm26 and arm32.  The handler
is derived mostly from the arm32 version, but with a check for an obscure ARM2
bug thrown in.

arm26 fpu and cpu drivers use the new interface for catching undefined
instructions.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 5 23:29:32 2001 UTC (23 years ago) by bjh21
Branch: MAIN
Changes since 1.2: +23 -17 lines
Diff to previous 1.2 (colored)

General prettification (mostly comments).

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 5 23:14:22 2001 UTC (23 years ago) by bjh21
Branch: MAIN
Changes since 1.1: +6 -13 lines
Diff to previous 1.1 (colored)

ANSIfy.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 5 23:06:14 2001 UTC (23 years ago) by bjh21
Branch: MAIN

Move undefined.c from sys/arch/{arm32/arm32,hpcarm/hpcarm} to sys/arch/arm/arm
in preparation for making it usable on arm26 as well.

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>