CVS log for src/sys/arch/m68k/m68k/pmap_motorola.c
Up to [cvs.NetBSD.org] / src / sys / arch / m68k / m68k
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jan 19 03:35:31 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +47 -2
lines
Move physaccess(), physunaccess(), and kvtop() from vm_machdep.c to
pmap_motorola.c. They're legacy functions tied to that pmap implementation.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Jan 18 14:39:06 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -2
lines
Make the M68K_MMU_* defines real kernel options, available in opt_m68k_arch.h.
For 68030, 68040, and 68060, infer M68K_MMU_MOTOROLA. For 68010 and 68020, it
must be an explicit option (set in std.${MACHINE} or, in the case of hp300,
inferred from the specific model option).
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Jan 9 07:28:26 2024 UTC (11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -2
lines
Statically-initialize the '851 / '030 protorp with MMU51_SRP_BITS. In
pmap_init(), re-initialize protorp with MMU51_CRP_BITS. Remove the now-
redundant code that does this in each of the m68k platforms.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Jan 9 04:16:25 2024 UTC (11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +60 -5
lines
Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap. Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Dec 31 21:59:24 2023 UTC (11 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +18 -2
lines
Provide a vtophys() function like other platforms do, and implement
kvtop() (which will be g/c'd shortly) in terms of it.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Dec 28 15:33:12 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +6 -4
lines
Missed 2 68060-specific cases in previous.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Dec 28 01:33:05 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +17 -13
lines
Be more careful with the types used for PTEs.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Dec 26 17:48:38 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -2
lines
Move active_pmap() and active_user_pmap() macros into pmap_motorola.c
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Dec 26 17:42:43 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +21 -15
lines
- G/C the PMAP_ACTIVATE() macro, just call loadustp() directly.
- In pmap_activate(), rather than checking for an idle LWP and skipping
the loadustp() in that case, just check if the pmap being activate is
the kernel pmap. Also, KASSERT() that the specified lwp is the current
lwp.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Dec 20 00:40:43 2023 UTC (11 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3
lines
Remove unnecessary <sys/malloc.h> include.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Sep 26 14:33:55 2023 UTC (14 months, 2 weeks ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -4
lines
TAB/space cleanup.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Sep 26 12:46:30 2023 UTC (14 months, 2 weeks ago) by tsutsui
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4
lines
Remove trailing spaces and TABs.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Jul 31 17:11:41 2022 UTC (2 years, 4 months ago) by chs
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -2
lines
in pmap_enter_ptpage(), if we are allowed to fail then fail rather than
waiting for memory to be available. when we are mapping an anon or uobj page
then we will be holding the lock for that page owner, and sleeping to wait
for memory with a page owner lock held is illegal because the pagedaemon
can wait for that lock, which will lead to deadlock. fixes PR 56932.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Apr 16 18:15:21 2022 UTC (2 years, 7 months ago) by andvar
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
fix various typos in comments and log messages.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Oct 12 08:36:28 2021 UTC (3 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3
lines
fix various typos, mainly in comments.
Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:14 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +7 -3
lines
Sync with HEAD.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Apr 16 00:13:48 2021 UTC (3 years, 7 months ago) by mrg
Branches: 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-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +7 -3
lines
check the result value of pmap_extract() and panic if it fails.
this is a "should never fail" case, and GCC 10 noticed that it
allows an uninitialised variable use.
tested by rin@ on amiga and mac68k.
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:28 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -3
lines
Sync with HEAD.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Feb 1 19:02:27 2021 UTC (3 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3
lines
"as appropos" -> "as appropriate" in comments
Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:43 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.1: +12 -12
lines
Merge changes from current as of 20200406
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:26 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +12 -12
lines
Sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:46:39 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Branch point for: thorpej-futex
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +12 -12
lines
UVM locking changes, proposed on tech-kern:
- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart. v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap. Others to follow later.
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:26 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
Sync with HEAD
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:36 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:25 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: 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,
netbsd-9-base,
netbsd-9-4-RELEASE,
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,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 09:07:32 2018 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +31 -15
lines
Pull up following revision(s) (requested by mrg in ticket #593):
sys/dev/marvell/mvxpsec.c: revision 1.2
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.70
sys/opencrypto/crypto.c: revision 1.102
sys/arch/sparc64/sparc64/pmap.c: revision 1.308
sys/ufs/chfs/chfs_malloc.c: revision 1.5
sys/arch/powerpc/oea/pmap.c: revision 1.95
sys/sys/pool.h: revision 1.80,1.82
sys/kern/subr_pool.c: revision 1.209-1.216,1.219-1.220
sys/arch/alpha/alpha/pmap.c: revision 1.262
sys/kern/uipc_mbuf.c: revision 1.173
sys/uvm/uvm_fault.c: revision 1.202
sys/sys/mbuf.h: revision 1.172
sys/kern/subr_extent.c: revision 1.86
sys/arch/x86/x86/pmap.c: revision 1.266 (via patch)
sys/dev/dtv/dtv_scatter.c: revision 1.4
Allow only one pending call to a pool's backing allocator at a time.
Candidate fix for problems with hanging after kva fragmentation related
to PR kern/45718.
Proposed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2017/10/23/msg022472.html
Tested by bouyer@ on i386.
This makes one small change to the semantics of pool_prime and
pool_setlowat: they may fail with EWOULDBLOCK instead of ENOMEM, if
there is a pending call to the backing allocator in another thread but
we are not actually out of memory. That is unlikely because nearly
always these are used during initialization, when the pool is not in
use.
Define the new flag too for previous commit.
pool_grow can now fail even when sleeping is ok. Catch this case in pool_get
and retry.
Assert that pool_get failure happens only with PR_NOWAIT.
This would have caught the mistake I made last week leading to null
pointer dereferences all over the place, a mistake which I evidently
poorly scheduled alongside maxv's change to the panic message on x86
for null pointer dereferences.
Since pr_lock is now used to wait for two things now (PR_GROWING and
PR_WANTED) we need to loop for the condition we wanted.
make the KASSERTMSG/panic strings consistent as '%s: [%s], __func__, wchan'
Handle the ERESTART case from pool_grow()
don't pass 0 to the pool flags
Guess pool_cache_get(pc, 0) means PR_WAITOK here.
Earlier on in the same context we use kmem_alloc(sz, KM_SLEEP).
use PR_WAITOK everywhere.
use PR_NOWAIT.
Don't use 0 for PR_NOWAIT
use PR_NOWAIT instead of 0
panic ex nihilo -- PR_NOWAITing for zerot
Add assertions that either PR_WAITOK or PR_NOWAIT are set.
- fix an assert; we can reach there if we are nowait or limitfail.
- when priming the pool and failing with ERESTART, don't decrement the number
of pages; this avoids the issue of returning an ERESTART when we get to 0,
and is more correct.
- simplify the pool_grow code, and don't wakeup things if we ENOMEM.
In pmap_enter_ma(), only try to allocate pves if we might need them,
and even if that fails, only fail the operation if we later discover
that we really do need them. This implements the requirement that
pmap_enter(PMAP_CANFAIL) must not fail when replacing an existing
mapping with the first mapping of a new page, which is an unintended
consequence of the changes from the rmind-uvmplock branch in 2011.
The problem arises when pmap_enter(PMAP_CANFAIL) is used to replace an existing
pmap mapping with a mapping of a different page (eg. to resolve a copy-on-write).
If that fails and leaves the old pmap entry in place, then UVM won't hold
the right locks when it eventually retries. This entanglement of the UVM and
pmap locking was done in rmind-uvmplock in order to improve performance,
but it also means that the UVM state and pmap state need to be kept in sync
more than they did before. It would be possible to handle this in the UVM code
instead of in the pmap code, but these pmap changes improve the handling of
low memory situations in general, and handling this in UVM would be clunky,
so this seemed like the better way to go.
This somewhat indirectly fixes PR 52706, as well as the failing assertion
about "uvm_page_locked_p(old_pg)". (but only on x86, various other platforms
will need their own changes to handle this issue.)
In uvm_fault_upper_enter(), if pmap_enter(PMAP_CANFAIL) fails, assert that
the pmap did not leave around a now-stale pmap mapping for an old page.
If such a pmap mapping still existed after we unlocked the vm_map,
the UVM code would not know later that it would need to lock the
lower layer object while calling the pmap to remove or replace that
stale pmap mapping. See PR 52706 for further details.
hopefully workaround the irregularly "fork fails in init" problem.
if a pool is growing, and the grower is PR_NOWAIT, mark this.
if another caller wants to grow the pool and is also PR_NOWAIT,
busy-wait for the original caller, which should either succeed
or hard-fail fairly quickly.
implement the busy-wait by unlocking and relocking this pools
mutex and returning ERESTART. other methods (such as having
the caller do this) were significantly more code and this hack
is fairly localised.
ok chs@ riastradh@
Don't release the lock in the PR_NOWAIT allocation. Move flags setting
after the acquiring the mutex. (from Tobias Nygren)
apply the change from arch/x86/x86/pmap.c rev. 1.266 commitid vZRjvmxG7YTHLOfA:
In pmap_enter_ma(), only try to allocate pves if we might need them,
and even if that fails, only fail the operation if we later discover
that we really do need them. If we are replacing an existing mapping,
reuse the pv structure where possible.
This implements the requirement that pmap_enter(PMAP_CANFAIL) must not fail
when replacing an existing mapping with the first mapping of a new page,
which is an unintended consequence of the changes from the rmind-uvmplock
branch in 2011.
The problem arises when pmap_enter(PMAP_CANFAIL) is used to replace an existing
pmap mapping with a mapping of a different page (eg. to resolve a copy-on-write).
If that fails and leaves the old pmap entry in place, then UVM won't hold
the right locks when it eventually retries. This entanglement of the UVM and
pmap locking was done in rmind-uvmplock in order to improve performance,
but it also means that the UVM state and pmap state need to be kept in sync
more than they did before. It would be possible to handle this in the UVM code
instead of in the pmap code, but these pmap changes improve the handling of
low memory situations in general, and handling this in UVM would be clunky,
so this seemed like the better way to go.
This somewhat indirectly fixes PR 52706 on the remaining platforms where
this problem existed.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Jan 27 23:07:36 2018 UTC (6 years, 10 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +31 -15
lines
apply the change from arch/x86/x86/pmap.c rev. 1.266 commitid vZRjvmxG7YTHLOfA:
In pmap_enter_ma(), only try to allocate pves if we might need them,
and even if that fails, only fail the operation if we later discover
that we really do need them. If we are replacing an existing mapping,
reuse the pv structure where possible.
This implements the requirement that pmap_enter(PMAP_CANFAIL) must not fail
when replacing an existing mapping with the first mapping of a new page,
which is an unintended consequence of the changes from the rmind-uvmplock
branch in 2011.
The problem arises when pmap_enter(PMAP_CANFAIL) is used to replace an existing
pmap mapping with a mapping of a different page (eg. to resolve a copy-on-write).
If that fails and leaves the old pmap entry in place, then UVM won't hold
the right locks when it eventually retries. This entanglement of the UVM and
pmap locking was done in rmind-uvmplock in order to improve performance,
but it also means that the UVM state and pmap state need to be kept in sync
more than they did before. It would be possible to handle this in the UVM code
instead of in the pmap code, but these pmap changes improve the handling of
low memory situations in general, and handling this in UVM would be clunky,
so this seemed like the better way to go.
This somewhat indirectly fixes PR 52706 on the remaining platforms where
this problem existed.
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:24 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.1: +24 -15
lines
update from HEAD
Revision 1.67.6.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:14 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +26 -17
lines
Sync with HEAD
Revision 1.67.10.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:20 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +26 -17
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Dec 23 07:15:27 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
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-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +25 -16
lines
"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.68: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:58 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
switch all ports to use uvm_init.c:uvm_md_init()
uvm_setpagesize() is now subsumed within this funciton.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:11 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
Rebase to HEAD as of a few days ago.
Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:56 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.3: +3 -3
lines
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.66.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:16 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +3 -3
lines
sync with head
Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Oct 25 20:51:14 2013 UTC (11 years, 1 month ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
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,
localcount-20160914
Branch point for: pgoyette-localcount,
nick-nhusb
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
Mark a potentialy unused variable
Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Sat Sep 7 16:16:10 2013 UTC (11 years, 3 months ago) by bouyer
Branches: netbsd-6-1
CVS tags: netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +5 -3
lines
Pull up following revision(s) (requested by rkujawa in ticket #935):
sys/arch/amiga/amiga/amiga_init.c: revision 1.127
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.66
Set user page table base address dynamically on amiga. This unbreaks =
machines
with large Zorro III I/O spaces. Patch originally by Michael L. Hitch.
Test on an A4000.
=20
=20
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 7 16:16:00 2013 UTC (11 years, 3 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +5 -3
lines
Pull up following revision(s) (requested by rkujawa in ticket #935):
sys/arch/amiga/amiga/amiga_init.c: revision 1.127
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.66
Set user page table base address dynamically on amiga. This unbreaks =
machines
with large Zorro III I/O spaces. Patch originally by Michael L. Hitch.
Test on an A4000.
=20
=20
Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:54 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +5 -3
lines
sync with head
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jul 9 19:23:45 2012 UTC (12 years, 5 months ago) by rkujawa
Branches: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +5 -3
lines
Set user page table base address dynamically on amiga. This unbreaks machines
with large Zorro III I/O spaces. Patch originally by Michael L. Hitch.
Test on an A4000.
Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:36 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +3 -3
lines
sync with head
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:30 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3
lines
merge to -current.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:38 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-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,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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
Branch point for: netbsd-6-1,
netbsd-6
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)
releng@ acknowledged
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:41 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
sync with head
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Nov 3 14:39:05 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
Use pool_allocator_meta rather than pool_allocator_nointr to allocate
struct pv_entry pool in the previous fix for PR port-m68k/45519.
Per comment from yamt@ on source-changes-d@:
http://mail-index.NetBSD.org/source-changes-d/2011/10/31/msg004211.html
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Oct 29 18:26:19 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +12 -145
lines
Use pool(9) for struct pv_entry allocations rather than
uvm_km_alloc(9)/uvm_km_free(9) and ancient homegrown pv_page_info structures.
Calling uvm_km_free(9) during pmap_remove(9) could cause rw_lock error
in uvm_unmap1() as noted in PR port-m68k/45519.
NetBSD/x68k (both real X68030 and XM6i emulator) still gets weird panic
(corrupted kernel stack pointer?) on some heavy load:
---
panic: MMU fault
Stopped in pid 363.1 (X68k) at netbsd:cpu_Debugger+0x6: unlk a6
db> tr
cpu_Debugger(4012004,8,1cbb528,2a618e0,2a5b000) + 6
db>
---
but it also occurs without this change so there might be some more bugs
in m68k pmap...
Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:18 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +15 -21
lines
Catchup with rmind-uvmplock merge.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:43 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +12 -12
lines
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
Revision 1.55.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:00 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.55.4.3: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.4.3: +3 -9
lines
sync with head
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:57 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +5 -11
lines
Sync with HEAD.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jun 3 17:03:52 2011 UTC (13 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -11
lines
- remove simple_lock(9) and use atomic_ops(3) to account pmap reference count,
perrequest from rmind@
- while here no need to export struct pmap on sun2/sun3/sun3x
No particular problem for a week on hp300 and sun3x kernels with disabled
tcp_vtw which has been broken for a month on low memory machines.
Revision 1.55.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:54 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.55.4.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.4.2: +32 -31
lines
sync with head
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:27 2011 UTC (13 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr,
cherry-xenmp
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -3
lines
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.
Various #include fixes and review by matt@.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jan 6 13:49:17 2011 UTC (13 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +23 -23
lines
Use #ifdef CACHE_HAVE_VAC rather than #ifdef M68K_MMU_HP where
the pmap code indends.
(though currently only MMU_HP machines have VAC in pmap_motorola ports)
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Jan 2 05:21:11 2011 UTC (13 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Make pmap_aliasmask unsigned and declare it in <m68k/pmap_motorola.h>.
XXX: does anyone still have working HP320 or HP350 with 020+HP_MMU+VAC?
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Nov 10 09:27:22 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +8 -8
lines
Use more VM_PHYSMEM_*() accessors. No functional changes.
Revision 1.55.2.7: download - view: text, markup, annotated - select for diffs
Sat Nov 6 06:10:55 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55.2.6: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.6: +1 -1
lines
Fix build.
Revision 1.55.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 4 08:47:36 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55.2.5: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.5: +2 -1
lines
Split physical device segment pages from "managed" to "managed
device". Cache that information as a flag PG_DEVICE so that callers
don't need to walk physsegs everytime.
Remove PQ_FIXED, which means that page daemon doesn't need to know
device segment pages at all. But still fault handlers need to know
them.
I think this is what I can do best now.
Revision 1.55.2.5: download - view: text, markup, annotated - select for diffs
Sun Oct 31 03:46:17 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55.2.4: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.4: +1 -1
lines
We already have a flag PMAP_NOCACHE. s/PMAP_UNMANAGED/PMAN_NOCACHE/.
Pointed out by Chuck Silvers, thanks.
Revision 1.55.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 30 08:41:08 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55.2.3: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.3: +13 -0
lines
Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).
Revision 1.55.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:48 2010 UTC (14 years, 4 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55.2.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.2: +2 -0
lines
Sync with HEAD.
Revision 1.36.2.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:19 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.36.2.5: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.5: +4 -2
lines
sync with head.
Revision 1.55.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:22 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.55.4.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.4.1: +4 -2
lines
sync with head
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jun 6 04:50:07 2010 UTC (14 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -2
lines
fix PR 6724 - convert m68k options to defflag's. this means that
M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned
in the PR has already been fixed, and i could not find any more.
i built these kernels to ensure i did not break their builds:
amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC
Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 28 08:31:06 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.1: +6 -6
lines
Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 27 07:19:28 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
Support PMAP_UNMANAGED in some pmaps.
(Others should be converted eventually, but no problem while managed
device page is not used.)
Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:03 2010 UTC (14 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +12 -12
lines
Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc(). It allows us to share the locks among UVM objects.
Revision 1.36.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:34 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.36.2.4: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.4: +102 -71
lines
sync with head
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Dec 11 18:28:35 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +12 -2
lines
Move uvm_setpagesize() calls from locore.s to pmap_bootstrap_finalize().
Also explicitly set uvmexp.pagesize to prepare 8KB/page settings.
XXX: There is #ifdef !defined(amiga) && !defined(atari) workaround
XXX: because they have different pmap initialization functions.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Dec 6 06:41:30 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +32 -2
lines
Move initialization of protection_codes[] and kernel_pmap()
from MD pmap bootstrap sources to common pmap_bootstrap_finalize().
Tested on atari, hp300, mac68k, and news68k.
XXX: Why is protection_codes[] array initialized at run time?
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Dec 6 00:33:58 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
pm_stfree in struct pmap is a bitmap value so make it unsigned.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Dec 2 15:47:45 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +20 -2
lines
Add a common pmap_bootstrap_finalize() function which initializes
lwp0 uarea, curlwp, and curpcb after MMU is turned on, using
lwp0uarea variable saved during pmap_bootstrap() (or equivalent functions)
for pmap_motorola based ports. Discussed with rmind@.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Nov 23 00:11:44 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3
lines
Use lwp_getpcb() on m68k ports, clean from struct user usage.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:45 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
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.49: download - view: text, markup, annotated - select for diffs
Thu Oct 22 19:50:55 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +41 -64
lines
Simplify pmap_remove() a little by avoiding pmap_do_remove() layer, since
possibility to skip wired mappings is not needed anymore. Apart from that,
no functional differences are intended.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:00 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +6 -8
lines
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.47: download - view: text, markup, annotated - select for diffs
Sun Oct 11 20:37:47 2009 UTC (15 years, 2 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -5
lines
Fix DEBUG build - pv_flags does not exist anymore.
Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:40 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.3: +78 -65
lines
sync with head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Aug 26 00:30:02 2009 UTC (15 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +78 -65
lines
Minor tweak to the pv_table management in the Hibler-derived m68k pmaps:
The head of the list is now a pv_header, which contains the first pv_entry
as well as a 16-bit attributes field (replaces the pmap_attributes array
plus the pv_entry::pv_flags field) as a 16-bit count of caller-specified
cache-inhibited mappings.
Tested on hp300 (shared pmap_motorola.c), changes to atari and amiga copies
are purely mechanical.
Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:28 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +3 -4
lines
sync with head.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Aug 18 18:06:53 2009 UTC (15 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-nfs-mp-base7
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -4
lines
Add a real API for testing if a page is a managed page, and adjust callers
to stop relying on vm_physseg_find() for this purpose.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:00 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +4 -5
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:26 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +40 -35
lines
sync with head.
Revision 1.39.4.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:18 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.39.4.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.4.1: +4 -5
lines
Sync with HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Apr 21 21:29:59 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:11 2009 UTC (15 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -4
lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:24 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -4
lines
Sync with HEAD.
Revision 1.35.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:11 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.35.6.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.6.2: +3 -2
lines
Sync with HEAD.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jan 17 07:17:36 2009 UTC (15 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Move extern decls for Sysseg, Sysptmap, Sysptsize, mem_size, virtual_avail,
virtual_end, and protection_codes[] to common <m68k/pmap_motorola.h>,
and also make protection_codes[] unsigned.
XXX: avail_start and avail_end should also be moved, but it causes
XXX: -Wshadow warnings in uvm/uvm_page.c:uvm_page_physload() and
XXX: I don't have a good idea of alternative names for now.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Dec 28 05:15:59 2008 UTC (15 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Use the global kernel_pmap_ptr pointer in each MD pmap_bootstrap.c
(where MMU is not enabled yet) and make kernel_pmap_store static again.
Also consistently use uintptr_t on address conversion in RELOC() macro.
Tested on hp300 (PA != VA) and news68k (PA == VA).
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:16 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -2
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Dec 10 17:13:53 2008 UTC (16 years ago) by tsutsui
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -2
lines
Prepare kernel_pmap_ptr as well as other m68k ports which have own pmap.c.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:29 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +35 -30
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.21.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 08:46:43 2008 UTC (16 years, 3 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +32 -11
lines
Sync with netbsd-4.
Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:54 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.1: +15 -15
lines
Sync with head.
Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:32:58 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.35.6.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.6.1: +33 -28
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jun 28 13:22:14 2008 UTC (16 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +15 -15
lines
- use TAILQ macro
- use NULL rather than 0 for pointers
No binary change.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:17 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +22 -17
lines
Sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jun 27 13:05:12 2008 UTC (16 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +22 -17
lines
Remove ({ }) gcc extensions and use static inline functions instead.
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 8 20:10:00 2008 UTC (16 years, 6 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +32 -11
lines
Pull up following revision(s) (requested by hauke in ticket #1158):
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.22
Allow pmap_enter_ptpage to fail, sometimes. Pass WAIT/NOWAIT flags and
fix some obvious locking problems. This allows us to run a LOCKDEBUG
kernel now.
No objection from mhitch and chs.
Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:22 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -19
lines
Sync with HEAD.
Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:22 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +12 -19
lines
sync with head.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:44 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -9
lines
sync with head.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:27 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Apr 27 12:34:54 2008 UTC (16 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -12
lines
Use mutex(9) for uvm_kernel_object. From Greg Oster.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:45 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +2 -43
lines
Sync with HEAD.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:37:22 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.3: +2 -43
lines
sync with head
Revision 1.33.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:47:02 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.33.6.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.6.1: +2 -43
lines
sync with HEAD
Revision 1.34.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:48:32 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +2 -43
lines
Sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Dec 31 13:38:51 2007 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -43
lines
Remove COMPAT_HPUX.
Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:18:13 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
sync with HEAD
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:12 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs,
bouyer-xeni386
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.29.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:04 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.2: +16 -16
lines
Sync with HEAD
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:27:14 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +24 -29
lines
sync with head.
Revision 1.27.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:38:21 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.4: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.4: +16 -16
lines
Sync with HEAD.
Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:27 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +15 -15
lines
Sync with HEAD.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:05:23 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +15 -15
lines
Sync with HEAD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jul 23 19:21:03 2007 UTC (17 years, 4 months ago) by dogcow
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
ppcoea-renovation-base,
nick-csl-alignment-base5,
matt-mips64-base,
jmcneill-pm,
hpcarm-cleanup,
bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +15 -15
lines
Same change as -r1.133 of src/sys/arch/amiga/amiga/pmap.c :
As per hint from ad@, change uvm.kernel_object to uvm_kernel_object,
to adapt to the recent uvm changes.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jul 16 23:48:05 2007 UTC (17 years, 5 months ago) by macallan
Branches: MAIN
CVS tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment,
matt-mips64
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3
lines
change pmap_phys_address()s parameter to paddr_t since that's what it gets
fed from mmap*() anyway
approved by gimpy
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:00:25 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +5 -8
lines
Sync with head.
Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:12:49 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +2 -6
lines
Sync with HEAD.
Revision 1.27.2.4: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:55:15 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.3: preferred, colored
Changes since revision 1.27.2.3: +2 -6
lines
Sync with head.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jun 7 15:54:09 2007 UTC (17 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -6
lines
Enable _pmap_set_page_cacheable(), _pmap_set_page_cacheinhibit() and
_pmap_page_is_cacheable() on all pmap_motorola.c ports and add
BUS_DMA_COHERENT support (from mvme68k) to common m68k bus_dma.c.
Tested with (not-yet-integrated) MI Sonic Ethernet driver on mac68k
http://mail-index.netbsd.org/port-mac68k/2007/06/07/0000.html
and ok'ed by thorpej.
Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:39 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.2: preferred, colored
Changes since revision 1.27.2.2: +4 -3
lines
Sync with head.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:04 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -3
lines
Update to HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri May 18 01:46:40 2007 UTC (17 years, 7 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -3
lines
Common m68k changes for idlelwp.
Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:02:49 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.22.2.3: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.3: +3 -3
lines
sync with head.
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:23:07 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.1: preferred, colored
Changes since revision 1.27.2.1: +3 -3
lines
Sync with head.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Apr 5 13:17:11 2007 UTC (17 years, 8 months ago) by tnn
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic
Branch point for: ppcoea-renovation
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
protectoin -> protection
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:54:47 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.2: +3 -3
lines
sync with head.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:00 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Sync with head.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:25 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:48:54 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +6 -8
lines
Sync with HEAD.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Mar 4 11:09:39 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -4
lines
Move declarations of CADDR1 and CADDR2 from m68k/pmap_motorola.c
to <m68k/pmap_motorola.h>.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:05 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -7
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:51:58 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +51 -51
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:13 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +51 -51
lines
sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 22 17:09:44 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +35 -35
lines
TRUE -> true, FALSE -> false
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Feb 22 13:50:36 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Fix lossage on bool changes.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Feb 21 22:59:46 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +23 -23
lines
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.20.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:52 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.20.4.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.4.1: +32 -11
lines
Sync with head.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:25 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +146 -199
lines
sync with head.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Dec 30 01:28:57 2006 UTC (17 years, 11 months ago) by martin
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Branch point for: yamt-idlelwp
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +32 -11
lines
Allow pmap_enter_ptpage to fail, sometimes. Pass WAIT/NOWAIT flags and
fix some obvious locking problems. This allows us to run a LOCKDEBUG
kernel now.
No objection from mhitch and chs.
Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:23 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -5
lines
Sync with head.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 23 22:58:33 2006 UTC (18 years, 2 months ago) by snj
Branches: abandoned-netbsd-4
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +6 -5
lines
Pull up following revision(s) (requested by mhitch in ticket #177):
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.21
Common m68k pmap has same problem with 68060 after 17 month old uvm changes.
Tested and verified on my Amiga (yes, I'm hoping to switch amiga to using
the common pmp_motorola.c).
Uvm changes over 17 months ago resulted in the 68040/060 segment table
page being entered with pmap_kenter(), which does not record the mapping
in the pv table. Attempting to inhibit caching of that page as required
by the 68060 hardware no longer changes the PTE and caused varying degrees
of multiple faulting, sometimes resulting in an unusable system. Apparently
very few people attempted to run a 68060 based system since that change.
Fix to to change the caching bits directly rather than using pmap_changebit().
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Sep 16 17:31:13 2006 UTC (18 years, 3 months ago) by mhitch
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
wrstuden-fixsa-base-1,
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,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: wrstuden-fixsa,
netbsd-4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -5
lines
Common m68k pmap has same problem with 68060 after 17 month old uvm changes.
Tested and verified on my Amiga (yes, I'm hoping to switch amiga to using
the common pmp_motorola.c).
Uvm changes over 17 months ago resulted in the 68040/060 segment table
page being entered with pmap_kenter(), which does not record the mapping
in the pv table. Attempting to inhibit caching of that page as required
by the 68060 hardware no longer changes the PTE and caused varying degrees
of multiple faulting, sometimes resulting in an unusable system. Apparently
very few people attempted to run a 68060 based system since that change.
Fix to to change the caching bits directly rather than using pmap_changebit().
Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:40:59 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +114 -189
lines
sync with head
Revision 1.18.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:42:01 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.1: +112 -187
lines
sync with head
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jul 22 06:37:27 2006 UTC (18 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base
Branch point for: newlock2,
abandoned-netbsd-4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +112 -187
lines
remove __P(), ANSIfy, KNF, use pmap_t rather than struct pmap *
Revision 1.18.16.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:48:56 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4
lines
Merge from HEAD.
Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:44:54 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4
lines
sync with head.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 25 14:19:56 2006 UTC (18 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4
lines
XXX: Appease gcc4 -Wuninitialized warnings.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:59 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
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,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb,
gdamore-uart
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
merge ktrace-lwp.
Revision 1.5.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:10 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.6: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.6: +17 -16
lines
Sync with HEAD. Here we go again...
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jun 3 08:55:33 2005 UTC (19 years, 6 months ago) by scw
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
Fix const fallout when DEBUG is defined.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jun 2 16:47:42 2005 UTC (19 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -9
lines
Fix one more shadow warning in #ifdef DIAGNOSTIC.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jun 2 14:56:58 2005 UTC (19 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -8
lines
Fix a shadow warning.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:14 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +20 -47
lines
sync with -current
Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:27:54 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.5: preferred, colored
Changes since revision 1.5.2.5: +19 -45
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:32 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +19 -45
lines
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
Revision 1.12.4.5: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:05 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.12.4.4: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.4: +3 -4
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.12.4.4: download - view: text, markup, annotated - select for diffs
Wed Feb 23 07:48:23 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.12.4.3: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.3: +2 -23
lines
change mac68k's kernel address space layout in order to simplify
interaction between upper layer of the vm during bootstrap.
- move Sysmap to the end of address space.
- move IOBase etc immediately after proc0 uarea.
- tweak virtual_avail/end accordingly.
tested by Chuck Silvers, on his quadra 950.
XXX this breaks other m68k platforms. i'll fix them later.
Revision 1.12.4.3: download - view: text, markup, annotated - select for diffs
Fri Feb 18 14:38:29 2005 UTC (19 years, 9 months ago) by chs
Branches: yamt-km
Diff to: previous 1.12.4.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.2: +2 -7
lines
with the new km API, we must longer explicitly unmap and free the
st_map pages, so don't. also, use the correct km type for freeing the
st_map space on amiga.
Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Tue Feb 15 21:32:42 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.4: preferred, colored
Changes since revision 1.5.2.4: +3 -4
lines
Sync with HEAD.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Feb 14 02:15:43 2005 UTC (19 years, 10 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -4
lines
fix an off-by-on in pmap_check_wiring(): we increment the PTP refcount
before calling this, so it's ok to see the max value here.
Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 27 14:30:33 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.1: +4 -6
lines
follow uvm_km_pgremove prototype change.
Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 26 12:10:35 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +17 -15
lines
convert arch/m68k to new apis.
Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:29:29 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.3: preferred, colored
Changes since revision 1.5.2.3: +3 -3
lines
Sync with HEAD.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 1 21:02:13 2005 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
introduce vm_map_kernel, a subclass of vm_map, and
move some kernel-only members of vm_map to it.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:17:56 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.2: preferred, colored
Changes since revision 1.5.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:36:38 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.1: preferred, colored
Changes since revision 1.5.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:36:59 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +14 -18
lines
Sync with HEAD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Nov 1 17:16:30 2003 UTC (21 years, 1 month ago) by he
Branches: 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-base,
kent-audio1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
Based on the historic hp300 pmap, initialize firstpage to TRUE, and
negate that after processing the first page.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Nov 1 15:32:47 2003 UTC (21 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Initialize needcflush to FALSE in pmap_do_remove().
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Oct 28 20:43:00 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -15
lines
Remove bogus initializer.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 27 02:03:10 2003 UTC (21 years, 1 month ago) by cl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -2
lines
initialize uninitialized
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Sep 27 20:01:59 2003 UTC (21 years, 2 months ago) by cl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Cast through (void *) to appease gcc3.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:28:17 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat May 10 21:10:32 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +64 -50
lines
Back out the following chagne:
http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html
There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.
Fixes PR kern/21517.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 8 18:13:18 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +52 -66
lines
Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM. Machine-dependent code is
responsible for initializing them before main() is called. Anything
that steals KVA must adjust these variables accordingly.
This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().
This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.
This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 2 00:00:46 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -22
lines
Use PAGE_SIZE rather than NBPG.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:18:29 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -9
lines
Merge the nathanw_sa branch.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 13 15:35:36 2002 UTC (22 years, 1 month ago) by skrll
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +9 -9
lines
LWPify. Taken from the work done on the machine specific files.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 11 21:59:41 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +3049 -0
lines
Catch up to -current
Revision 1.1.2.1
Tue Nov 5 07:41:25 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.1: +0 -3049
lines
file pmap_motorola.c was added on branch nathanw_sa on 2002-11-11 21:59:41 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Nov 5 07:41:25 2002 UTC (22 years, 1 month ago) by chs
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: nathanw_sa
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.
CVSweb <webmaster@jp.NetBSD.org>