The NetBSD Project

CVS log for src/sys/arch/mips/include/pmap.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.77 / (download) - annotate - [select for diffs], Wed Oct 26 07:35:19 2022 UTC (15 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.76: +23 -21 lines
Diff to previous 1.76 (colored)

MI PMAP hardware page table walker support.

This is based on code given to me by Matt Thomas a long time ago with
many updates and bugs fixes from me.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 4 05:39:12 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

consistency. NFCI.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:55 2021 UTC (3 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.74: +14 -4 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Sync w/ HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Dec 20 16:38:25 2020 UTC (3 years, 2 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-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.74: +14 -4 lines
Diff to previous 1.74 (colored)

Support __HAVE_PMAP_PV_TRACK in sys/uvm/pmap based pmaps (aka common pmap)

Revision 1.74 / (download) - annotate - [select for diffs], Mon Aug 17 03:19:35 2020 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored)

port crash(8) to mips.  (most of the kernel side.)

- expose parts of _KERNEL to _KMEMUSER as well
- hide more things for _KERNEL
- avoid DB_MACHINE_COMMANDS in crash(8)
- XXX add mips_label_t for !_KERNEL and use it in the pcb to
  avoid conflicting with the ddb/crash one
- enable dumppcb

some changes to make stack trace fail instead of SEGV and
the userland changes to crash itself not part of this change.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Aug 7 07:19:45 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.72: +16 -1 lines
Diff to previous 1.72 (colored)

Provide a pmap_segtab_deactivate for symmetry with pmap_segtab_activate
and use it in pmap_deactivate

Call pmap_md_xtab_{,de}activate from pmap_segtab_{,de}activate to be used
for PMAP_HWPAGEWALKER and any caches ops that might be required.

Provide empty (for now) pmap_md_xtab_{,de}activate functions on the
platforms that use sys/uvm/pmap

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jul 26 08:08:41 2020 UTC (3 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.71: +19 -19 lines
Diff to previous 1.71 (colored)

#define<tab>
Nuke trailing whitespace.

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:29 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Mon Apr 1 06:12:51 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

s/adddress/address/

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:27 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.62.2.1: +122 -246 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

update from HEAD

Revision 1.61.8.1.6.1 / (download) - annotate - [select for diffs], Wed Nov 8 21:22:57 2017 UTC (6 years, 3 months ago) by snj
Branch: netbsd-6-1
Changes since 1.61.8.1: +3 -1 lines
Diff to previous 1.61.8.1 (colored) next main 1.61.8.2 (colored)

Pull up following revision(s) (requested by skrll in ticket #1068):
	sys/arch/mips/include/pmap.h: revision 1.63
	sys/arch/mips/mips/pmap.c: revision 1.214
	sys/arch/mips/mips/pmap_segtab.c: revision 1.8
Deal with incompatible cache aliases. Specifically,
- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
    aliases where required and handle appropriately (via pmap_enter_pv)
Hopefully this (finally) addresses the instability reported in the
following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead

Revision 1.61.8.1.4.1 / (download) - annotate - [select for diffs], Wed Nov 8 21:22:48 2017 UTC (6 years, 3 months ago) by snj
Branch: netbsd-6-0
Changes since 1.61.8.1: +3 -1 lines
Diff to previous 1.61.8.1 (colored) next main 1.61.8.2 (colored)

Pull up following revision(s) (requested by skrll in ticket #1068):
	sys/arch/mips/include/pmap.h: revision 1.63
	sys/arch/mips/mips/pmap.c: revision 1.214
	sys/arch/mips/mips/pmap_segtab.c: revision 1.8
Deal with incompatible cache aliases. Specifically,
- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
    aliases where required and handle appropriately (via pmap_enter_pv)
Hopefully this (finally) addresses the instability reported in the
following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Wed Aug 30 15:45:04 2017 UTC (6 years, 5 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.69: +13 -1 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Pull up following revision(s) (requested by mrg in ticket #231):
	distrib/sets/lists/base/md.evbmips		1.3
	doc/CHANGES					1.2303-1.2304
	etc/etc.evbmips/MAKEDEV.conf			1.8
	etc/etc.evbmips/Makefile.inc			1.22
	etc/mtree/Makefile				1.37
	etc/mtree/NetBSD.dist.evbmips			1.1
	sys/arch/evbmips/Makefile			1.9
	sys/arch/evbmips/conf/SBMIPS			upto 1.2
	sys/arch/evbmips/conf/SBMIPS.MP			upto 1.2
	sys/arch/evbmips/conf/SBMIPS64			upto 1.2
	sys/arch/evbmips/conf/SBMIPS64.MP		upto 1.2
	sys/arch/evbmips/conf/files.sbmips		upto 1.2
	sys/arch/evbmips/conf/std.sbmips		upto 1.2
	sys/arch/evbmips/include/disklabel.h		1.6
	sys/arch/evbmips/include/loadfile_machdep.h
	sys/arch/evbmips/include/param.h		1.10
	sys/arch/evbmips/include/pci_machdep.h		1.3
	sys/arch/evbmips/sbmips/TODO
	sys/arch/evbmips/sbmips/autoconf.c
	sys/arch/evbmips/sbmips/autoconf.h
	sys/arch/evbmips/sbmips/console.c
	sys/arch/evbmips/sbmips/cpu.c			upto 1.3
	sys/arch/evbmips/sbmips/cpuvar.h
	sys/arch/evbmips/sbmips/disksubr.c
	sys/arch/evbmips/sbmips/leds.h
	sys/arch/evbmips/sbmips/locore_machdep.S
	sys/arch/evbmips/sbmips/machdep.c		upto 1.2
	sys/arch/evbmips/sbmips/rtc.c			upto 1.2
	sys/arch/evbmips/sbmips/sb1250_icu.c		upto 1.2
	sys/arch/evbmips/sbmips/swarm.h
	sys/arch/evbmips/sbmips/systemsw.c		upto 1.2
	sys/arch/evbmips/sbmips/systemsw.h
	sys/arch/evbmips/sbmips/zbbus.c			upto 1.2
	sys/arch/evbmips/stand/Makefile			1.1
	sys/arch/evbmips/stand/sbmips/Makefile
	sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
	sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
	sys/arch/evbmips/stand/sbmips/Makefile.bootxx
	sys/arch/evbmips/stand/sbmips/Makefile.inc	upto 1.3
	sys/arch/evbmips/stand/sbmips/boot/Makefile
	sys/arch/evbmips/stand/sbmips/boot/filesystem.c
	sys/arch/evbmips/stand/sbmips/boot/version
	sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
	sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
	sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
	sys/arch/evbmips/stand/sbmips/common/bbinfo.h
	sys/arch/evbmips/stand/sbmips/common/blkdev.c	upto 1.2
	sys/arch/evbmips/stand/sbmips/common/blkdev.h
	sys/arch/evbmips/stand/sbmips/common/boot.c	upto 1.2
	sys/arch/evbmips/stand/sbmips/common/boot.ldscript
	sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
	sys/arch/evbmips/stand/sbmips/common/bootxx.c
	sys/arch/evbmips/stand/sbmips/common/cfe.c
	sys/arch/evbmips/stand/sbmips/common/cfe_api.c
	sys/arch/evbmips/stand/sbmips/common/cfe_api.h
	sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
	sys/arch/evbmips/stand/sbmips/common/cfe_error.h
	sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
	sys/arch/evbmips/stand/sbmips/common/checksize.sh
	sys/arch/evbmips/stand/sbmips/common/common.h
	sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
	sys/arch/evbmips/stand/sbmips/common/putstr.c
	sys/arch/evbmips/stand/sbmips/common/start.S
	sys/arch/evbmips/stand/sbmips/netboot/Makefile
	sys/arch/evbmips/stand/sbmips/netboot/conf.c
	sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
	sys/arch/evbmips/stand/sbmips/netboot/devopen.c
	sys/arch/evbmips/stand/sbmips/netboot/getsecs.c	upto 1.2
	sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c	upto 1.2
	sys/arch/evbmips/stand/sbmips/netboot/version
	sys/arch/mips/conf/files.sibyte			1.8
	sys/arch/mips/include/pmap.h			1.70
	sys/arch/mips/sibyte/dev/sbbuswatch.c		1.4
	sys/arch/mips/sibyte/dev/sbmac.c		1.49
	sys/arch/mips/sibyte/dev/sbscn.c		1.43
	sys/arch/mips/sibyte/dev/sbsmbus.c		1.17
	sys/arch/mips/sibyte/dev/sbtimer.c		1.21
	sys/arch/mips/sibyte/dev/sbwdog.c		1.15
	sys/arch/mips/sibyte/pci/sbbrz_pci.c		1.8
	usr.sbin/installboot/installboot.8		1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.

Revision 1.63.4.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:45 2017 UTC (6 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.63.4.3: +13 -1 lines
Diff to previous 1.63.4.3 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jul 24 09:56:45 2017 UTC (6 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, nick-nhusb-base-20170825
Branch point for: phil-wifi
Changes since 1.69: +13 -1 lines
Diff to previous 1.69 (colored)

mostly converted sbmips -> evbmips.  the SBMIPS kernel builds fully
sans disksubr.c.  intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.

Revision 1.63.4.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:15 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.63.4.2: +3 -3 lines
Diff to previous 1.63.4.2 (colored) to branchpoint 1.63 (colored)

Sync with HEAD

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:21 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.69 / (download) - annotate - [select for diffs], Fri Dec 23 07:15:27 2016 UTC (7 years, 2 months ago) by cherry
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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.

Revision 1.63.4.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:31 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.63.4.1: +108 -262 lines
Diff to previous 1.63.4.1 (colored) to branchpoint 1.63 (colored)

Sync with HEAD

Revision 1.68 / (download) - annotate - [select for diffs], Mon Jul 11 16:15:35 2016 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.67: +110 -264 lines
Diff to previous 1.67 (colored)

Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:47 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.63: +33 -15 lines
Diff to previous 1.63 (colored)

Sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 11 15:50:17 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.66: +6 -5 lines
Diff to previous 1.66 (colored)

Define (but not use) separate kernel and user pagetables.
Move to the new names.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jun 11 08:22:09 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.65: +23 -8 lines
Diff to previous 1.65 (colored)

Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now.  It won't
be long until we switch to the uvm/pmap one.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jun 10 22:31:00 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.64: +6 -6 lines
Diff to previous 1.64 (colored)

Transition from __cpuset_t to kcpuset_t *.  This brings the local pmap one
step closer to uvm/pmap, its eventual replacement.  Tested on ERLITE MP kernel.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 7 06:07:49 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored)

assembly no longer include <machine/cpu.h>.  Instead MIPS_CURLWP is gotten
from regdef.h and everything else from assym.h.  <mips/mips_param.h> no
longer include <machine/cpu.h>

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:12 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.62: +3 -1 lines
Diff to previous 1.62 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.62.12.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:02 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.62: +3 -1 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Rebase.

Revision 1.61.8.2 / (download) - annotate - [select for diffs], Wed Jun 11 15:38:04 2014 UTC (9 years, 8 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.61.8.1: +3 -1 lines
Diff to previous 1.61.8.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Pull up following revision(s) (requested by skrll in ticket #1068):
	sys/arch/mips/mips/pmap.c: revision 1.214
	sys/arch/mips/include/pmap.h: revision 1.63
	sys/arch/mips/mips/pmap_segtab.c: revision 1.8
Deal with incompatible cache aliases. Specifically,
- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
    aliases where required and handle appropriately (via pmap_enter_pv)
Hopefully this (finally) addresses the instability reported in the
following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable/unusable on cobalt qube2
PR/48628 - cobalt and hpcmips ports are dead

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:57 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.61.2.1: +3 -1 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (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.62.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:17 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.62: +3 -1 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head

Revision 1.63 / (download) - annotate - [select for diffs], Sun May 11 07:53:28 2014 UTC (9 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, 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.62: +3 -1 lines
Diff to previous 1.62 (colored)

Deal with incompatible cache aliases. Specifically,

- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
  aliases where required and handle appropriately (via pmap_enter_pv)

Hopefully this (finally) addresses the instability reported in the
following PRs:

PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead

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

sync with head

Revision 1.54.26.28 / (download) - annotate - [select for diffs], Wed Aug 8 22:10:21 2012 UTC (11 years, 6 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.27: +1 -1 lines
Diff to previous 1.54.26.27 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Fix some LP64 bugs

Revision 1.54.26.27 / (download) - annotate - [select for diffs], Sat Aug 4 07:20:31 2012 UTC (11 years, 6 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.26: +2 -8 lines
Diff to previous 1.54.26.26 (colored) to branchpoint 1.54 (colored)

Make MIPS use a multi-level page table for the kernel address space.
(just like the user address does).   XXX fix mips1

Revision 1.54.26.26 / (download) - annotate - [select for diffs], Mon Jul 9 17:23:37 2012 UTC (11 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.25: +11 -8 lines
Diff to previous 1.54.26.25 (colored) to branchpoint 1.54 (colored)

Use a spinlock to protect the segtab queues.  Use union pmap_segmap and
pmap_segmap_t to track -HEAD.  Use KERNEL_PID for the same reason.

Revision 1.61.8.1 / (download) - annotate - [select for diffs], Thu Jul 5 18:39:42 2012 UTC (11 years, 7 months ago) by riz
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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-1, netbsd-6-0
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

Pull up following revision(s) (requested by matt in ticket #406):
	sys/arch/mips/include/pmap.h: revision 1.62
	sys/arch/mips/mips/pmap.c: revision 1.208
	sys/arch/mips/mips/pmap_segtab.c: revision 1.5
Change lockless segtab management to use a mutex for protection.  Some =
minor
changes to make this closer to common/pmap/tlb/pmap_segtab.c
=20
=20

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jul 5 17:21:02 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy, rmind-smpnet
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

Change lockless segtab management to use a mutex for protection.  Some minor
changes to make this closer to common/pmap/tlb/pmap_segtab.c

Revision 1.54.26.25 / (download) - annotate - [select for diffs], Mon Feb 27 16:57:05 2012 UTC (11 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.24: +1 -1 lines
Diff to previous 1.54.26.24 (colored) to branchpoint 1.54 (colored)

Add a page-table-page cache to keep reuse just released page table tables.
Actually remove the addresses in pmap_remove_all.

Revision 1.54.26.24 / (download) - annotate - [select for diffs], Thu Feb 16 23:02:21 2012 UTC (12 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.23: +4 -3 lines
Diff to previous 1.54.26.23 (colored) to branchpoint 1.54 (colored)

Move the ksegx tlb init code into its own function.
Fix a problem with concurrent shootdowns by tracking what cpus want a
shootdown for a pmap, and if anoter cpu wants a shootdown, perform the
shootdown on ourselves.

Revision 1.54.26.23 / (download) - annotate - [select for diffs], Thu Jan 19 08:28:48 2012 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.22: +1 -12 lines
Diff to previous 1.54.26.22 (colored) to branchpoint 1.54 (colored)

When running an N32 kernel, run it with 64-bit addresses even though the
kernel itself will only use 32-bit addresses.  There are exceptions.
bus_space_handles are now register_t instead of intptr_t.  This allows them
to contain XKPHYS addresses.  Now bus_space can use XKPHYS addresses and
not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more
KSEG2 space for the kernel to use.

The cache range routines (but not index routines) now take a register_t
instead of vaddr_t so they can too take a XKPHYS address.  This allows the
pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding
massive icache invalidations.

Since "cache" instruction effects are global to all CPUs and their caches, we
can use the above to greatly simplify MP page isyncs.  If using an O32 kernel
with pages outside KSEG0, index ops still need to be performed since there
isn't an a quick way of mapping the page.

Revision 1.54.26.22 / (download) - annotate - [select for diffs], Tue Dec 27 16:09:36 2011 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.21: +2 -2 lines
Diff to previous 1.54.26.21 (colored) to branchpoint 1.54 (colored)

Deal with not defining PAGE_SIZE or PAGE_SHIFT for non-kernel inclusion.

Revision 1.54.26.21 / (download) - annotate - [select for diffs], Tue Dec 27 01:56:33 2011 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.20: +8 -1 lines
Diff to previous 1.54.26.20 (colored) to branchpoint 1.54 (colored)

Make these play nice with modules.

Revision 1.54.26.20 / (download) - annotate - [select for diffs], Fri Dec 23 22:31:30 2011 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.19: +17 -12 lines
Diff to previous 1.54.26.19 (colored) to branchpoint 1.54 (colored)

Split syncicache functions into separate file: pmap_syncicache.
Support up to 1024 ASIDs.
Always use atomic ops for manipulating pm_shootdown_pending
Nuke PMAP_POOLPAGE_DEBUG
defparam MIPS_PAGE_SHIFT
Track colors of execpages.

Revision 1.54.26.19 / (download) - annotate - [select for diffs], Sat Dec 3 01:56:55 2011 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.18: +2 -1 lines
Diff to previous 1.54.26.18 (colored) to branchpoint 1.54 (colored)

Rework things a bit for the XLR/XLS/XLP TLB.  Before dealing with the TLB when
MP on the XL?, disable interrupts and take out a lock to prevent concurrent
updates to the TLB.  In the TLB miss and invalid exception handlers, if the
lock is already owned by another CPU, simply return from the exception and
let it continue or restart as appropriate.  This prevents concurrent TLB
exceptions in multiple threads from possibly updating the TLB multiple times
for a single address.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Sep 22 05:08:52 2011 UTC (12 years, 5 months ago) by macallan
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.60: +2 -1 lines
Diff to previous 1.60 (colored)

support BUS_SPACE_MAP_PREFETCH in order to allow mapping device memory and
DMA buffers with cacheing disabled but things like write combining, relaxed
ordering etc. allowed when the CPU supports it
so far enabled only on Loongson, should work on R1xk and probably newer CPUs

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:03 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.59: +195 -41 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

Revision 1.54.26.18 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:21 2011 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.17: +5 -4 lines
Diff to previous 1.54.26.17 (colored) to branchpoint 1.54 (colored)

Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:04 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.57: +207 -38 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:48 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.59: +194 -40 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Sun Feb 20 07:45:47 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.59: +195 -41 lines
Diff to previous 1.59 (colored)

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.54.26.17 / (download) - annotate - [select for diffs], Sat Feb 5 06:31:05 2011 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.54.26.16: +3 -1 lines
Diff to previous 1.54.26.16 (colored) to branchpoint 1.54 (colored)

- protect option includes ("opt_multiprocessor.h") with #ifdef _KERNEL_OPT

Revision 1.54.26.16 / (download) - annotate - [select for diffs], Sat Feb 5 06:00:12 2011 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.54.26.15: +3 -1 lines
Diff to previous 1.54.26.15 (colored) to branchpoint 1.54 (colored)

- include opt_multiprocessor.h for explicit MULTIPROCESSOR dependency

Revision 1.54.26.15 / (download) - annotate - [select for diffs], Wed Dec 22 06:05:41 2010 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.54.26.14: +2 -1 lines
Diff to previous 1.54.26.14 (colored) to branchpoint 1.54 (colored)

Add a pmap_asid_check which verifies the current ASID is in COP0 ENTRY_HI

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Tue Nov 16 02:50:14 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.57.2.1: +15 -0 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Nov 14 13:33:22 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base7, uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.58: +16 -1 lines
Diff to previous 1.58 (colored)

Move struct vm_page_md definition from vmparam.h to pmap.h, because
it's used only by pmap.  vmparam.h has definitions for wider
audience.

All GENERIC kernels build tested, except ia64.

powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:51 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Sync with HEAD.

Revision 1.54.26.14 / (download) - annotate - [select for diffs], Mon Aug 16 18:01:13 2010 UTC (13 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.54.26.13: +12 -5 lines
Diff to previous 1.54.26.13 (colored) to branchpoint 1.54 (colored)

Support user VAs > 4GB (but less than 1TB for now) using a 3 level page table.
Add debug code to help find redundant faults (PMAP_FAULTINFO).

Revision 1.54.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:23 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54.10.3: +2 -2 lines
Diff to previous 1.54.10.3 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jul 6 20:50:34 2010 UTC (13 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Turn PMAP_NOCACHE into MI flag.
Add MI flags PMAP_WRITE_COMBINE, PMAP_WRITE_BACK, PMAP_NOCACHE_OVR.
Update pmap(9) manpage.

hppa: Remove MD PMAP_NOCACHE flag as it exists as MI flag
mips: Rename MD PMAP_NOCACHE to PGC_NOCACHE.

x86: Implement new MI flags using Page-Attribute Tables.
x86: Implement BUS_SPACE_MAP_PREFETCHABLE.

Patch presented on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2010/06/30/msg008458.html

No comments on this last version.

Revision 1.54.26.13 / (download) - annotate - [select for diffs], Tue May 4 17:15:53 2010 UTC (13 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.12: +3 -1 lines
Diff to previous 1.54.26.12 (colored) to branchpoint 1.54 (colored)

Add pm_flags and PMAP_DEFERRED_ACTIVATE

Revision 1.54.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:38 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54.10.2: +14 -8 lines
Diff to previous 1.54.10.2 (colored) to branchpoint 1.54 (colored)

sync with head

Revision 1.54.26.12 / (download) - annotate - [select for diffs], Thu Mar 11 08:19:01 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.11: +18 -8 lines
Diff to previous 1.54.26.11 (colored) to branchpoint 1.54 (colored)

Add MP-aware icache support.

Revision 1.54.26.11 / (download) - annotate - [select for diffs], Sat Feb 27 07:58:52 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.10: +2 -2 lines
Diff to previous 1.54.26.10 (colored) to branchpoint 1.54 (colored)

Add mipsXX_tlb_enter which modifies/sets a specific TLB entry with a new
mapping (useful for wired TLB entries).
Add mips_fixup_exceptions which will walk through the exception vectors
and allows the fixup of any cpu_info references to be changed to a more
MP-friendly incarnation.
Define a common fixup method to use a wired TLB entry at -PAGE_SIZE allowing
direct loads using a negative based from the zero register.
Change varible pmap_tlb_info t pmap_tlb0_info.

Revision 1.54.26.10 / (download) - annotate - [select for diffs], Thu Feb 25 05:53:23 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.9: +13 -26 lines
Diff to previous 1.54.26.9 (colored) to branchpoint 1.54 (colored)

Make the UP and MP ASID allocation algorithm common.  Significantly improve
the algorithm.  Now when we exhaust the ASIDs, interrogate the TLB for active
ASIDS and release all the other for future allocations.  This leaves the
TLB entries with ASIDs valid avoiding the need to re-incur TLB misses for
them.

Revision 1.54.26.9 / (download) - annotate - [select for diffs], Tue Feb 23 20:33:47 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.8: +71 -17 lines
Diff to previous 1.54.26.8 (colored) to branchpoint 1.54 (colored)

Make sure <mips/locore.h> is not included by MI code.
Add send_ipi and cpu_offline_md hooks to locoresw.
Add MP support to pmap (pvlist locking, tlb locking).
Add TLB shootdown support (see comment at the top of mips/pmap_tlb.c).
Add mipsXX_tlb_invalidate_globals routine

Revision 1.54.26.8 / (download) - annotate - [select for diffs], Tue Jan 26 21:19:25 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.7: +3 -20 lines
Diff to previous 1.54.26.7 (colored) to branchpoint 1.54 (colored)

Revamp pmap.  Add exec page caching logic from powerpc oea pmap.  Shrink struct
vm_page by placing the first pv_entry in it.  Remove pv_flags since nothing
really needed it.  Add pmap counters.  Rework virtual cache alias logic.
Allow pmap_copy_page and pmap_zero_page to deal with non-KSEG0 mappable pages.

Revision 1.54.26.7 / (download) - annotate - [select for diffs], Fri Jan 22 07:41:10 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.6: +6 -2 lines
Diff to previous 1.54.26.6 (colored) to branchpoint 1.54 (colored)

Seperate the pmap TLB functions into their own file.
For 32 bit kernels, make sure that mips_virtual_end doesn't go past
VM_MAX_KERNEL_ADDRESS.

Revision 1.54.26.6 / (download) - annotate - [select for diffs], Wed Jan 20 06:58:35 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.5: +16 -9 lines
Diff to previous 1.54.26.5 (colored) to branchpoint 1.54 (colored)

Revamp things a bit.  Move of the globals mips uses into either cpu_info,
mips_options, or mips_cache_info.  Make MALT64 be able to boot MULTIPROCESSOR.
(some pmap MP work).

Revision 1.54.26.5 / (download) - annotate - [select for diffs], Fri Jan 15 06:46:59 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.4: +37 -3 lines
Diff to previous 1.54.26.4 (colored) to branchpoint 1.54 (colored)

Get rid of most of the studly caps.
First to MULTIPROCESSOR support for pmap: move some pmap globals to cpu_info.
Define per-cpu ASID number spaces.
Remove some mips1/!mips1 difference in db_interface.c
Add mips32/64 knowledge to stacktrace.

Revision 1.54.26.4 / (download) - annotate - [select for diffs], Sun Jan 10 02:48:46 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.3: +4 -1 lines
Diff to previous 1.54.26.3 (colored) to branchpoint 1.54 (colored)

Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion.  MALTA uses it for ISADMA.  Make RMIXL use
for creating 32bit and 29bit subregions.

Revision 1.54.26.3 / (download) - annotate - [select for diffs], Thu Dec 31 00:54:09 2009 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.2: +6 -6 lines
Diff to previous 1.54.26.2 (colored) to branchpoint 1.54 (colored)

Use mips_page_physload and mips_init_lwp0_uarea.

Revision 1.54.26.2 / (download) - annotate - [select for diffs], Wed Dec 30 04:51:26 2009 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.54.26.1: +17 -4 lines
Diff to previous 1.54.26.1 (colored) to branchpoint 1.54 (colored)

Please segtab lookups into separate file.
Add mips_add_physload
Add mips_init_lwp0_uarea
cleanup lwp0/cpu_info_store initialization.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:05 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.56: +14 -8 lines
Diff to previous 1.56 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.54.26.1 / (download) - annotate - [select for diffs], Mon Sep 7 21:42:17 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.54: +14 -8 lines
Diff to previous 1.54 (colored)

Cleanup for LP64.  XXX pv_entry needs work.

Revision 1.54.10.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:54 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54.10.1: +6 -5 lines
Diff to previous 1.54.10.1 (colored) to branchpoint 1.54 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jun 29 13:22:51 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, matt-premerge-20091211, jymxensuspend-base
Changes since 1.55: +6 -5 lines
Diff to previous 1.55 (colored)

Since pmap.c rev 1.163, page attributes of PV_MODIFIED and PV_REFERENCED
have beem moved from pv_flags in struct pv_entry to pvh_attrs in
struct vm_page_md, so no need to copy pv_flags to keep these flags
in pv header in pmap_remove_pv(). Pointed out by uebayasi@ on port-mips.
Also rename those page attribute flags from PV_FOO to PGA_FOO like alpha.
While here, make pv_flags unsigned.

Briefly tested on sgimips O2.

Revision 1.54.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:31 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored)

sync with head.

Revision 1.54.18.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:30 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:16 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

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

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

Revision 1.55 / (download) - annotate - [select for diffs], Tue Dec 9 20:45:45 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored)

Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module.  pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the pmap_t pointer typedefs into
uvm_pmap.h.

Thanks to Greg Oster for providing cpu muscle for doing test builds.

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

Sync with HEAD.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:37:32 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.47.2.1: +2 -2 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with head

Revision 1.52.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:47:15 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.52.10.1: +2 -2 lines
Diff to previous 1.52.10.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with HEAD

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:40 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Wed Dec 26 16:01:34 2007 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, 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-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, matt-nb5-mips64, haad-dm
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Merge more changes from vmlocking2, mainly:

- Locking improvements.
- Use pool_cache for more items.

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:02:51 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.52.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:19:03 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.52: +1 -1 lines
Diff to previous 1.52 (colored)

sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:37 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.52: +1 -1 lines
Diff to previous 1.52 (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.50.32.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:21 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:57 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.47: +6 -1 lines
Diff to previous 1.47 (colored)

sync with head.

Revision 1.50.24.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:28 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.50.24.1: +6 -1 lines
Diff to previous 1.50.24.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 17 04:01:34 2007 UTC (16 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.51: +5 -1 lines
Diff to previous 1.51 (colored)

if we have 64bit paddr_t add a flag which indicates non-cachable for use
with mmap*() and pmap_enter()
Mainly for allowing userland to mmap() the O2's framebuffer uncached

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 16 23:48:05 2007 UTC (16 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored)

change pmap_phys_address()s parameter to paddr_t since that's what it gets
fed from mmap*() anyway
approved by gimpy

Revision 1.50.24.1 / (download) - annotate - [select for diffs], Sun Jul 15 22:20:23 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Get pmax working.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:26 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:42 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:41 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:14 2006 UTC (18 years ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, 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, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup, 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, mjf-ufs-trans-base, mjf-ufs-trans, 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, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: vmlocking, ppcoea-renovation
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:19 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:09 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.47: +1 -1 lines
Diff to previous 1.47 (colored)

merge ktrace-lwp.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Mon Nov 21 20:02:26 2005 UTC (18 years, 3 months ago) by tron
Branch: netbsd-3
CVS Tags: 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #961):
	sys/arch/mips/mips/cache.c: revision 1.27
	sys/arch/mips/include/cache.h: revision 1.8
	sys/arch/mips/mips/pmap.c: revision 1.158
	sys/arch/mips/mips/vm_machdep.c: revision 1.106
	sys/arch/mips/mips/mem.c: revision 1.30
	sys/arch/mips/include/pmap.h: revision 1.47
Add a workaround to handle virtual alias which may cause data corruption
on R5000/Rm52xx machines:
- Add a new global variable mips_cache_virtual_alias in mips/cache.c,
  which indicates that VIPT cache on the CPU could cause virtual alias
  and software support is required to handle it. (i.e. no VCED/VCEI)
- Add several cache flush/invalidate ops around KSEG0 access which
  might cause virtual alias if mips_cache_virtual_alias is true.
  (note checking mips_sdcache_line_size isn't valid for R5000/Rm52xx
   because only R4000/R4400 with L2 cache have VCED/VCEI)
- Remove a global variable mips_sdcache_forceinv, which is now superseded
  by new mips_cache_virtual_alias.
While here, also change some R4000/R4400 cache ops:
- Don't override mips_cache_alias_mask and mips_cache_prefer_mask with
  values based on MIPS3_MAX_PCACHE_SIZE for R4000/R4400 with L2 cache
  because it's still worth to reduce VCED/VCEI.
- Flush dcache in pmap_zero_page(9) unconditionally on all MIPS_HAS_R4K_MMU
  CPUs and remove cache flush code from cpu_lwp_fork() in vm_machdep.c.
Thanks to Markus W Kilbinger for testing patches on port-cobalt/port-mips.
XXX This fix is just a workaround because it doesn't handle all possible
XXX virtual aliases. As discussed on port-mips, maybe the real fix
XXX for virtual alias is to change MI UVM to adapt it to VIPT cache.
XXX (all VA mappings against the same PA must have the same VAC index etc.)

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

sync with -current

Revision 1.43.2.5 / (download) - annotate - [select for diffs], Fri Apr 1 14:27:54 2005 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.43.2.4: +5 -3 lines
Diff to previous 1.43.2.4 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:17 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Mar 26 09:51:02 2005 UTC (18 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored)

Add a workaround to handle virtual alias which may cause data corruption
on R5000/Rm52xx machines:
- Add a new global variable mips_cache_virtual_alias in mips/cache.c,
  which indicates that VIPT cache on the CPU could cause virtual alias
  and software support is required to handle it. (i.e. no VCED/VCEI)
- Add several cache flush/invalidate ops around KSEG0 access which
  might cause virtual alias if mips_cache_virtual_alias is true.
  (note checking mips_sdcache_line_size isn't valid for R5000/Rm52xx
   because only R4000/R4400 with L2 cache have VCED/VCEI)
- Remove a global variable mips_sdcache_forceinv, which is now superseded
  by new mips_cache_virtual_alias.

While here, also change some R4000/R4400 cache ops:
- Don't override mips_cache_alias_mask and mips_cache_prefer_mask with
  values based on MIPS3_MAX_PCACHE_SIZE for R4000/R4400 with L2 cache
  because it's still worth to reduce VCED/VCEI.
- Flush dcache in pmap_zero_page(9) unconditionally on all MIPS_HAS_R4K_MMU
  CPUs and remove cache flush code from cpu_lwp_fork() in vm_machdep.c.

Thanks to Markus W Kilbinger for testing patches on port-cobalt/port-mips.


XXX This fix is just a workaround because it doesn't handle all possible
XXX virtual aliases. As discussed on port-mips, maybe the real fix
XXX for virtual alias is to change MI UVM to adapt it to VIPT cache.
XXX (all VA mappings against the same PA must have the same VAC index etc.)

Revision 1.43.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:29:58 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.43.2.3: +3 -3 lines
Diff to previous 1.43.2.3 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 17 04:54:14 2005 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base, netbsd-3-0-RC1
Branch point for: yamt-km, netbsd-3
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Teach mips pmap_prefer() to deal with topdown.

Tested by simonb.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jan 17 04:37:20 2005 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Convert the PMAP_PREFER() macro from two arguments (offset and hint)
to four (adding size and direction).

In order for topdown uvm to be an option on ports using PMAP_PREFER,
they will need to "prefer" lower addresses if topdown is being used.
Additionally, at least one port also needs to know the size.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:39 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.43: +34 -2 lines
Diff to previous 1.43 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:28 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.43: +34 -2 lines
Diff to previous 1.43 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 9 22:10:58 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Cast the arg to MIPS_KSEG0_TO_PHYS() in POOL_VTOPHYS() (thanks, nathan!).

Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 9 18:22:14 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored)

Add the ability for pool caches to cache the physical address of
objects.  Clients of the pool_cache API must consistently use
the "paddr" variants or not, otherwise behavior is undefined.

Enable this on Alpha, ARM, MIPS, and x86.  Other platforms must
define POOL_VTOPHYS() in the appropriate manner in order to enable
the feature.

Part 1 of a series of simple patches contributed by Wasabi Systems
to improve network performance.

Revision 1.37.4.4 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:04 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.37.4.3: +4 -4 lines
Diff to previous 1.37.4.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 30 01:52:32 2002 UTC (21 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Standardise on #ifdef _MIPS_<header>_H_ for multiple inclusion tests.

Revision 1.37.4.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:38:44 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.37.4.2: +7 -1 lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored)

Catch up to -current.

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:34:04 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.35.2.3: +7 -1 lines
Diff to previous 1.35.2.3 (colored) next main 1.36 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 22 07:53:45 2002 UTC (21 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not.  doh.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 22 07:17:15 2002 UTC (21 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.38: +7 -1 lines
Diff to previous 1.38 (colored)

add pmap_remove_all() hook (empty on most platforms so far).

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:40:59 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.37.4.1: +154 -0 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)

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

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:58:35 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.35.2.2: +12 -7 lines
Diff to previous 1.35.2.2 (colored)

Catch up with -current.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Mar 5 15:37:32 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.37: +12 -7 lines
Diff to previous 1.37 (colored)

Add support for MIPS32 and MIPS64 architectures:
  Better cache coherency attribute macros (from Broadcom Corp).

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:40:45 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Catch up with -current.

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

Update the kqueue branch to HEAD.

Revision 1.37.4.1, Mon Sep 10 21:19:18 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.37: +0 -149 lines
FILE REMOVED

file pmap.h was added on branch nathanw_sa on 2002-04-01 07:40:59 +0000

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:18 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (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.35.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:32 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.35: +1 -7 lines
Diff to previous 1.35 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 4 04:26:48 2001 UTC (22 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.35: +1 -7 lines
Diff to previous 1.35 (colored)

remove the uncached idle-loop page zeroing.
(to be replaced by a version that uses the cache...)

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:28:01 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Catch up to -current.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 26 21:27:09 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.34 / (download) - annotate - [select for diffs], Sat May 26 16:32:42 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Mon Apr 23 09:41:53 2001 UTC (22 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27.2.2: +3 -1 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 22 23:19:28 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Undo a misguided previous change to the pmap_update() API.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Apr 22 00:34:01 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 21 23:51:17 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

#define away pmap_update() in <machine/pmap.h> so that no function
call overhead is incurred as we start sprinkling pmap_update() calls
throughout the source tree (no pmaps currently defer operations, but
we are adding the infrastructure to allow them to do so).

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:34:42 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27.2.1: +1 -9 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 25 08:56:12 2000 UTC (23 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.29: +1 -9 lines
Diff to previous 1.29 (colored)

- fix typos in mips_user_cacheflush() and mips_user_cachectl().
- relocate those function declarations from include/pmap.h.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:13:32 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27: +8 -2 lines
Diff to previous 1.27 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Sep 21 17:46:05 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Make PMAP_PAGEIDLEZERO() return a boolean value.  FALSE indidcates
that the page being zero'd was not completed and that page zeroing
should be aborted.  This may be used by machine-dependent code doing
slow page access to reduce the latency of running a process that has
become runnable while in the middle of doing a slow page zero.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 28 19:25:55 2000 UTC (23 years, 10 months ago) by soren
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.27: +8 -2 lines
Diff to previous 1.27 (colored)

Zero free pages in the idle loop.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:52:02 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.25: +10 -10 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync w/ -current.

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 18 01:36:51 1999 UTC (24 years, 9 months ago) by nisimura
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

- Move MachSetPID(1) call to pmap_bootstrap() adajacent to kernel pmap
initialization code.
- Abandon mips_init_proc0() and do the 4 lines straightly in MD mach_init().
- Restore a block of code accidentally lost in prevous commit.
- Change the term 'tlbpid' to a MIPS3 nomenclature 'asid'.
- Hide PTE size exposures by symbolic names in locore.S

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 24 08:10:36 1999 UTC (24 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Nuke register and remove trailling white space.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 26 19:03:39 1999 UTC (25 years ago) by is
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

MIPS part of fix for PR 6152, sligtly changed from M.Hitch's version

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 18 02:11:07 1999 UTC (25 years, 1 month ago) by castor
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Remove vestiges of cpuarch.h.  Revert to using cpuregs.h instead.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 14 18:45:45 1999 UTC (25 years, 1 month ago) by castor
Branch: MAIN
Changes since 1.22: +3 -4 lines
Diff to previous 1.22 (colored)

* Create mips_reg_t data type to allow register size to be
  decoupled from long or int or long long.  Define macros in asm.h to facilitate
  choosing these on a port by port basis.

* Create <machine/pubassym.h> mechanism to allow jmp_buf structure size
  to be calculated at system build time.

* Define _MIPS_BSD_SIM macro which specifies what calling style is appropritae
  for the architecture.  For 64-bit oriented systems set the Status Register
  to allow 64-bit instructions.

* Remove UADDR related macros because kernel U structure is now mapped
  normally.
* Separate cpu.h into cpu.h and cpuarch.h to keep things neat.
* Add support for QED 52xx processors

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 6 04:11:25 1999 UTC (25 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.21: +9 -9 lines
Diff to previous 1.21 (colored)

- Complete vm_offset_t purge for mips processor.
- bzero() -> memset() and bcopy() -> memcpy().
- Garbage collection in trap.c and db_interface.c.

Revision 1.19.4.4 / (download) - annotate - [select for diffs], Sun Dec 6 21:03:46 1998 UTC (25 years, 2 months ago) by drochner
Branch: nisimura-pmax-wscons
Changes since 1.19.4.3: +3 -1 lines
Diff to previous 1.19.4.3 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

pull up 1.21 - PV_REFERENCED

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 29 03:18:32 1998 UTC (25 years, 3 months ago) by jonathan
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Add PV_REFERENCED and track as for PV_MODIFIED,.

UVM relies on pmap modules keeping track of modified/referenced bits
after a page has been removed from all mappings.  So *dont* clear
PV_REFERENCED or PV_MODIFIED flags in pmap_remove().

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Mon Nov 16 10:41:36 1998 UTC (25 years, 3 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.19.4.2: +8 -8 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored)

- Step forward to MIPS64 support.  Incorporate partially Caster Fu's
patches.  Still some work is missing to satisfy his QED 5230 port.

- More symbolic definitions in genassym.cf which improve possible 64bit-ness
of locore_mips{1,3}.S.

- Fix mips3 L1 cache line size detection logic in cpuarch.h as pointed by
Caster.

- Fix a bug in proc_trampoline() code in locore_mips3.S as pointed by Caster.

- Replace vm_offset_t with vaddr_t/paddr_t entirely.  Note that
NetBSD/newsmips has purged vm_offset_t too.

- Synchronize various files according to recent changes made in main trunk.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sun Nov 15 16:20:48 1998 UTC (25 years, 3 months ago) by drochner
Branch: nisimura-pmax-wscons
Changes since 1.19.4.1: +4 -7 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

sync to trunk (page modified bit handling, needed for UVM)

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 15 02:34:19 1998 UTC (25 years, 3 months ago) by mhitch
Branch: MAIN
Changes since 1.19: +4 -7 lines
Diff to previous 1.19 (colored)

Change page modification emulation:  don't fiddle with VM flags directly.
Track page modification status in the PV entry like the alpha, and let
pmap_is_modified() return current status back to the VM system.  UVM now
works reliably.

Garbage collect the old pmap_attribute[] stuff.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Oct 15 03:25:09 1998 UTC (25 years, 4 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

- cpuregs.h was modifed a bit, then renamed with cpuarch.h.
- mips_cpu.h has gone.
- CPU's register mnemonics in regdef.h is now a part of asm.h.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 26 10:15:36 1998 UTC (25 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: nisimura-pmax-wscons-base, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Branch point for: nisimura-pmax-wscons
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Fix typo with new poolpage stuff

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 24 22:03:33 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +9 -1 lines
Diff to previous 1.17 (colored)

Provide PMAP_{,UN}MAP_POOLPAGE().

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 25 23:26:41 1998 UTC (26 years ago) by thorpej
Branch: MAIN
Changes since 1.16: +21 -7 lines
Diff to previous 1.16 (colored)

Implement and switch to MACHINE_NEW_NONCONTIG.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 3 01:13:07 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.15: +1 -4 lines
Diff to previous 1.15 (colored)

Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:11:03 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 9 03:41:02 1997 UTC (26 years, 6 months ago) by jonathan
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

mips pmap_activate:
 * prototype and definition for pmap_activate(p). Updates the segtab,
   and changes the active ASID if p == curproc.
 * Make reserved fixed-address (UADDR) kernelstack PTEs global,
   so we still have a kernel stack after pmap_activate() on curproc.
 * make KSEG2 mappings for p_addr global (see above.)

Seems to detune contextswitch and NTP resolution (by 60 ms), but
thepmap_activate() interface is mandatory.  Needs more thought.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 29 01:43:26 1997 UTC (26 years, 7 months ago) by mhitch
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Resident count in pmap is now valid.  I can now see RSS in ps.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 16 07:47:43 1997 UTC (26 years, 8 months ago) by jonathan
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.12: +22 -1 lines
Diff to previous 1.12 (colored)

Yet more mips1/mips3 merging:

Move mips-specific pmap definitions (PMAP_PREFER for mips3, declaratin
of pmap_bootstrap() for the system-specific machdep.c) from
arch/pmax/include/pmap.h to arch/mips/include/pmap.h.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 9 11:46:16 1997 UTC (26 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 (colored)

Add sys_sysarch() calls for the standard mips userspace cache-control calls.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 18 17:33:08 1997 UTC (26 years, 9 months ago) by mhitch
Branch: MAIN
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored)

Eliminate vm_pmap.

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 16 21:35:37 1997 UTC (26 years, 9 months ago) by gwr
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Add #define __VM_PMAP_HACK as a temporary measure.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 19 04:15:15 1996 UTC (27 years, 11 months ago) by jonathan
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Change "pmax_xxx" macros to "mips_xxx" macros, in preparation
for moving to src/sys/arch/mips/include/pmap.h.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 12 01:55:35 1995 UTC (28 years, 10 months ago) by mellon
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Use _KERNEL, not KERNEL

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 10 12:42:18 1995 UTC (28 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 28 18:19:22 1995 UTC (28 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

KERNEL -> _KERNEL

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 26 21:09:50 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

new RCS ID format.

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 27 09:01:41 1994 UTC (29 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

bsd 4.4-lite pmax port as ported to NetBSD

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 27 08:40:50 1994 UTC (29 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.2: +43 -62 lines
Diff to previous 1.2 (colored)

upgrade to bsd 4.4-lite code base. only mod is rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 15 02:57:13 1993 UTC (30 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

update from rick, tarfile of Oct 11 10:46

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Oct 12 03:22:40 1993 UTC (30 years, 4 months ago) by deraadt
Branch: pmax-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 12 03:22:39 1993 UTC (30 years, 4 months ago) by deraadt
Branch: MAIN

Initial revision

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>