The NetBSD Project

CVS log for src/sys/arch/arm/include/arm32/machdep.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36 / (download) - annotate - [select for diffs], Sat Apr 2 11:16:07 2022 UTC (9 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.35: +26 -1 lines
Diff to previous 1.35 (colored)

Update to support EFI runtime outside the kernel virtual address space
by creating an EFI RT pmap that can be activated / deactivated when
required.

Adds support for EFI RT to ARM_MMU_EXTENDED (ASID) 32-bit Arm machines.

On Arm64 the usage of pmapboot_enter is reduced and the mappings are
created much later in the boot process -- now in cpu_startup_hook.
Backward compatiblity for KVA mapped RT from old bootaa64.efi is
maintained.

Adding support to other platforms should be easier as a result.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 28 13:36:52 2020 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 (colored)

Some KASAN fixes and tweaks

- don't access BSS variables when __md_early
- centralise the INIT_ARM_STACK_{SHIFT,SIZE} defines and create a new
  INIT_ARM_TOTAL_STACK
- Only create L1PT entries in kasan_md_shadow_map_page if
  arm32_kernel_vm_init hasn't created the L2PTs (and their L1PT entries)
- Add some comments to explain what's going on

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 4 07:02:35 2020 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.33: +7 -2 lines
Diff to previous 1.33 (colored)

Protect with #ifdef _KERNEL

Revision 1.21.14.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:35 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.21.14.2: +1 -1 lines
Diff to previous 1.21.14.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.21.14.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:29 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.21.14.1: +4 -6 lines
Diff to previous 1.21.14.1 (colored) to branchpoint 1.21 (colored)

Merge changes from current as of 20200406

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 5 15:18:54 2020 UTC (2 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored)

Revert "Include opt_diagnostic.h for DIAGNOSTIC."

This did not do what I thought it did.  opt_diagnostic.h is only for
the unused _DIAGNOSTIC, which seems like an abortive attempt to
incrementally convert DIAGNOSTIC to an opt_*.h option rather than a
command-line option.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 5 08:08:32 2020 UTC (2 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.31: +5 -1 lines
Diff to previous 1.31 (colored)

Include opt_diagnostic.h for DIAGNOSTIC.

...at least, in header files, which may not have already included
libkern.h.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:19 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.30: +1 -6 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:11 2020 UTC (2 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.30: +1 -6 lines
Diff to previous 1.30 (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.29.2.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:10:09 2020 UTC (2 years, 11 months 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.29: +4 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (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.30 / (download) - annotate - [select for diffs], Wed Dec 18 21:45:44 2019 UTC (3 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.29: +4 -1 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Tue Jul 16 14:41:43 2019 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Consistently use vaddr_t as initarm and friends return type.

Makes no difference to binaries except for aarch64 where it's required

Revision 1.21.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:54 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.21: +25 -9 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.21.12.4 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:15 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.21.12.3: +2 -2 lines
Diff to previous 1.21.12.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Synch with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 3 10:26:41 2019 UTC (4 years ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (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.21.12.3 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:25 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21.12.2: +2 -1 lines
Diff to previous 1.21.12.2 (colored) to branchpoint 1.21 (colored)

Sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (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.21.12.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:26 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21.12.1: +23 -4 lines
Diff to previous 1.21.12.1 (colored) to branchpoint 1.21 (colored)

Sync with HEAD

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

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 5 06:48:50 2018 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Sun Aug 5 06:18:05 2018 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.24: +3 -5 lines
Diff to previous 1.24 (colored)

Expose kern_vtopdiff

Revision 1.24 / (download) - annotate - [select for diffs], Fri Aug 3 15:46:41 2018 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.23: +21 -2 lines
Diff to previous 1.23 (colored)

Provide and use kern_vtopdiff in KERN_{VTOPHYS,PHYSTOV}.  A step towards
generic arm.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 1 13:48:00 2018 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

s/_ARM32_BOOT_MACHDEP_H_/_ARM32_MACHDEP_H_/ in multiple inclusion
protection.

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:28 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jul 15 05:16:41 2018 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (colored)

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:54 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.16.2.2: +5 -3 lines
Diff to previous 1.16.2.2 (colored) next main 1.17 (colored)

update from HEAD

Revision 1.18.6.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:31 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18.6.1: +4 -4 lines
Diff to previous 1.18.6.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:23 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD

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

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Mon Feb 20 17:23:54 2017 UTC (5 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Whitespace in comment

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 20 17:22:26 2017 UTC (5 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Trailing whitespace

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:31 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 11 12:37:13 2015 UTC (7 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

add support for optional RB_POWERDOWN handler

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:46 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.16.2.1: +2 -2 lines
Diff to previous 1.16.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.9.12.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:33 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.12.1: +2 -2 lines
Diff to previous 1.9.12.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (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.17.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:58 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 28 21:51:59 2014 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Change arm_cpu_mbox to volatile

Revision 1.8.64.1 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (8 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.8: +75 -11 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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

Revision 1.9.20.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:32 2012 UTC (10 years, 2 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.9: +65 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

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

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:06 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

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

Revision 1.9.12.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:05 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9: +65 -1 lines
Diff to previous 1.9 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 20 14:42:20 2012 UTC (10 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Increase l2pts to accomodate large memory disks.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 1 12:19:32 2012 UTC (10 years, 5 months ago) by martin
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.15: +0 -15 lines
Diff to previous 1.15 (colored)

Backout previous, Matt fixed it differently

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 1 12:05:09 2012 UTC (10 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.14: +16 -1 lines
Diff to previous 1.14 (colored)

Move struct pv_addr next to struct bootmem_info into machdep.h and have
pmap.h include that.
Seems to be the least intrusive build fix; Matt: feel free to revamp.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 31 23:59:52 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.13: +37 -3 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Wed Aug 29 23:10:31 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 29 19:10:16 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Since the PMC cycle counter is started in cpufunc no reason to do so here.
Use curcpu()->ci_data.cpu_cc_freq and new armreg* inlines.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 16 18:22:40 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.10: +23 -1 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sun Jul 29 00:07:10 2012 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

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

Revision 1.8.60.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:17 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

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

Revision 1.8.46.1 / (download) - annotate - [select for diffs], Mon May 4 08:10:42 2009 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.8.54.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:44 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 14 14:45:55 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (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.7.34.1 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:21 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.7.72.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:05 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:38 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base2, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, 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, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base7, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, chris-arm-intr-rework-base3, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, chris-arm-intr-rework, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, matt-nb5-mips64, jym-xensuspend
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

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

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:31 2002 UTC (20 years, 9 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.4.2: +2 -3 lines
Diff to previous 1.2.4.2 (colored) next main 1.3 (colored)

Catch up to -current.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 15:56:09 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.3: +1 -9 lines
Diff to previous 1.2.2.3 (colored) next main 1.3 (colored)

Catch up with -current.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 21 02:52:21 2002 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, 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-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, newlock-base, newlock, 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, 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, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, matt-nb4-arm-base, matt-nb4-arm, ktrace-lwp-base, ktrace-lwp, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, gdamore-uart-base, gdamore-uart, fvdl_fs64_base, elad-kernelauth-base, elad-kernelauth, eeh-devprop-base, eeh-devprop, chap-midi-nbase, chap-midi-base, chap-midi, bjh21-hydra-base, bjh21-hydra, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, yamt-idlelwp
Changes since 1.6: +1 -4 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 20 20:41:16 2002 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

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

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

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

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 20 00:10:18 2002 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:21 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.2: +10 -3 lines
Diff to previous 1.2.2.2 (colored)

Sync w/ -current.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 20 03:41:48 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.2: +10 -3 lines
Diff to previous 1.2 (colored)

Some prototype cleanup.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Fri Jan 11 23:38:04 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.1: +27 -0 lines
Diff to previous 1.2.4.1 (colored)

More catchup.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:55 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.2.2.1: +27 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.2.4.1, Mon Jan 7 22:58:08 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +0 -27 lines
FILE REMOVED

file machdep.h was added on branch nathanw_sa on 2002-01-11 23:38:04 +0000

Revision 1.2.2.1, Mon Jan 7 22:58:08 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.2: +0 -27 lines
FILE REMOVED

file machdep.h was added on branch kqueue on 2002-01-10 19:37:55 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 7 22:58:08 2002 UTC (21 years ago) by chris
Branch: MAIN
Branch point for: nathanw_sa, kqueue
Changes since 1.1: +13 -1 lines
Diff to previous 1.1 (colored)

Finish up the changes to get LOOSE_PROTOTYPES working for cats.
Note that this leaves a few inconsistencies (no more than we already had though) eg initarm is now prototyped in arm32/machdep.h, however only cats currently makes use of that header.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 5 22:41:48 2002 UTC (21 years ago) by chris
Branch: MAIN

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.

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>