The NetBSD Project

CVS log for src/sys/arch/arm/arm32/arm32_machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.146 / (download) - annotate - [select for diffs], Fri Apr 7 08:55:30 2023 UTC (10 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.145: +9 -7 lines
Diff to previous 1.145 (colored)

Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.

Revision 1.145 / (download) - annotate - [select for diffs], Thu Jan 19 08:03:51 2023 UTC (13 months, 1 week ago) by mlelstv
Branch: MAIN
Changes since 1.144: +26 -2 lines
Diff to previous 1.144 (colored)

Support remaining common boot options.

Revision 1.144 / (download) - annotate - [select for diffs], Thu Jul 28 09:14:23 2022 UTC (19 months ago) by riastradh
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.143: +7 -5 lines
Diff to previous 1.143 (colored)

arm32: Refactor splhigh and restore in dosoftints.

No functional change intended.  splhigh always returns ci->ci_cpl,
which should not be changing at this point.  Makes the bracketing by
splhigh/splx clearer.

Revision 1.143 / (download) - annotate - [select for diffs], Sat Mar 12 09:16:05 2022 UTC (23 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.142: +5 -4 lines
Diff to previous 1.142 (colored)

No need to call arm_fdt_platform twice.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Nov 13 00:13:17 2021 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.141: +5 -2 lines
Diff to previous 1.141 (colored)

Support 'boot -1' on arm

Revision 1.141 / (download) - annotate - [select for diffs], Sun Oct 31 16:23:47 2021 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.140: +13 -3 lines
Diff to previous 1.140 (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.140 / (download) - annotate - [select for diffs], Thu Oct 21 07:03:26 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.139: +3 -3 lines
Diff to previous 1.139 (colored)

Whitespace in a comment

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:47 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.138: +12 -6 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

Sync w/ HEAD.

Revision 1.139 / (download) - annotate - [select for diffs], Tue Dec 1 02:43:14 2020 UTC (3 years, 2 months ago) by rin
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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.138: +12 -6 lines
Diff to previous 1.138 (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.138 / (download) - annotate - [select for diffs], Fri Oct 30 18:54:36 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored)

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.

Revision 1.137 / (download) - annotate - [select for diffs], Fri Aug 28 13:15:05 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.136: +16 -3 lines
Diff to previous 1.136 (colored)

Use C rather than assembly

Revision 1.136 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:09 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored)

Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Jun 21 17:25:03 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.134: +5 -2 lines
Diff to previous 1.134 (colored)

Add support for installing modules that were loaded by the bootloader.

Revision 1.134 / (download) - annotate - [select for diffs], Sat Jun 20 15:45:22 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.133: +9 -9 lines
Diff to previous 1.133 (colored)

KNF

Revision 1.115.4.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:03 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.115.4.2: +0 -8 lines
Diff to previous 1.115.4.2 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

Sync with HEAD

Revision 1.132.4.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:28:52 2020 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.132: +2 -10 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD

Revision 1.133 / (download) - annotate - [select for diffs], Sat Apr 18 11:00:37 2020 UTC (3 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.132: +2 -10 lines
Diff to previous 1.132 (colored)

PMAP_DEBUG has been deleted on arm

Revision 1.115.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:28 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.115.4.1: +25 -32 lines
Diff to previous 1.115.4.1 (colored) to branchpoint 1.115 (colored)

Merge changes from current as of 20200406

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.130: +16 -31 lines
Diff to previous 1.130 (colored) next main 1.131 (colored)

Sync with head.

Revision 1.132 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:11 2020 UTC (4 years ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Changes since 1.131: +6 -21 lines
Diff to previous 1.131 (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.128.2.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:10:09 2020 UTC (4 years ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE
Changes since 1.128: +10 -2 lines
Diff to previous 1.128 (colored) next main 1.129 (colored)

Pull up following revision(s) (requested by riastradh in ticket #705):

	sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.35
	sys/stand/efiboot/efifdt.c: revision 1.20
	sys/stand/efiboot/efifdt.h: revision 1.7
	sys/arch/aarch64/include/machdep.h: revision 1.9
	sys/stand/efiboot/efiboot.h: revision 1.11
	sys/arch/arm/arm32/arm32_machdep.c: revision 1.129
	sys/arch/arm/include/arm32/machdep.h: revision 1.30
	sys/stand/efiboot/exec.c: revision 1.12
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.65
	sys/stand/efiboot/version: revision 1.14
	sys/stand/efiboot/boot.c: revision 1.19

New function cpu_startup_hook on arm.

Called at end of cpu_startup.  Can be defined in, e.g., evbarm to do
additional stuff after cpu_startup.  Defined as a weak alias to a
function that does nothing, so optional.
ok jmcneill

Implement rndseed support in efiboot and fdt arm.

The EFI environment variable `rndseed' specifies the path to the
random seed.  It is loaded only for fdt platforms at the moment.
Since the rndseed (an rndsave_t object as defined in <sys/rndio.h>)
is 536 bytes long (for hysterical raisins), and to avoid having to
erase parts of the fdt tree, we load it into a physical page whose
address is passed in the fdt tree, rather than passing the content of
the file as an fdt node directly; the kernel then reserves the page
from uvm, and maps it into kva to call rnd_seed.

For now, the only kernel that does use efiboot with fdt is evbarm,
which knows to handle the rndseed.  Any new kernels that use efiboot
with fdt must do the same; otherwise uvm may hand out the page with
the secret key on it for a normal page allocation in the kernel --
which should be OK if there are no kernel memory disclosure bugs, but
would lead to worse consequences than simply loading the seed late in
userland with /etc/rc.d/random_seed otherwise.

ok jmcneill

Revision 1.131 / (download) - annotate - [select for diffs], Sun Feb 2 07:59:41 2020 UTC (4 years ago) by skrll
Branch: MAIN
Changes since 1.130: +12 -12 lines
Diff to previous 1.130 (colored)

KNF. One #include <sys/atomic.h> is enough

Revision 1.130 / (download) - annotate - [select for diffs], Fri Dec 27 09:45:26 2019 UTC (4 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

s/sucess/success/ in comment.

Revision 1.129 / (download) - annotate - [select for diffs], Wed Dec 18 21:45:44 2019 UTC (4 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.128: +10 -2 lines
Diff to previous 1.128 (colored)

New function cpu_startup_hook on arm.

Called at end of cpu_startup.  Can be defined in, e.g., evbarm to do
additional stuff after cpu_startup.  Defined as a weak alias to a
function that does nothing, so optional.

ok jmcneill

Revision 1.115.4.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.115: +143 -31 lines
Diff to previous 1.115 (colored)

Sync with HEAD

Revision 1.128 / (download) - annotate - [select for diffs], Fri May 10 16:43:09 2019 UTC (4 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.127: +3 -3 lines
Diff to previous 1.127 (colored)

Fix a printf

Revision 1.127 / (download) - annotate - [select for diffs], Mon Feb 4 13:12:03 2019 UTC (5 years ago) by skrll
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.126: +6 -6 lines
Diff to previous 1.126 (colored)

Report hatched value after the atomic_or so the VERBOSE_INIT_ARM output
doesn't get mangled.

We start a cpu and wait for it before progressing now.

Revision 1.115.2.4 / (download) - annotate - [select for diffs], Sat Jan 26 21:59:59 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.115.2.3: +5 -4 lines
Diff to previous 1.115.2.3 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Mon Jan 21 07:46:20 2019 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.125: +5 -4 lines
Diff to previous 1.125 (colored)

Wrong long lined comment

Revision 1.115.2.3 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:14 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.115.2.2: +12 -5 lines
Diff to previous 1.115.2.2 (colored) to branchpoint 1.115 (colored)

Synch with HEAD

Revision 1.125 / (download) - annotate - [select for diffs], Thu Jan 3 10:26:41 2019 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.124: +12 -5 lines
Diff to previous 1.124 (colored)

Start CPUs more like aarch64 by using a cpu_mpidr array (if populated)
to map MPIDRs to an index for each CPU.

Towards big.LITTLE support.

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:24 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.115.2.1: +88 -27 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored)

Sync with head

Revision 1.124 / (download) - annotate - [select for diffs], Fri Oct 19 08:30:57 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.123: +8 -3 lines
Diff to previous 1.123 (colored)

Fix build for non-generic start kernels

Revision 1.123 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.122: +77 -26 lines
Diff to previous 1.122 (colored)

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively

Revision 1.122 / (download) - annotate - [select for diffs], Sun Oct 14 14:31:05 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored)

Use __nothing

Revision 1.121 / (download) - annotate - [select for diffs], Fri Oct 12 21:44:20 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.120: +7 -2 lines
Diff to previous 1.120 (colored)

Add optional ap_startup callback to struct arm_platform. This allows for
late (post-UVM init) initialization of platform specific stuff.

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:25 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.115: +70 -27 lines
Diff to previous 1.115 (colored)

Sync with HEAD

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

Revision 1.120 / (download) - annotate - [select for diffs], Wed Aug 22 07:47:33 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.119: +4 -16 lines
Diff to previous 1.119 (colored)

Use banner

Revision 1.119 / (download) - annotate - [select for diffs], Wed Aug 15 06:59:29 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.118: +2 -7 lines
Diff to previous 1.118 (colored)

G/C

Revision 1.118 / (download) - annotate - [select for diffs], Sun Aug 5 14:02:35 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.117: +3 -3 lines
Diff to previous 1.117 (colored)

Add prefixes to struct arm_platform{,_info} members.

No functional change.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Aug 5 06:48:50 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.116: +59 -3 lines
Diff to previous 1.116 (colored)

Refactor code to split aarch{32,64} kernel page tables and VM setup.  This
will help re-build the kernel page tables on aarch64 with correct section
mappings.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Jul 31 07:00:48 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.115: +12 -8 lines
Diff to previous 1.115 (colored)

Define and use VPRINTF

Revision 1.83.2.5 / (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.83.2.4: +51 -23 lines
Diff to previous 1.83.2.4 (colored) next main 1.84 (colored)

update from HEAD

Revision 1.115 / (download) - annotate - [select for diffs], Tue Oct 31 12:37:23 2017 UTC (6 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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.114: +2 -23 lines
Diff to previous 1.114 (colored)

Allow architectures to define a macro PROC_MACHINE_ARCH(P) and
PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch
(native and netbsd32 commpat resp.).

Use these for arm and mips instead of the (not working, noisy, in case
of arm) sysctl override and #ifdef __mips__ in architecture neutral
code.

Revision 1.108.2.4 / (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.108.2.3: +23 -3 lines
Diff to previous 1.108.2.3 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)

Sync with HEAD

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

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

Revision 1.113 / (download) - annotate - [select for diffs], Sun Jul 2 16:06:42 2017 UTC (6 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

Trailing whitespace

Revision 1.108.2.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:24 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.108.2.2: +17 -3 lines
Diff to previous 1.108.2.2 (colored) to branchpoint 1.108 (colored)

Sync with HEAD

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:16 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.110: +16 -2 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Sync with HEAD

Revision 1.112 / (download) - annotate - [select for diffs], Sat Jul 16 01:49:42 2016 UTC (7 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.111: +8 -2 lines
Diff to previous 1.111 (colored)

apply some #if (ARM_MMU_V6 + ARM_MMU_V7) != 0.
now this builds on pre v6-only.

Revision 1.111 / (download) - annotate - [select for diffs], Fri Jul 15 05:59:46 2016 UTC (7 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.110: +10 -2 lines
Diff to previous 1.110 (colored)

Provide a mm_md_page_color and fix some kernel builds

Revision 1.108.2.2 / (download) - annotate - [select for diffs], Sun May 29 08:44:16 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.108.2.1: +6 -3 lines
Diff to previous 1.108.2.1 (colored) to branchpoint 1.108 (colored)

Sync with HEAD

Revision 1.110 / (download) - annotate - [select for diffs], Sat Apr 30 19:20:47 2016 UTC (7 years, 9 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Changes since 1.109: +6 -3 lines
Diff to previous 1.109 (colored)

* fix checking physical address range. on some arm devices, physical memory doesn't start from 0x00000000.
* allow /dev/mem to read/write memory mapped I/O area depending on kauth.

Revision 1.108.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.108: +6 -2 lines
Diff to previous 1.108 (colored)

Sync with HEAD

Revision 1.109 / (download) - annotate - [select for diffs], Sat Apr 11 13:37:59 2015 UTC (8 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.108: +6 -2 lines
Diff to previous 1.108 (colored)

Handle boot option -x (alias 'debug') and set AB_DEBUG in boothowto.

Revision 1.108 / (download) - annotate - [select for diffs], Wed Nov 19 10:01:50 2014 UTC (9 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.107: +10 -2 lines
Diff to previous 1.107 (colored)

Add a machdep.unaligned_sigbus sysctl (just like alpha does), but on
arm it is readonly (depends on architecture version).

Revision 1.105.2.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.105: +3 -2 lines
Diff to previous 1.105 (colored) next main 1.106 (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.107 / (download) - annotate - [select for diffs], Wed Oct 29 14:14:14 2014 UTC (9 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.106: +3 -2 lines
Diff to previous 1.106 (colored)

Sprinkle #include "opt_multiprocessor.h"

Revision 1.106 / (download) - annotate - [select for diffs], Sat Oct 25 10:58:12 2014 UTC (9 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.105: +2 -3 lines
Diff to previous 1.105 (colored)

Remove katelib.h and references to it.

{Read,Write}{Word,Byte} macros are provided in the files that still use
them. Someone(tm) should convert them to bus_space(9)

Revision 1.83.2.4 / (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.83.2.3: +72 -30 lines
Diff to previous 1.83.2.3 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.76.2.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.76.2.3: +175 -32 lines
Diff to previous 1.76.2.3 (colored) to branchpoint 1.76 (colored) next main 1.77 (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.105 / (download) - annotate - [select for diffs], Mon May 19 22:47:53 2014 UTC (9 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.104: +13 -2 lines
Diff to previous 1.104 (colored)

Implement MI IPI interface with cross-call support.

Revision 1.94.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.94.2.1: +61 -32 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Fri Apr 11 04:19:47 2014 UTC (9 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.103: +7 -7 lines
Diff to previous 1.103 (colored)

Add a kernel for the CUBIETRUCK (CUBIEBOARD3).  Allow direct mapping of all
memory (but for now allow the memory mapped above KERNEL_BASE to used for
poolpages).

Revision 1.103 / (download) - annotate - [select for diffs], Sat Apr 5 22:36:18 2014 UTC (9 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.102: +9 -7 lines
Diff to previous 1.102 (colored)

If using arm32_kvminit, don't bother mapping msgbuf since it's already mapped.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Mar 28 21:39:09 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.101: +9 -24 lines
Diff to previous 1.101 (colored)

Various MP changes.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Mar 3 08:15:36 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.100: +11 -2 lines
Diff to previous 1.100 (colored)

Add most of the cpu_* variables to <arm/locore.h>
Add and initialize cpu_synchprim_present

Revision 1.100 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:08 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.99: +2 -7 lines
Diff to previous 1.99 (colored)

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.58.8.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.58: +274 -90 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

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

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jan 11 17:32:20 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.98: +9 -2 lines
Diff to previous 1.98 (colored)

Add hw.printfataltraps sysctl.  Always print fatal traps for init.  For all
other processes, only do so if cpu_printfataltraps is true.

Revision 1.98 / (download) - annotate - [select for diffs], Tue Sep 10 21:30:21 2013 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.97: +27 -2 lines
Diff to previous 1.97 (colored)

Support an optional MARCH ELF tag.
Store the MACHINE_ARCH of the executable in mdproc and override sysctl
so that value returned.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Sep 7 23:10:02 2013 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.96: +8 -2 lines
Diff to previous 1.96 (colored)

Add a machdep.hwdiv_present sysctl (cortex A7 and A15 have hwdiv instructions)

Revision 1.94.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.94: +5 -3 lines
Diff to previous 1.94 (colored)

sync with head

Revision 1.96 / (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.95: +4 -2 lines
Diff to previous 1.95 (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.95 / (download) - annotate - [select for diffs], Thu Aug 15 22:13:48 2013 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

Fix tpyo.

Revision 1.83.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:19:59 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.83.2.2: +29 -2 lines
Diff to previous 1.83.2.2 (colored)

resync from head

Revision 1.94 / (download) - annotate - [select for diffs], Wed Jun 12 21:34:12 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.93: +11 -3 lines
Diff to previous 1.93 (colored)

Add a ARM_HAS_VBAR option which forces the use of the VBAR register.  This
allows much code to deal with vector_page mappings to be eliminated.  On a
BEAGLEBONE kernel, this saves 8KB of text and instructions that never have
to be executed.  (The PJ4B has VBAR but doesn't implement the security
extensions it is part of so a method was needed to allow it use VBAR with
relying on the default test for the security extensions.)

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jun 12 17:13:05 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.92: +21 -2 lines
Diff to previous 1.92 (colored)

Add support for the VBAR (vector base address register) to remap the vectors
into the kernel text segment.  This register is available on arm1176 and
all cortex processors since they all have the arm security (trustzone)
extension.  We avoid having to specially map either vector page (0x00000000
or 0xffff0000) and use VBAR to both to page0rel in the text segment.  These
vector group differs from the normal page0, that since it's in the kernel,
it can branch directly to the exception routine, instead of loading the
address into the PC.  This should result in a tiny improvement in speed since
we eliminate a TLB mapping the vector page and a load on every exception.

XXX Add __HAVE_ARM_TRUSTZONE cpp define and use that to eliminate all code
have to do with manipulating the vector page.

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:23 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.83.2.1: +107 -6 lines
Diff to previous 1.83.2.1 (colored)

resync with head

Revision 1.92 / (download) - annotate - [select for diffs], Sun Feb 3 15:57:09 2013 UTC (11 years ago) by matt
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.91: +18 -2 lines
Diff to previous 1.91 (colored)

Add a machdep.cpu_arch sysctl

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jan 31 22:34:26 2013 UTC (11 years ago) by matt
Branch: MAIN
Changes since 1.90: +65 -2 lines
Diff to previous 1.90 (colored)

Add simple sysctls for cpu_id, fpu_id, neon_present, simd_present,
simdex_present.
Add struct sysctls to return the isar, mmfr, pfr, and mvfr sets.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jan 28 23:49:12 2013 UTC (11 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.89: +8 -2 lines
Diff to previous 1.89 (colored)

Add a machdep.fpu_present sysctl for ld.elf_so to use in ld.so.conf to load
libc_vfp.so.

Revision 1.76.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:39 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.76.2.2: +7 -4 lines
Diff to previous 1.76.2.2 (colored) to branchpoint 1.76 (colored)

sync with head

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 19 10:16:56 2013 UTC (11 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.88: +4 -3 lines
Diff to previous 1.88 (colored)

Add -d as a synonym for getting into DDB to match other ports.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:43 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.76.2.1: +17 -4 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored)

sync with (a bit old) head

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 31 21:34:31 2012 UTC (11 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.87: +5 -3 lines
Diff to previous 1.87 (colored)

reset todr clock on shutdown

Revision 1.87 / (download) - annotate - [select for diffs], Mon Dec 10 08:19:10 2012 UTC (11 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.86: +15 -2 lines
Diff to previous 1.86 (colored)

add mm_md_direct_mapped_phys

Revision 1.86 / (download) - annotate - [select for diffs], Mon Dec 10 01:37:30 2012 UTC (11 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored)

Rename pcb_sp/PCB_SP to pcb_ksp/PCB_KSP so that ipsec.c will compile.

Revision 1.76.8.1.2.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:16 2012 UTC (11 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.76.8.1: +99 -28 lines
Diff to previous 1.76.8.1 (colored) next main 1.77 (colored)

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

Revision 1.83.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.83: +5 -5 lines
Diff to previous 1.83 (colored)

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

Revision 1.76.2.1 / (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.76: +107 -35 lines
Diff to previous 1.76 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:36 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 16 22:09:33 2012 UTC (11 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

Rename kcpuset_copybits() to kcpuset_export_u32() and thus be more specific
about the interface.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Aug 31 23:59:51 2012 UTC (11 years, 5 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.82: +83 -22 lines
Diff to previous 1.82 (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.82 / (download) - annotate - [select for diffs], Thu Aug 16 18:22:39 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (colored)

Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Aug 16 17:35:01 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.80: +11 -7 lines
Diff to previous 1.80 (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.80 / (download) - annotate - [select for diffs], Tue Aug 14 20:42:33 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored)

Kill curpcb/ci_curpcb.  Use device_t in cpu_info.
Add ci_softc (where ci_curpcb was so cpu_info doesn't change).

Revision 1.76.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 06:36:46 2012 UTC (11 years, 6 months ago) by jdc
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: matt-nb6-plus
Changes since 1.76: +10 -7 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Pull up revisions:
  src/sys/arch/evbarm/dev/plcomreg.h revisions 1.2,1.3,1.4
  src/sys/arch/evbarm/conf/INTEGRATOR revision 1.65
  src/sys/arch/evbarm/dev/plcom.c revisions 1.34,1.35,1.36,1.37,1.38,1.39,1.40
  src/sys/arch/evbarm/ifpga/plcom_ifpga.c revisions 1.12,1.13,1.14
  src/sys/arch/evbarm/dev/plcomvar.h revisions 1.9,1.10,1.11
  src/sys/arch/evbarm/ifpga/plcom_ifpgavar.h revision 1.2
  src/sys/arch/arm/arm/cpufunc.c revisions 1.105,1.108
  src/sys/arch/arm/arm32/cpu.c revision 1.79
  src/sys/arch/arm/include/armreg.h revisions 1.49,1.54
  src/sys/arch/arm/arm32/pmap.c revision 1.229
  src/sys/arch/arm/arm32/arm32_machdep.c revision 1.77
  src/sys/arch/arm/include/cpu.h revision 1.64
  src/sys/arch/arm/arm/cpufunc_asm_arm1136.S revision 1.3
  src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S revision 1.1
  src/sys/arch/arm/conf/files.arm revision 1.106
  src/sys/arch/arm/include/cpufunc.h revision 1.57
  src/sys/dev/sdmmc/sdhc.c revisions 1.14,1.24
  src/sys/dev/sdmmc/sdhcvar.h revisions 1.7,1.8
  src/sys/arch/evbarm/ifpga/ifpgareg.h revision 1.4
  src/sys/arch/evbarm/integrator/integrator_machdep.c revision 1.69
  src/sys/arch/arm/broadcom/bcm2835_dma.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_emmc.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_obio.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_plcom.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pm.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pmvar.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_space.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_tmr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835reg.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835var.h revision 1.1
  src/sys/arch/arm/broadcom/bcm_amba.h revision 1.1
  src/sys/arch/arm/broadcom/files.bcm2835 revision 1.1
  src/sys/arch/evbarm/Makefile revision 1.9
  src/sys/arch/evbarm/conf/RPI revision 1.1
  src/sys/arch/evbarm/conf/files.rpi revision 1.1
  src/sys/arch/evbarm/conf/mk.rpi revision 1.1
  src/sys/arch/evbarm/conf/std.rpi revision 1.1
  src/sys/arch/evbarm/rpi/genassym.cf revision 1.1
  src/sys/arch/evbarm/rpi/rpi.h revision 1.1
  src/sys/arch/evbarm/rpi/rpi_machdep.c revision 1.1
  src/sys/arch/evbarm/rpi/rpi_start.S revision 1.1,1.2
  src/etc/etc.evbarm/Makefile.inc revision 1.28
(requested by skrll in ticket #454).

don't mix #define<TAB> and #define<SPACE> in a file.

avoid warning with options PLCOM_DEBUG for INTEGRATOR.

Rename register values. No functional change - same code before and after.

Existing names are prefixed with PL01X_ where they're common between the
PL010 and the PL011. The PL010_/PL011_ prefixes are added where they're
found only on the respective chips.

Replace the simple_lock with a kmutex_t.  Update the locking to match
com(4) in the few places it didn't already.

DOH.  Replace a line that got accidently deleted in the last commit.

device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t

Add the 'Z' to the 1176 cpu product name.

ok matt@

Fix locking botch introduced in 1.36.

Fix a KASSERT. From/OK'ed by matt@

Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"

Add the documented ARM11[37]6 Auxiliary control register defines.

Add support for the ARM1176JZS

Add a flag for the lack of LED_ON in HOST_CTL (ti omap3 doesn't do that).

Provide a method for attachments to specify capabilites.

Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.

Initial commit of support for the RaspberryPI (www.raspberrypi.org)

This is enough for serial console via the gpio header pins and to get to
multiuser.

A huge thank you to Matt Thomas for all his help.

Add RPI to KERNEL_SETS

Remove #if 0 code.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Jul 29 00:07:10 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.78: +6 -2 lines
Diff to previous 1.78 (colored)

Fix more -fno-common fallout.
Move more variables to common locations.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jul 16 06:33:05 2012 UTC (11 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

Make the result from SOFTIPLMASK match the comment.

"Wouldn't hurt" from matt@

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jul 16 06:26:43 2012 UTC (11 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.76: +10 -7 lines
Diff to previous 1.76 (colored)

Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"

Revision 1.76 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:19 2011 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-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: yamt-pagecache, netbsd-6
Changes since 1.75: +4 -4 lines
Diff to previous 1.75 (colored)

dependant -> dependent

Revision 1.74.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:59 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.74: +11 -2 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:39 2011 UTC (12 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.74: +11 -2 lines
Diff to previous 1.74 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.73.2.3 / (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.73.2.2: +6 -8 lines
Diff to previous 1.73.2.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 28 08:23:22 2010 UTC (13 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.73: +6 -8 lines
Diff to previous 1.73 (colored)

As md(4) no longer has "needs-count" there is no "md.h" anymore.
Remove the inclusion of this file.

Acorn32 now always builds load_memory_disc_from_floppy().  This should
not be a problem as all configs have md(4).

Observed by: Masao Uebayashi <uebayasi@netbsd.org>

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:07 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.72: +2 -10 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with HEAD.

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Sun Apr 25 19:38:59 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.73.2.1: +3 -7 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored)

A round of compile and other fixes to previous.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:47 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.73: +15 -2 lines
Diff to previous 1.73 (colored)

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.55.10.4 / (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.55.10.3: +20 -19 lines
Diff to previous 1.55.10.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.73 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:26 2010 UTC (14 years ago) by joerg
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
Branch point for: rmind-uvmplock
Changes since 1.72: +2 -10 lines
Diff to previous 1.72 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 18 23:04:30 2010 UTC (14 years, 1 month ago) by jmmv
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.71: +14 -2 lines
Diff to previous 1.71 (colored)

Define an empty module_init_md function so that kernels with 'options
MODULAR' can be built (at least in shark).  Still not working due to
some relocations resolving to too far away symbols though.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Nov 29 04:15:42 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.70: +5 -6 lines
Diff to previous 1.70 (colored)

Replace l_addr with uvm_lwp_getuarea() in various MD code, mostly cpu_lwp_fork().

Revision 1.70 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:05 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.69: +2 -3 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:12 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.68: +2 -4 lines
Diff to previous 1.68 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.68 / (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.67: +3 -3 lines
Diff to previous 1.67 (colored)

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

Revision 1.67 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:41 2009 UTC (14 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.66: +4 -3 lines
Diff to previous 1.66 (colored)

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

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

sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Aug 11 17:04:14 2009 UTC (14 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.65: +2 -4 lines
Diff to previous 1.65 (colored)

Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

Revision 1.62.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.62: +7 -8 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD.

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

Revision 1.55.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:38 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.55.10.1: +34 -67 lines
Diff to previous 1.55.10.1 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.58.2.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.58.2.1: +7 -8 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

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

ansify function definitions

Revision 1.64 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:01 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.63 / (download) - annotate - [select for diffs], Sat Mar 14 14:45:55 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.58.2.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.58: +13 -37 lines
Diff to previous 1.58 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jan 17 14:14:56 2009 UTC (15 years, 1 month ago) by bjh21
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.61: +2 -8 lines
Diff to previous 1.61 (colored)

Remove the implementation of cpu_intr_p() from here now that it's in
arm/arm_machdep.h.  Should fix builds on arm32 platforms.  Thanks to
Matt Fleming for reporting the problem.

Revision 1.55.6.4 / (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.55.6.3: +11 -29 lines
Diff to previous 1.55.6.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jan 16 01:03:47 2009 UTC (15 years, 1 month ago) by bjh21
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.60: +2 -15 lines
Diff to previous 1.60 (colored)

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

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 16 00:44:43 2009 UTC (15 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.59: +2 -15 lines
Diff to previous 1.59 (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.57.2.2 / (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.57.2.1: +0 -510 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

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

Revision 1.59 / (download) - annotate - [select for diffs], Wed Nov 19 06:22:15 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.58: +13 -5 lines
Diff to previous 1.58 (colored)

Fix __HAVE_FAST_SOFTINTS (boolean dyslexia strikes again).
Add some KASSERTS to make sure assumptions are valid.

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

Sync with HEAD.

Revision 1.55.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:47 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.55.6.2: +19 -19 lines
Diff to previous 1.55.6.2 (colored) to branchpoint 1.55 (colored)

Sync with HEAD.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:18 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.56: +21 -29 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Aug 7 04:17:25 2008 UTC (15 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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
Changes since 1.57: +21 -21 lines
Diff to previous 1.57 (colored)

Commit missing part of __HAVE_FAST_SOFTINTS support.

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:51 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.56: +2 -10 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with head.

Revision 1.55.6.2 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:15 2008 UTC (15 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.55.6.1: +0 -8 lines
Diff to previous 1.55.6.1 (colored) to branchpoint 1.55 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:55 2008 UTC (15 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.56: +2 -10 lines
Diff to previous 1.56 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

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

Sync with HEAD.

Revision 1.55.8.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.55: +83 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.55.10.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.55: +83 -4 lines
Diff to previous 1.55 (colored)

sync with head.

Revision 1.56 / (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-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.55: +83 -4 lines
Diff to previous 1.55 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.49.12.7 / (download) - annotate - [select for diffs], Sun Mar 23 17:00:01 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.49.12.6: +2 -2 lines
Diff to previous 1.49.12.6 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Restore $NetBSD$

Revision 1.49.12.6 / (download) - annotate - [select for diffs], Sun Mar 23 16:58:04 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.49.12.5: +3 -1 lines
Diff to previous 1.49.12.5 (colored) to branchpoint 1.49 (colored)

fix typo.

Revision 1.49.12.5 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:54 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.49.12.4: +74 -6 lines
Diff to previous 1.49.12.4 (colored) to branchpoint 1.49 (colored)

sync with HEAD

Revision 1.49.6.4 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:40 2008 UTC (16 years ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.49.6.3: +2 -5 lines
Diff to previous 1.49.6.3 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:22 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.52: +2 -5 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:35 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.3: +9 -5 lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.52.8.2 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:02 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.52.8.1: +0 -3 lines
Diff to previous 1.52.8.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Sync with HEAD

Revision 1.49.10.2 / (download) - annotate - [select for diffs], Sun Jan 20 16:03:55 2008 UTC (16 years, 1 month ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.49.10.1: +2 -5 lines
Diff to previous 1.49.10.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync to HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 19 15:04:09 2008 UTC (16 years, 1 month ago) by chris
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, chris-arm-intr-rework-base7, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.54: +2 -4 lines
Diff to previous 1.54 (colored)

With the removal of IPKDB on arm, the undefined stack is only used to
bounce into SVC32 mode, there is no per-process data stored on it.

We can therefore use the undefined stack setup by the platform machdep.c
as a system wide undefined stack.

This removes the need for a per-process undefined stack, and the processor
mode switching overhead it causes in cpu_switchto.

The space freed in the USPACE is used to increase the per process kernel
stack size.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jan 19 13:11:09 2008 UTC (16 years, 1 month ago) by chris
Branch: MAIN
Changes since 1.53: +2 -3 lines
Diff to previous 1.53 (colored)

Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.

Revision 1.49.12.4 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:10 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.49.12.3: +9 -2 lines
Diff to previous 1.49.12.3 (colored) to branchpoint 1.49 (colored)

sync with HEAD

Revision 1.52.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:47:20 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.52: +9 -2 lines
Diff to previous 1.52 (colored)

Sync with HEAD

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

Sync with HEAD.

Revision 1.49.6.3 / (download) - annotate - [select for diffs], Wed Dec 26 22:24:34 2007 UTC (16 years, 2 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.49.6.2: +9 -2 lines
Diff to previous 1.49.6.2 (colored) to branchpoint 1.49 (colored)

Sync with HEAD.

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

Sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 16 07:31:48 2007 UTC (16 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, chris-arm-intr-rework-base3
Changes since 1.52: +9 -2 lines
Diff to previous 1.52 (colored)

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

Revision 1.49.12.3 / (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.49.12.2: +2 -3 lines
Diff to previous 1.49.12.2 (colored) to branchpoint 1.49 (colored)

sync with HEAD

Revision 1.49.6.2 / (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.49.6.1: +2 -3 lines
Diff to previous 1.49.6.1 (colored) to branchpoint 1.49 (colored)

Sync with HEAD.

Revision 1.45.2.3 / (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.45.2.2: +4 -5 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.52 / (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, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (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.48.2.2 / (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.48.2.1: +4 -5 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Sat Oct 6 18:08:51 2007 UTC (16 years, 4 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

Sync with HEAD.

Revision 1.50.2.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.50: +4 -4 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head.

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

Sync with HEAD

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:50 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.49: +4 -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 Oct 2 11:07:20 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Make want_resched a member of cpu_info.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Sep 15 09:25:21 2007 UTC (16 years, 5 months ago) by scw
Branch: MAIN
CVS Tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

ARM cpu_switchto() has been partially broken since yamt-idlelwp was merged
as its cache/tlb management smarts relied too heavily on pre-merge context-
switch behaviour. See PR kern/36548 for one manifestation of the breakage.

To address this:
 - Ditch the shadow pmap variables in the PCB (pagedir, l1vec, dacr, cstate)
   as it was too easy for them to get out of sync with the pmap.
 - Re-write (and fix) the convoluted cpuswitch.S cache/tlb ASM code in C.
   It's only slightly less efficient, but is much more readable/maintainable.
 - Document cpufuncs.cf_context_switch() as being C-callable.
 - pmap_activate() becomes a no-op if the lwp's vmspace is already active.
   (Good performance win, since pmap_activate() is now invoked on every
   context-switch, even though ARM's cpu_switchto() already does all the
   grunt work)

XXX: Some CPU-specific armXX_context_switch() implementations (arm67,
arm7tdmi, arm8) always flush the I+D caches. This should not be necessary.
Someone with access to hardware (acorn32?) needs to deal with this.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:13 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45.2.1: +17 -3 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.49.12.2 / (download) - annotate - [select for diffs], Wed Aug 29 04:18:44 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.49.12.1: +9 -3 lines
Diff to previous 1.49.12.1 (colored) to branchpoint 1.49 (colored)

Initial cpu_info_store.ci_lwp to &lwp0

Revision 1.49.12.1 / (download) - annotate - [select for diffs], Tue Aug 28 18:53:02 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored)

Deal with want_resched move to cpu_info

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:58:04 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.48: +16 -2 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:07 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.48: +16 -2 lines
Diff to previous 1.48 (colored)

Sync with head.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:38 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.48: +16 -2 lines
Diff to previous 1.48 (colored)

Update to HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Thu May 17 14:51:15 2007 UTC (16 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, chris-arm-intr-rework-base2, chris-arm-intr-rework-base
Branch point for: matt-armv6, jmcneill-pm, hpcarm-cleanup, chris-arm-intr-rework
Changes since 1.48: +16 -2 lines
Diff to previous 1.48 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.46.26.3 / (download) - annotate - [select for diffs], Thu Mar 29 10:52:26 2007 UTC (16 years, 11 months ago) by skrll
Branch: yamt-idlelwp
Changes since 1.46.26.2: +16 -2 lines
Diff to previous 1.46.26.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Adapt arm32. Thanks to scw for helping out.

Tested on my cats (SA1)

XXX hydra should die. i've made some changes, but no guarantees.

Revision 1.46.26.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:01 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.46.26.1: +3 -3 lines
Diff to previous 1.46.26.1 (colored) to branchpoint 1.46 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:36 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.46.26.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.46: +5 -5 lines
Diff to previous 1.46 (colored)

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

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:54 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 22 05:14:04 2007 UTC (17 years ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

TRUE -> true, FALSE -> false

Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:41 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, 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, 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-idlelwp
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

merge ktrace-lwp.

Revision 1.36.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:16 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.36.2.4: +3 -3 lines
Diff to previous 1.36.2.4 (colored) next main 1.37 (colored)

Sync with HEAD. Here we go again...

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:02 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with -current

Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:03 2005 UTC (18 years, 10 months ago) by lukem
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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.36.2.4 / (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.36.2.3: +2 -2 lines
Diff to previous 1.36.2.3 (colored)

Fix the sync with head I botched.

Revision 1.36.2.3 / (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.36.2.2: +1 -1 lines
Diff to previous 1.36.2.2 (colored)

Sync with HEAD.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:29 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.36.2.1: +83 -126 lines
Diff to previous 1.36.2.1 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:47 2004 UTC (19 years, 11 months ago) by atatat
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, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.43: +15 -9 lines
Diff to previous 1.43 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:10 2004 UTC (20 years ago) by wiz
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:15 2003 UTC (20 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.41: +6 -71 lines
Diff to previous 1.41 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 13 12:07:41 2003 UTC (20 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

The machdep.debug sysctl variable uses code CPU_DEBUG
(not CPU_CONSDEV).

Revision 1.40 / (download) - annotate - [select for diffs], Fri Dec 12 03:52:56 2003 UTC (20 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

The machdep.debug node is an int, not a struct

Revision 1.39 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:21 2003 UTC (20 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.38: +70 -57 lines
Diff to previous 1.38 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Sep 21 00:26:09 2003 UTC (20 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Change some type-punning detected by gcc 3.3.1 to (void *).

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 15 00:24:40 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (colored)

__KERNEL_RCSID()

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 21:48:13 2003 UTC (20 years, 8 months ago) by wrstuden
Branch: ktrace-lwp
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Check in lwp-ification changes needed to get the evbarm/IQ80321 kernel
to compile.

only question I have is over the:
l->l_proc->p_stats->p_ru.ru_msgsnd++;
command at line 245 of dev/kttcp.c. Should we be doing per-lwp or
per-proc accounting?

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:08 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jun 29 10:51:30 2003 UTC (20 years, 8 months ago) by ichiro
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

struct proc * -> struct lwp *

ixp425_com:
add some status flags

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 4 13:30:05 2003 UTC (20 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored)

Remove prototype for strtoul() that was in the wrong place.

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 21 18:04:42 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +1 -30 lines
Diff to previous 1.32 (colored)

Remove #ifdefs supporting the old pmap, switching fully to the new.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 18 22:30:05 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +8 -1 lines
Diff to previous 1.31 (colored)

Add a comment indicating that the current method of enabling high vectors
requires that the CPU control vector be properly readable.  I believe that
all CPUs that have high vector support have a readable CPU control register,
but if we ever encounter one that does not, then we'll have to adjust this
code.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Apr 18 11:08:24 2003 UTC (20 years, 10 months ago) by scw
Branch: MAIN
Changes since 1.30: +13 -4 lines
Diff to previous 1.30 (colored)

Add the generic arm32 bits of the new pmap, contributed by Wasabi Systems.

Some features of the new pmap are:

 - It allows L1 descriptor tables to be shared efficiently between
   multiple processes. A typical "maxusers 32" kernel, where NPROC is set
   to 532, requires 35 L1s. A "maxusers 2" kernel runs quite happily
   with just 4 L1s. This completely solves the problem of running out
   of contiguous physical memory for allocating new L1s at runtime on a
   busy system.

 - Much improved cache/TLB management "smarts". This change ripples
   out to encompass the low-level context switch code, which is also
   much smarter about when to flush the cache/TLB, and when not to.

 - Faster allocation of L2 page tables and associated metadata thanks,
   in part, to the pool_cache enhancements recently contributed to
   NetBSD by Wasabi Systems.

 - Faster VM space teardown due to accurate referenced tracking of L2
   page tables.

 - Better/faster cache-alias tracking.

The new pmap is enabled by adding options ARM32_PMAP_NEW to the kernel
config file, and making the necessary changes to the port-specific
initarm() function. Several ports have already been converted and will
be committed shortly.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 18 10:51:35 2003 UTC (20 years, 10 months ago) by scw
Branch: MAIN
Changes since 1.29: +14 -1 lines
Diff to previous 1.29 (colored)

In arm32_vector_init(), if the vector page is ARM_VECTORS_HIGH, make
sure the CPU_CONTROL_VECRELOC bit is set in the cpu control register
before returning.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 1 23:19:08 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 23 23:40:01 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Change pcb32_pagedir to a paddr_t (after all, it's used as a paddr_t
everywhere in the code).

Revision 1.27 / (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.26: +5 -5 lines
Diff to previous 1.26 (colored)

Merge the nathanw_sa branch.

Revision 1.2.2.9 / (download) - annotate - [select for diffs], Fri Sep 6 08:32:18 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.8: +22 -4 lines
Diff to previous 1.2.2.8 (colored) next main 1.3 (colored)

sync kqueue branch with HEAD

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:03 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.24: +22 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

catch up with -current.

Revision 1.6.2.10 / (download) - annotate - [select for diffs], Tue Aug 27 06:03:15 2002 UTC (21 years, 6 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.6.2.9: +3 -4 lines
Diff to previous 1.6.2.9 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with -current.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:35 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: 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, fvdl_fs64_base, bjh21-hydra-base, bjh21-hydra
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.6.2.9 / (download) - annotate - [select for diffs], Mon Aug 19 21:38:57 2002 UTC (21 years, 6 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.6.2.8: +20 -1 lines
Diff to previous 1.6.2.8 (colored) to branchpoint 1.6 (colored)

Partial (ARM only) sync with trunk -- significant performance improvements
for XScale-based systems.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Aug 16 15:25:54 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +20 -1 lines
Diff to previous 1.24 (colored)

* Add a new machdep.powersave sysctl, which controls the use of
  the CPU's "sleep" function in the idle loop.
* Default all CPUs to not use powersave, except for the PDA processors
  (SA11x0 and PXA2x0).

This significantly reduces inteterrupt latency in high-performance
applications (and was good to squeeze another ~10% out of an XScale
IOP on a Gig-E benchmark).

Revision 1.2.2.8 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:44 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.7: +50 -53 lines
Diff to previous 1.2.2.7 (colored)

catch up with -current on kqueue branch

Revision 1.6.2.8 / (download) - annotate - [select for diffs], Thu Jun 20 03:38:02 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.7: +8 -8 lines
Diff to previous 1.6.2.7 (colored) to branchpoint 1.6 (colored)

Catch up to -current.

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 5 16:26:30 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.23: +8 -8 lines
Diff to previous 1.23 (colored)

Update to md(4) changes: memory_disk_size is now md_root_size, and
type is size_t

Revision 1.6.2.7 / (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.6.2.6: +42 -42 lines
Diff to previous 1.6.2.6 (colored) to branchpoint 1.6 (colored)

Catch up to -current.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 10 21:45:43 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +1 -19 lines
Diff to previous 1.22 (colored)

Remove the Control register handling from arm32_vector_init().  Apparently,
the ARM6 and ARM7 do completely the wrong thing if you read this register,
so we have to handle this a different way.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 3 23:33:28 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +56 -38 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Tue Apr 2 05:30:39 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:07 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.5: +8 -12 lines
Diff to previous 1.6.2.5 (colored) to branchpoint 1.6 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 24 03:37:18 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

* arm_byte_to_page() -> arm_btop()
* arm_page_to_byte() -> arm_ptob()

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 23 19:21:58 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Garbage-collect the "pagehook" stuff.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 23 02:22:57 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +3 -5 lines
Diff to previous 1.17 (colored)

* Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START

Revision 1.2.2.7 / (download) - annotate - [select for diffs], Sat Mar 16 15:56:02 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.6: +6 -177 lines
Diff to previous 1.2.2.6 (colored)

Catch up with -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 10 19:56:39 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.16: +5 -6 lines
Diff to previous 1.16 (colored)

* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
  are now consistently named
* fold opt_mdsize.h into opt_md.h

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:07:20 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.4: +2 -154 lines
Diff to previous 1.6.2.4 (colored) to branchpoint 1.6 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 21 02:52:20 2002 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.15: +1 -81 lines
Diff to previous 1.15 (colored)

map_chunk() -> pmap_map_chunk(), and move it to pmap.c

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 20 20:41:15 2002 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.14: +1 -22 lines
Diff to previous 1.14 (colored)

map_pagetable() -> pmap_link_l2pt(), and move it to pmap.c

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 20 02:32:57 2002 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.13: +1 -50 lines
Diff to previous 1.13 (colored)

Collapse map_entry{,ro,nc}() into a single pmap_map_entry() that
takes a prot and a "cacheable" indicator.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 20 00:10:17 2002 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.12: +1 -22 lines
Diff to previous 1.12 (colored)

Rename map_section() to pmap_map_section(), move it to pmap.c, and give it
an extra argument (prot - specifies protection of the mapping).

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:17 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.5: +27 -9 lines
Diff to previous 1.2.2.5 (colored)

Sync w/ -current.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 10 13:20:26 2002 UTC (22 years ago) by reinoud
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Add some extra comments for the `booted_kernel' variable.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 20 03:41:47 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.10: +1 -8 lines
Diff to previous 1.10 (colored)

Some prototype cleanup.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 12 13:37:55 2002 UTC (22 years, 1 month ago) by chris
Branch: MAIN
Changes since 1.9: +27 -2 lines
Diff to previous 1.9 (colored)

Make GENERIC cats kernel boot again.  By allocating a 2nd second level page table for the kernel and stack space we can now have to 8MB of kernel and stacks (if the kernel ever gets really bloated might need to add a 3rd!)
Also update the funcs in arm32_machdep.c that create the entries so that on cats they expect the 2 pagetables to be contiguous, note this means that for now cats is special cased in lots of funcs.  I'll tidy this up to something a bit more sane soon, to avoid the multitude of #ifndef cats that I had to sprinkle in.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Fri Jan 11 23:37:59 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.6.2.3: +2 -2 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored)

More catchup.

Revision 1.2.2.5 / (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.2.2.4: +4 -5 lines
Diff to previous 1.2.2.4 (colored)

Sync kqueue branch with -current.

Revision 1.6.2.3 / (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.6.2.2: +2 -3 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 5 22:41:46 2002 UTC (22 years, 1 month ago) by chris
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile.  Turned up a few mismatched functions.  Note that this isn't all of the arm32 files.  Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 23 17:23:41 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

No need to pull in <machine/pte.h> directly.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 22 18:34:33 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Kill <machine/katelib.h>.  Any place that still uses it should just
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.

Revision 1.6.2.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.6.2.1: +605 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (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.5.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:16:29 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.6.2.1, Sat Oct 27 16:51:44 2001 UTC (22 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.6: +0 -605 lines
FILE REMOVED

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

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 27 16:51:44 2001 UTC (22 years, 4 months ago) by rearnsha
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

When creating section maps, use pte_cache_mode for setting the
page attributes of cacheable pages.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:37:29 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.3: +8 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Catch up with -current.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:06 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.2.2.3: +8 -6 lines
Diff to previous 1.2.2.3 (colored)

Update the kqueue branch to HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:35 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 9 10:33:43 2001 UTC (22 years, 5 months ago) by toshii
Branch: MAIN
Changes since 1.3: +6 -4 lines
Diff to previous 1.3 (colored)

Don't define pcb_* register macros.
pcb_sp macro conflicts with sys/netinet6/ipsec.c.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:08 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.2.2.2: +11 -8 lines
Diff to previous 1.2.2.2 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 11 13:00:48 2001 UTC (22 years, 6 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.2: +11 -8 lines
Diff to previous 1.2 (colored)

Make use of pmap_kenter instead of pmap_enter for kernel buffers.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:57 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.2.2.1: +600 -0 lines
Diff to previous 1.2.2.1 (colored)

update to -current

Revision 1.2.2.1, Sat Jul 28 18:12:43 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.2: +0 -600 lines
FILE REMOVED

file arm32_machdep.c was added on branch kqueue on 2001-08-03 04:10:57 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 28 18:12:43 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
Branch point for: kqueue
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

A couple of tidy ups to pmap:
pmap_t -> struct pmap * in pmap.c and pmap.h
kernel_pmap -> pmap_kernel() everywhere.

Compiled and booted on riscpc and cats.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 28 13:28:03 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN

Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.

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>