The NetBSD Project

CVS log for src/sys/arch/powerpc/include/oea/pmap.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37 / (download) - annotate - [select for diffs], Sat May 7 07:10:46 2022 UTC (8 months, 4 weeks ago) by rin
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (colored)

Try to fix PV tracking support.

* For oea (with real PV tracking support):

  Define __HAVE_PMAP_PV_TRACK. Otherwise, pmap_pv_init() is not called by
  uvm_init().

* For booke and ibm4xx (without PV tracking support):

  For MODULAR kernel and modules, define __HAVE_PMAP_PV_TRACK together with
  PMAP_PV_TRACK_ONLY_STUBS, so that modules can be shared with oea.

Note that PMAP_PV_TRACK_ONLY_STUBS can be used even for oea,
as a compile-time option to strip real PV tracking support.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Feb 16 23:31:13 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.35: +14 -4 lines
Diff to previous 1.35 (colored)

powerpc: Implement pv-tracking for unmanaged pages.

Needed for drm.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:35 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.32: +12 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 12 04:57:42 2021 UTC (22 months, 3 weeks ago) by thorpej
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.34: +8 -1 lines
Diff to previous 1.34 (colored)

Re-factor the code in pmap_extract() that checks the 601 I/O segment
table and the BAT tables into separate functions that can be called
from outside of the pmap module.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 2 01:47:44 2021 UTC (23 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Complete the pmap symbol renaming shenanigans for pmap_bootstrap[12]().

Revision 1.33 / (download) - annotate - [select for diffs], Mon Mar 1 01:53:46 2021 UTC (23 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

Split pmap_bootstrap() into 2 functions:
- pmap_bootstrap1(), which sets up the low-level pmap data structures.
- pmap_bootstrap2(), which actually programs the MMU hardware based on
  pmap_bootstrap1()'s work.

pmap_bootstrap() is still provided as a wrapper around the two, but this
provides flexibility to platforms that might need to do additional work
between these two phases.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 6 10:57:03 2020 UTC (2 years, 6 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Include missing opt_modular.h so that struct vm_page_md is compatible to
that for booke.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 6 09:10:02 2020 UTC (2 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

LKM was gone.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:49 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Merge changes from current as of 20200406

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 14 14:05:43 2020 UTC (2 years, 10 months ago) by ad
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.29: +3 -2 lines
Diff to previous 1.29 (colored)

pmap_remove_all(): Return a boolean value to indicate the behaviour.  If
true, all mappings have been removed, the pmap is totally cleared out, and
UVM can then avoid doing the work to call pmap_remove() for each map entry.
If false, either nothing has been done, or some helpful arch-specific voodoo
has taken place.

Revision 1.28.28.1 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:19 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.28: +7 -7 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 19 21:50:07 2018 UTC (4 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, 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, 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Changes since 1.28: +7 -7 lines
Diff to previous 1.28 (colored)

s/static inline/static __inline/g for consistency.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:20 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:04 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.26.2.1: +2 -1 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (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.27.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:22 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 28 05:32:01 2014 UTC (8 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, 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, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Add pmap_ste_spill

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

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jul 28 23:11:00 2012 UTC (10 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.26: +5 -1 lines
Diff to previous 1.26 (colored)

Fix -fno-common fallout.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 27 01:02:36 2011 UTC (11 years, 4 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Modify *ASSERTMSG() so they are now used as variadic macros. The main goal
is to provide routines that do as KASSERT(9) says: append a message
to the panic format string when the assertion triggers, with optional
arguments.

Fix call sites to reflect the new definition.

Discussed on tech-kern@. See
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 30 00:52:59 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:32 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.22: +17 -10 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 20 20:24:29 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.23: +13 -4 lines
Diff to previous 1.23 (colored)

PowerPC now exports a common view of cpu.h, vmparam.h and pmap.h
when building a MODULAR kernel or compiling _MODULE.
It should be noted that MODULAR or _MODULE export a view of the kernel
as being MULTIPROCESSOR (even if isn't).
The shared pmap TLB uses mdpg in places where it used mdpg to avoid
deadly embrance inclusion problems.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 20 08:07:03 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.22: +4 -6 lines
Diff to previous 1.22 (colored)

Add #error for unknown PPC variant
Now that oea calls cpu_fixup_stubs, we don't need pmap_fixup_stubs.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:29 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.19: +20 -52 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:38 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.18: +34 -52 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:56 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.20: +19 -51 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 15 19:39:12 2011 UTC (11 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: cherry-xenmp
Changes since 1.21: +10 -3 lines
Diff to previous 1.21 (colored)

implement pmap_mmap_flags() and teach PowerPC's bus_space_mmap() to actually
use BUS_SPACE_MAP_PREFETCHABLE which, now that /dev/pci* knows how to use it,
helps improve X performance

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 12 18:23:10 2011 UTC (11 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.20: +11 -50 lines
Diff to previous 1.20 (colored)

When an OEA kernel is configured for multiple MMU types, use the new
powerpc fixup mechanism to bind the kernel to a particular MMU.  This
avoids an indirect call for every pmap call.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:55 2011 UTC (12 years ago) by matt
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.13.30.1 / (download) - annotate - [select for diffs], Fri Jan 7 01:52:39 2011 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

PMAP_NC -> PMAP_NOCACHE.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 14 13:33:22 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.18: +15 -1 lines
Diff to previous 1.18 (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.13.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:51 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13.10.1: +2 -4 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:45 2009 UTC (13 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:01 2009 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:14 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

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

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:44 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored)

sync with head.

Revision 1.13.18.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:34 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.13.18.1: +2 -2 lines
Diff to previous 1.13.18.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 21 21:29:59 2009 UTC (13 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@

Revision 1.13.18.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:37 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:26 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 28 10:23:11 2008 UTC (14 years, 1 month ago) by he
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Wrap #include "opt_ppcarch.h" in #ifdef _KERNEL_OPT, to allow
lib/librump to build for evbppc.

Revision 1.13.16.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:23 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 9 20:45:45 2008 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 (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.10.22.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:17 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.10: +138 -17 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with HEAD

Revision 1.10.28.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:58 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10: +138 -17 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.6.16.5 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:28 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.16.4: +137 -20 lines
Diff to previous 1.6.16.4 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 7 00:36:57 2008 UTC (15 years ago) by matt
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, 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-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-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, matt-nb5-pq3, haad-dm
Changes since 1.12: +2 -4 lines
Diff to previous 1.12 (colored)

Cleanup/simplify #if/#endif

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 5 18:10:47 2008 UTC (15 years ago) by garbled
Branch: MAIN
Changes since 1.11: +139 -20 lines
Diff to previous 1.11 (colored)

Rewrite a big chunk of the pmap and locore code for powerpc to better
deal with the 64bit bridge mode.  pmap changes by Matt Thomas, rest by myself.

Change pmap.c to work similar to exec_elf.c to allow us to compile in
multiple pmaps to a single kernel.  This allows the pmap for bridge64 to
co-exist with the 32bit pmap.

Yank __HAVE_PMAP_PHYSSEG from all the oea code.

Add a new global, "oeacpufeat", which is used early in locore to determine
certain cpu features.  This allows us to conditionalize code early in the boot
for certain CPUs that have special needs.

Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was
found in.  Some of it seemed incorrect, and my 7044 booted just fine
without it.  It would appear that the bridge cpus treat BAT instructions
as nops, so they seem to be safe.

In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear
MSR[SF], and ASR[V].

With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64
will boot on the POWERIII-2 cpu.  However, it will not yet boot on a 32bit
cpu, because of CACHELINESIZE.  Work remains to be done there to fix that.

Revision 1.6.16.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:38:23 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.16.3: +5 -1 lines
Diff to previous 1.6.16.3 (colored) to branchpoint 1.6 (colored)

sync with head

Revision 1.10.34.1 / (download) - annotate - [select for diffs], Thu Jan 10 23:43:54 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 9 21:21:45 2008 UTC (15 years ago) by garbled
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

When compiling in bridge mode, add a prototype for pmap_setup_segment0_map()

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:52:50 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

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

Revision 1.6.16.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:53 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.16.2: +6 -6 lines
Diff to previous 1.6.16.2 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:50 2007 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.6.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:44 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.16.1: +6 -4 lines
Diff to previous 1.6.16.1 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:28 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:42:41 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Sat Aug 5 21:26:49 2006 UTC (16 years, 6 months ago) by sanjayl
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

1st cut of Powermac G5 support (uses bridge mode).

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:03 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:28 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:43 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

merge ktrace-lwp.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:42 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.2: +1 -1 lines
Diff to previous 1.4.2.2 (colored) next main 1.5 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:36 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +24 -7 lines
Diff to previous 1.4 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 21 22:57:14 2003 UTC (19 years, 2 months ago) by matt
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, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.5: +20 -1 lines
Diff to previous 1.5 (colored)

More PPC64 changes.  (latent for now).

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 24 17:52:34 2003 UTC (19 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.4: +5 -7 lines
Diff to previous 1.4 (colored)

add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default.  the changes
fall into two basic catagories:

 - pmap and trap-handler changes.  these are all MD:
   = alpha: we already track per-page execute permission with the (software)
	PG_EXEC bit, so just have the trap handler pay attention to it.
   = i386: use a new GDT segment for %cs for processes that have no
	executable mappings above a certain threshold (currently the
	bottom of the stack).  track per-page execute permission with
	the last unused PTE bit.
   = powerpc/ibm4xx: just use the hardware exec bit.
   = powerpc/oea: we already track per-page exec bits, but the hardware only
	implements non-exec mappings at the segment level.  so track the
	number of executable mappings in each segment and turn on the no-exec
	segment bit iff the count is 0.  adjust the trap handler to deal.
   = sparc (sun4m): fix our use of the hardware protection bits.
	fix the trap handler to recognize text faults.
   = sparc64: split the existing unified TSB into data and instruction TSBs,
	and only load TTEs into the appropriate TSB(s) for the permissions.
	fix the trap handler to check for execute permission.
   = not yet implemented: amd64, hppa, sh5

 - changes in all the emulations that put a signal trampoline on the stack.
   instead, we now put the trampoline into a uvm_aobj and map that into
   the process separately.

originally from openbsd, adapted for netbsd by me.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 9 22:37:32 2003 UTC (19 years, 10 months ago) by matt
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.3: +8 -5 lines
Diff to previous 1.3 (colored)

Add POOL_VTOPHYS.  Change vtophys to return -1 if pmap_extract fails.
(callers of vtophys should always supply a valid VA so that
pmap_extract should never fail).

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 15 07:19:20 2003 UTC (19 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Make lint happy.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 5 07:05:19 2003 UTC (20 years ago) by matt
Branch: MAIN
Changes since 1.1: +5 -15 lines
Diff to previous 1.1 (colored)

Make things a bit more LP64 friendly.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 3 17:10:05 2003 UTC (20 years ago) by matt
Branch: MAIN

Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).

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>