The NetBSD Project

CVS log for src/sys/arch/powerpc/ibm4xx/pmap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.110 / (download) - annotate - [select for diffs], Thu Feb 1 22:02:18 2024 UTC (2 weeks, 6 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

s/againt/against/ in comment.

Revision 1.109 / (download) - annotate - [select for diffs], Wed Oct 5 09:03:06 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.108: +9 -9 lines
Diff to previous 1.108 (colored)

ppc4xx_tlb_enter: One more style sync. No binary changes.

Use hi and lo instead of th and tl for TLBHI and TLBLO, respectively,
as done for other functions in pmap.c.

Revision 1.108 / (download) - annotate - [select for diffs], Wed Oct 5 08:47:52 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.107: +68 -67 lines
Diff to previous 1.107 (colored)

Use %[foo], %[bar], ... instead of %0, %1, ... for asm codes.
Unify variable names if possible. No binary changes.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Oct 5 08:18:00 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.106: +20 -20 lines
Diff to previous 1.106 (colored)

Minor style fixes to asm codes. No binary changes.

Revision 1.106 / (download) - annotate - [select for diffs], Mon Sep 12 08:02:44 2022 UTC (17 months, 1 week ago) by rin
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.105: +13 -13 lines
Diff to previous 1.105 (colored)

Make ibm4xx kernels compiled by clang.

As clang cannot correctly assemble m[ft]pid:
- for asm sources, use m[ft]spr from/to SPR_PID
- for C sources, use M[FT]PID macros (see include/ibm4xx/spr.h)
This is ugly...

No binary changes for GCC-compiled kernels.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Sep 8 00:17:21 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.104: +10 -13 lines
Diff to previous 1.104 (colored)

pte_enter() and pmap_enter_pv(): return zero for success, and
non-zero value for failure, as normally expected.

Revision 1.104 / (download) - annotate - [select for diffs], Sun Sep 5 12:47:10 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.103: +5 -12 lines
Diff to previous 1.103 (colored)

Now, ctx_flush() never fails. So, make this function void.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Sep 5 12:28:44 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.102: +3 -4 lines
Diff to previous 1.102 (colored)

pmap_enter_pv(): At the moment, this function is always called with
pmap_initialized. So, convert test for this condition to KASSERT.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Sep 5 12:23:40 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

pmap_enter_pv(): No need to initialize npv to NULL.

No functional changes intended.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Sep 5 12:05:05 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.100: +5 -5 lines
Diff to previous 1.100 (colored)

pmap_testout(): Use pmap_{protect,remove}() for va to (va + PAGE_SIZE),
instead of (va + 1).

No functional changes for the current implementation. Also, this affects
only when the function is manually called from DDB on DEBUG kernel.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Sep 5 09:57:43 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.99: +21 -66 lines
Diff to previous 1.99 (colored)

if (cond) panic() or Debugger() in #ifdef DIAGNOSTIC ---> KASSERT(!cond)

There is no regression observed during a full ATF run.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Sep 4 14:31:04 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.98: +219 -236 lines
Diff to previous 1.98 (colored)

Style. No binary changes.

Also, remove old #if-0'ed code block copied from oea (and therefore
will never be enabled).

Revision 1.95.4.2 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:15 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.95.4.1: +37 -27 lines
Diff to previous 1.95.4.1 (colored) next main 1.96 (colored)

Sync with HEAD.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Apr 15 00:00:46 2021 UTC (2 years, 10 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-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
Changes since 1.97: +18 -8 lines
Diff to previous 1.97 (colored)

Use uvm_km_alloc(9) with UVM_KMF_NOWAIT flag in pte_enter(), in order not to
sleep in pmap_enter(9) and pmap_kenter_pa(9), which can result in dead lock.

In most cases, pmap_enter(9) is used with PMAP_CANFAIL flag. In this case,
if pte_enter() fails due to uvm_km_alloc(9), we can safely return ENOMEM.
UVM layer will take care of it.

uvm_km_alloc(9) fails for pmap_enter(9) without PMAP_CANFAIL or for
pmap_kenter_pa(9), we have no choice but to panic there.

However, my testbeds for 403 and 405 survive more than a week at least
without hitting this panic.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Apr 14 23:45:11 2021 UTC (2 years, 10 months ago) by rin
Branch: MAIN
Changes since 1.96: +19 -19 lines
Diff to previous 1.96 (colored)

Style fixes:

- Add "static inline" to pte_enter(), to match with its declaration.
- Remove parentheses from return.
- Use NULL instead of 0 for pointer initialization.

No binary changes.

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:34 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD.

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:47 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

Sync with HEAD.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Mar 30 03:15:53 2021 UTC (2 years, 10 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

G/C misleading <evbppc/tlb.h>. Use <powerpc/ibm4xx/tlb.h> directly.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Sep 10 04:36:24 2020 UTC (3 years, 5 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex, thorpej-cfargs
Changes since 1.94: +3 -4 lines
Diff to previous 1.94 (colored)

Tiny cosmetic fix for previous. No functional changes.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Sep 10 04:31:55 2020 UTC (3 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.93: +65 -35 lines
Diff to previous 1.93 (colored)

Real fix for pmap_procwr(), attempted in revs 1.85 and 1.87:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/ibm4xx/pmap.c#rev1.85
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/ibm4xx/pmap.c#rev1.87

ibm4xx has VIPT icache and operations in pmap_procwr() should be done with
DMMU enabled (write back dcache into memory and invalidate icache).

When p == curproc, this is trivial. However, p != curproc needs a special
care; we cannot rely upon TLB miss handler in user context. Therefore,
extract pa and operate against it.

Note that va below VM_MIN_KERNEL_ADDRESS (== 2GB at the moment) is reserved
for direct mapping.

Tested by gdb with WIP software single stepping for ibm4xx.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Sep 10 03:32:46 2020 UTC (3 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.92: +50 -19 lines
Diff to previous 1.92 (colored)

Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when
TLB entry is invalidated, instead of clearing entire TLBHI register.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Sep 10 03:23:55 2020 UTC (3 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.91: +2 -6 lines
Diff to previous 1.91 (colored)

pmap_kenter_pa: Remove comment which says ``Have to remove any existing
mapping first.'' Contrary to this comment, pmap_kremove(9) has never
been called there since rev 1.1, and we don't for other ports also.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Sep 10 03:02:36 2020 UTC (3 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.90: +6 -5 lines
Diff to previous 1.90 (colored)

Introduce PV_VA() macro to extract va from pv->pv_va by clearing
PV_WIRED flag, and use it where appropriate.

There should be no functional changes. Only for safety in future.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jul 6 10:40:21 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.89: +6 -2 lines
Diff to previous 1.89 (colored)

Include missing opt_ddb.h.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Jun 29 06:51:32 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.88: +2 -6 lines
Diff to previous 1.88 (colored)

Remove evcnt(9) counter for tlbhit; there's no way to observe TLB hits
from kernel, and it just counted intersection b/w tlbmiss and tlbenter.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jun 19 07:31:59 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.87: +18 -18 lines
Diff to previous 1.87 (colored)

Try to sanitize usage of isync and sync instructions.

According to reference manuals of 4xx, isync is "context synchronization",
which satisfies both 1 and 2:

1. instructions preceding it complete in the context that existed before it
2. instructions following it complete in the context that exists after it

Whereas sync (== msync for 440) is "execution synchronization", which
satisfies just 1, not 2. At the same time, sync guarantees "storage
synchronization", by which any previous storage references completes
before any subsequent instructions begin to execute.

Tested on 405 over months.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Jun 19 07:15:21 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Oops, commit log was missing. It should be:

Revert rev 1.85:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/ibm4xx/pmap.c#rev1.85

Not clearly documented in reference manual, but the previous code seems
correct; the operations must be carried out with DMMU disabled. Otherwise,
WIP software single step for userland does not work correctly (stalled
indefinitely at pmap_procwr()).

XXX
pullup to netbsd-9

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jun 19 07:14:19 2020 UTC (3 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

*** empty log message ***

Revision 1.76.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:49 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.76: +18 -21 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Merge changes from current as of 20200406

Revision 1.76.20.2 / (download) - annotate - [select for diffs], Mon Mar 9 10:36:42 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.76.20.1: +13 -17 lines
Diff to previous 1.76.20.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Pull up following revision(s) (requested by rin in ticket #773):

	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.81
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.82
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.83
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.84
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.85
	sys/arch/powerpc/include/ibm4xx/tlb.h: revision 1.6
	sys/arch/powerpc/include/ibm4xx/pmap.h: revision 1.20

Misc non-critical fixes.
- __asm --> __asm volatile for sure
- turn DEBUG code in __asm into DIAGNOSTIC code in C
- style

ppc4xx_tlb_enter(): invalidate entry after clearing MSR for sure.

pmap_procwr(): use dcbst instead of dcbf as a tiny optimization.

Retire tlbpid_t (u_short):
- PID (ctx, ASID) is 8-bit length, not half word.
- For struct pmap, no need to use integer types smaller than word as
  pm_ctx because of alignment.
- For ppc4xx_tlb_enter(), we need word-length storage for pid (and msr).
XXX
Better to rewrite pmap module with more suggestive integer types rather
than char, int, long, and so on.

Fix pmap_procwr().
While we need to turn off IMMU, DMMU should be kept on. Otherwise,
dcbst (and also icbi probably, though not documented clearly both
for 405 and 403) should not work correctly.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Mar 5 11:44:54 2020 UTC (3 years, 11 months ago) by rin
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.84: +5 -5 lines
Diff to previous 1.84 (colored)

Fix pmap_procwr().

While we need to turn off IMMU, DMMU should be kept on. Otherwise,
dcbst (and also icbi probably, though not documented clearly both
for 405 and 403) should not work correctly.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Mar 5 02:14:52 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.83: +3 -4 lines
Diff to previous 1.83 (colored)

Retire tlbpid_t (u_short):

- PID (ctx, ASID) is 8-bit length, not half word.
- For struct pmap, no need to use integer types smaller than word as
  pm_ctx because of alignment.
- For ppc4xx_tlb_enter(), we need word-length storage for pid (and msr).

XXX
Better to rewrite pmap module with more suggestive integer types rather
than char, int, long, and so on.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Mar 5 01:35:00 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

pmap_procwr(): use dcbst instead of dcbf as a tiny optimization.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Mar 5 01:33:36 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

ppc4xx_tlb_enter(): invalidate entry after clearing MSR for sure.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Mar 5 01:31:27 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.80: +7 -10 lines
Diff to previous 1.80 (colored)

Misc non-critical fixes.

- __asm --> __asm volatile for sure
- turn DEBUG code in __asm into DIAGNOSTIC code in C
- style

Revision 1.76.22.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:29 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.76: +7 -6 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with head.

Revision 1.76.20.1 / (download) - annotate - [select for diffs], Thu Feb 27 18:23:10 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-9
Changes since 1.76: +7 -6 lines
Diff to previous 1.76 (colored)

Pull up following revision(s) (requested by rin in ticket #731):

	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.80
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.77
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.78
	sys/arch/powerpc/ibm4xx/pmap.c: revision 1.79

Fix NULL dereference; "pap" argument of pmap_extract(9) can be NULL.

 -

Fix off-by-one error for ctx (ASID).

 -

Note that NUM_CTX = 256 = 0 stands for disabling protection by ASID.
Clear ti_ctx when flushing a TLB entry for clarity.

 -

In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of
TLBF_USED. This should be originally intended behavior of this code
segment, because
- TLBF_USED is already checked just before, so marking this page
  TLBF_USED is no-op.
- TLBF_REF flag exempts that page from being flushed from TLB in next
  scan, when kernel stack may be still there with high probability.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Feb 21 13:16:16 2020 UTC (4 years ago) by rin
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of
TLBF_USED. This should be originally intended behavior of this code
segment, because

- TLBF_USED is already checked just before, so marking this page
  TLBF_USED is no-op.
- TLBF_REF flag exempts that page from being flushed from TLB in next
  scan, when kernel stack may be still there with high probability.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Feb 20 05:34:37 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.78: +3 -2 lines
Diff to previous 1.78 (colored)

Clear ti_ctx when flushing a TLB entry for clarity.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Feb 20 05:21:54 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Fix off-by-one error for ctx (ASID).

Note that NUM_CTX = 256 = 0 stands for disabling protection by ASID.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Feb 20 05:13:16 2020 UTC (4 years ago) by rin
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Fix NULL dereference; "pap" argument of pmap_extract(9) can be NULL.

Revision 1.72.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:36 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.72: +19 -15 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

update from HEAD

Revision 1.72.24.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:18 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.72: +19 -15 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with HEAD

Revision 1.72.28.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:24 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.72: +19 -15 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

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

Revision 1.76 / (download) - annotate - [select for diffs], Sat Dec 24 19:02:16 2016 UTC (7 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, netbsd-9, ad-namecache
Changes since 1.75: +4 -4 lines
Diff to previous 1.75 (colored)

Conform API use of uvm_hotplug(9) to documented behaviour:

When testing for an invalid uvm_physseg_t,
compare with UVM_PHYSSEG_TYPE_INVALID which is implementation agnostic.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Dec 24 18:07:31 2016 UTC (7 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.74: +14 -10 lines
Diff to previous 1.74 (colored)

introduce evbppc pmap to the uvm_hotplug(9) API

Should fix build.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Dec 23 07:15:27 2016 UTC (7 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

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

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

Revision 1.73 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:58 2016 UTC (7 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:46 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.70: +8 -8 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

sync with head

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:53 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.70: +8 -8 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

merge to -current.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:39 2012 UTC (12 years ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, 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, localcount-20160914, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

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.71 / (download) - annotate - [select for diffs], Mon Jan 9 06:49:25 2012 UTC (12 years, 1 month ago) by kiyohara
Branch: MAIN
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (colored)

Move spl from ppc4xx_tlb_enter() to pmap_enter().  Don't call splx() on
I/DTLBMISS.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jun 30 00:52:58 2011 UTC (12 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.69: +8 -8 lines
Diff to previous 1.69 (colored)

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

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:29 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.66: +14 -11 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Jun 21 04:21:44 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Switch to using dcache_wbinv_page

Revision 1.68 / (download) - annotate - [select for diffs], Mon Jun 20 08:13:17 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.67: +10 -9 lines
Diff to previous 1.67 (colored)

Get rid of extern inline.
Cleanup includes.
Rearrange pv_entry so that are pointers are first.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jun 18 06:41:41 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.66: +6 -4 lines
Diff to previous 1.66 (colored)

Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>.  Include it
explicitly.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:27 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.65: +6 -7 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:36 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62: +14 -14 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:35 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.65: +6 -7 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Mon Feb 7 07:02:24 2011 UTC (13 years ago) by matt
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.65: +6 -7 lines
Diff to previous 1.65 (colored)

Use EVCNT_ATTACH_STATIC

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:29 2011 UTC (13 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

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.50.40.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:12:18 2011 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Deal with new powerpc world.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Nov 10 09:27:23 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, matt-mips64-premerge-20101231
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Use more VM_PHYSMEM_*() accessors.  No functional changes.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 6 16:36:26 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base5
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored)

Merge from uebayasi-xip:

Revision 1.60.2.8 / (download) - annotate - [select for diffs], Thu Nov 4 08:47:37 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.7: +2 -1 lines
Diff to previous 1.60.2.7 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

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.60.2.7 / (download) - annotate - [select for diffs], Sun Oct 31 03:46:18 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.6: +1 -1 lines
Diff to previous 1.60.2.6 (colored) to branchpoint 1.60 (colored)

We already have a flag PMAP_NOCACHE.  s/PMAP_UNMANAGED/PMAN_NOCACHE/.
Pointed out by Chuck Silvers, thanks.

Revision 1.60.2.6 / (download) - annotate - [select for diffs], Sat Oct 30 08:41:10 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.5: +11 -0 lines
Diff to previous 1.60.2.5 (colored) to branchpoint 1.60 (colored)

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.60.2.5 / (download) - annotate - [select for diffs], Sat Aug 14 02:09:57 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.4: +2 -1 lines
Diff to previous 1.60.2.4 (colored) to branchpoint 1.60 (colored)

Teach TLB miss handler (pmap_tlbmiss()) to map "Expansion ROM" area as
PA == VA.  Now we don't need to reserve a TLB entry for it.
Teach TLB miss handler (pmap_tlbmiss()) to map "Expansion ROM" area as
PA == VA.  Now we don't need to reserve a TLB entry for it.

Revision 1.60.2.5 / (download) - annotate - [select for diffs], Sat Aug 14 02:09:57 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.4: +2 -1 lines
Diff to previous 1.60.2.4 (colored) to branchpoint 1.60 (colored)

Teach TLB miss handler (pmap_tlbmiss()) to map "Expansion ROM" area as
PA == VA.  Now we don't need to reserve a TLB entry for it.
Teach TLB miss handler (pmap_tlbmiss()) to map "Expansion ROM" area as
PA == VA.  Now we don't need to reserve a TLB entry for it.

Revision 1.60.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 13:46:28 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.3: +48 -6 lines
Diff to previous 1.60.2.3 (colored) to branchpoint 1.60 (colored)

Support XIP; look up "device" vm_physseg for managed pages.  Initialize
vm_physseg MD part.

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:42 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.2: +2 -1 lines
Diff to previous 1.60.2.2 (colored) to branchpoint 1.60 (colored)

Sync with HEAD.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Wed Apr 28 08:31:06 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60.2.1: +5 -5 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored)

Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Tue Apr 27 07:19:29 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Support PMAP_UNMANAGED in some pmaps.

(Others should be converted eventually, but no problem while managed
device page is not used.)

Revision 1.50.20.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:49 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.20.3: +6 -19 lines
Diff to previous 1.50.20.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head

Revision 1.62 / (download) - annotate - [select for diffs], Thu Feb 25 23:31:47 2010 UTC (13 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.61: +3 -2 lines
Diff to previous 1.61 (colored)

Adapt to spr.h breakup.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Feb 25 07:21:19 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

s/cpu_fork/cpu_lwp_fork/ in comment

Revision 1.60 / (download) - annotate - [select for diffs], Sat Nov 21 17:40:29 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.59: +2 -3 lines
Diff to previous 1.59 (colored)

Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:45 2009 UTC (14 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (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.58 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:01 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.57: +2 -15 lines
Diff to previous 1.57 (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.50.20.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:40 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.20.2: +4 -7 lines
Diff to previous 1.50.20.2 (colored) to branchpoint 1.50 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Aug 18 18:06:53 2009 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.56: +4 -6 lines
Diff to previous 1.56 (colored)

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.56 / (download) - annotate - [select for diffs], Tue Aug 11 17:04:19 2009 UTC (14 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.55: +2 -3 lines
Diff to previous 1.55 (colored)

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

Revision 1.50.20.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:15 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.20.1: +3 -3 lines
Diff to previous 1.50.20.1 (colored) to branchpoint 1.50 (colored)

sync with head

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:14 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.52: +7 -7 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

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

Revision 1.55 / (download) - annotate - [select for diffs], Mon May 11 16:09:24 2009 UTC (14 years, 9 months ago) by he
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Follow up the changed prototype of pmap_enter(), flag from int to u_int.

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

sync with head.

Revision 1.50.28.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:34 2009 UTC (14 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.50.28.1: +6 -6 lines
Diff to previous 1.50.28.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Mar 18 10:22:34 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Ansify function definitions w/o arguments. Generated with sed.

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

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

Revision 1.50.28.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:37 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

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

Sync with HEAD.

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

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

Revision 1.52 / (download) - annotate - [select for diffs], Wed Dec 10 11:10:19 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base
Branch point for: jym-xensuspend
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Make kernel_pmap_ptr a const.  Requested by steve_martin.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Dec 9 20:45:45 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (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.49.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:20:29 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 17 19:56:39 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, 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, mjf-devfs, 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, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, 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.49: +2 -2 lines
Diff to previous 1.49 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

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

Sync with HEAD

Revision 1.36.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:28:56 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.2.3: +20 -13 lines
Diff to previous 1.36.2.3 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:38 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.47.2.1: +14 -8 lines
Diff to previous 1.47.2.1 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.48.12.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:35 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.48: +14 -8 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:35 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.48: +14 -8 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Thu Aug 2 05:34:14 2007 UTC (16 years, 6 months ago) by macallan
Branch: ppcoea-renovation
Changes since 1.48: +14 -8 lines
Diff to previous 1.48 (colored)

sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 24 15:19:09 2007 UTC (16 years, 7 months ago) by hannken
Branch: 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
Changes since 1.48: +14 -8 lines
Diff to previous 1.48 (colored)

Use PR_NOWAIT in in pmap_enter_pv() and take care of PMAP_CANFAIL.  Built
after powerpc/oea/pmap.c.  Now a LOCKDEBUG kernel runs on EXPLORA451.

Ok: Simon Burge <simonb@netbsd.org>

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:54:56 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.44.4.2: +4 -3 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:03 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.47: +4 -3 lines
Diff to previous 1.47 (colored)

Sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:26 2007 UTC (16 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: ppcoea-renovation, nick-csl-alignment, matt-mips64
Changes since 1.47: +4 -3 lines
Diff to previous 1.47 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:52 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.44.4.1: +6 -6 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:34 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

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

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:52:43 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored)

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

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:51 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.2.2: +7 -7 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored)

sync with head.

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

TRUE -> true, FALSE -> false

Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:49 2007 UTC (17 years ago) by thorpej
Branch: MAIN
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (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.42.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:56 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.42.2.1: +8 -5 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with head.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:43 2006 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.2.1: +140 -28 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:31 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.42.4.1: +8 -5 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 29 19:56:46 2006 UTC (17 years, 2 months ago) by freza
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, 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
Branch point for: yamt-idlelwp
Changes since 1.43: +8 -5 lines
Diff to previous 1.43 (colored)

Instead of mapping whole RAM with reserved TLB entries, map just enough
to ensure trap code will work (that is 0 upto ${endkernel}) and leave the
rest to pmap_tlbmiss(). Mapping whole physmem into the kernel wired way
too many TLB entries, see

  http://mail-index.netbsd.org/port-powerpc/2006/10/27/0000.html

for performance analysis. While there, be a bit more descriptive in
pmap_tlbmiss() comment and use macro instead of numeric constant.

OK by Simon Burge

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:29 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.42: +3 -7 lines
Diff to previous 1.42 (colored)

Sync with head.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:54 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.42: +3 -7 lines
Diff to previous 1.42 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Mon Oct 16 18:14:38 2006 UTC (17 years, 4 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.42: +3 -7 lines
Diff to previous 1.42 (colored)

* convert ibm4xx-based evbppc from reserved-TLB entry allocation to recently
  introduced ppc4xx_tlb_reserve() API.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:22 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.39: +138 -25 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.39.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:27 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.39.8.1: +139 -10 lines
Diff to previous 1.39.8.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 31 22:13:51 2006 UTC (17 years, 5 months ago) by freza
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.41: +139 -10 lines
Diff to previous 1.41 (colored)

* ppc4xx_tlb_reserve(): allocate "reserved" TLB entries dynamically
* ppc4xx_tlb_mapiodev(): resolve pa to va from reserved TLB entries

OK by matt@

XXX we'll keep TLB_NRESERVED defined until we fix explora to use new API

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:42:40 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.39: +2 -18 lines
Diff to previous 1.39 (colored)

sync with head

Revision 1.39.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:00 2006 UTC (17 years, 7 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.39: +2 -18 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Merge from HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jul 12 06:22:17 2006 UTC (17 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.40: +2 -13 lines
Diff to previous 1.40 (colored)

Remove unused ppc4xx_tlb_unpin() function.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 4 06:25:50 2006 UTC (17 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.39: +2 -7 lines
Diff to previous 1.39 (colored)

Remove some unused variables.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:54:49 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36: +11 -11 lines
Diff to previous 1.36 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:36 2005 UTC (18 years, 2 months 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, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

bare asm -> __asm

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:28 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

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

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

merge ktrace-lwp.

Revision 1.21.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:15 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.7: +11 -11 lines
Diff to previous 1.21.2.7 (colored) next main 1.22 (colored)

Sync with HEAD. Here we go again...

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 3 11:42:44 2005 UTC (18 years, 8 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.35: +10 -10 lines
Diff to previous 1.35 (colored)

Appease the -Wshadow and -Wcast-qual gods.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:19 2005 UTC (18 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.29: +79 -104 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with -current

Revision 1.35 / (download) - annotate - [select for diffs], Thu Apr 7 12:01:08 2005 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

pmap_testout: fix too many arguments for pmap_kenter_pa.
from Shoichi Miyake.  PR/29914.

Revision 1.21.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:04 2005 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.6: +12 -10 lines
Diff to previous 1.21.2.6 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:34 2005 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.33: +12 -10 lines
Diff to previous 1.33 (colored)

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.30.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:10 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.30.2.2: +12 -17 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.21.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:39:01 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.5: +12 -17 lines
Diff to previous 1.21.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 2 09:02:42 2005 UTC (18 years, 11 months ago) by chs
Branch: 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
Changes since 1.32: +10 -16 lines
Diff to previous 1.32 (colored)

fix two bugs with wiring:
 (1) in pmap_enter_pv(), we would always mark the header entry wired, even if
     the new entry wasn't put there.  noticed by Juergen Hannken-Illjes.
 (2) in pmap_unwire(), we would never examine the header entry.
     noticed by me.

while I'm here, move the counter increment in the pmap_enter() path to be
next to the corresponding PV_WIRE() call so it's more obvious they match.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 25 07:09:58 2005 UTC (19 years ago) by simonb
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

KNF: put "if (...)" and following statement on separate lines.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:38 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.30.2.1: +3 -3 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

sync with head.

Revision 1.21.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:44:48 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.4: +3 -3 lines
Diff to previous 1.21.2.4 (colored)

Sync with HEAD.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Fri Jan 28 13:52:18 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.30: +12 -10 lines
Diff to previous 1.30 (colored)

convert arch/powerpc to new apis.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 27 12:35:53 2005 UTC (19 years ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Fix a typo in a printf string.

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:09 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.3: +63 -85 lines
Diff to previous 1.21.2.3 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 16 21:35:58 2005 UTC (19 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.29: +63 -85 lines
Diff to previous 1.29 (colored)

implement pmap_wired_count().  fix some places we would forget to splx().
move the parts of pte.h that were used into pmap.c (since they were really
pmap-internal details) and delete ibm4xx/pte.h.  other misc cleanup.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:34 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.2: +2 -2 lines
Diff to previous 1.21.2.2 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:28 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21: +50 -45 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jul 31 13:28:53 2004 UTC (19 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.28: +3 -5 lines
Diff to previous 1.28 (colored)

Remove some debug printf()s.
Reorder an evcnt_attach_static().

Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 18 14:15:55 2003 UTC (20 years, 2 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Use uvm_km_zalloc(...) instead of uvm_km_alloc1(...,1).

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 20 05:47:52 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored)

Need Data Relocate in the MSR for the dcbf in pmap_procwr().
From Matt Thomas.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 24 17:52:34 2003 UTC (20 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.25: +32 -24 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Tue Aug 12 05:06:58 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.24: +3 -12 lines
Diff to previous 1.24 (colored)

Nuke ci_curpm and curpm.  Nuke pcb_pmreal.  Those were use for spill stacks
and those no longer exist.  for few uses that need CURPM, use CURPCB/PCB_PM

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 19 08:20:22 2003 UTC (20 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

Remove an unused variable.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 15 02:54:43 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

__KERNEL_RCSID()

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 3 13:18:42 2003 UTC (20 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.21: +10 -4 lines
Diff to previous 1.21 (colored)

Fix resident page accounting for the kernel pmap.

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 10 21:10:36 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.20: +19 -6 lines
Diff to previous 1.20 (colored)

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.20 / (download) - annotate - [select for diffs], Thu May 8 18:13:21 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +7 -20 lines
Diff to previous 1.19 (colored)

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.19 / (download) - annotate - [select for diffs], Wed Apr 2 04:22:03 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +16 -14 lines
Diff to previous 1.18 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 11 10:40:16 2003 UTC (20 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".

  - different set of device control registers.
  - non-standard access to the time base.
  - 16 byte cache lines.

Approved by: Eduardo Horvath <eeh@netbsd.org>

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 18 06:23:30 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

Merge the nathanw_sa branch.

Revision 1.5.4.11 / (download) - annotate - [select for diffs], Tue Jan 7 21:13:21 2003 UTC (21 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.5.4.10: +4 -2 lines
Diff to previous 1.5.4.10 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 6 20:30:33 2003 UTC (21 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

writable, not writeable.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jan 4 18:04:43 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Make this compile without DDB.

Revision 1.5.4.10 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:38 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.5.4.9: +6 -6 lines
Diff to previous 1.5.4.9 (colored) to branchpoint 1.5 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 24 17:05:45 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

Use EVCNT_TYPE_TRAP.

Revision 1.5.4.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:29 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.8: +6 -6 lines
Diff to previous 1.5.4.8 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:35:16 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.6: +6 -6 lines
Diff to previous 1.1.2.6 (colored) next main 1.2 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:37 2002 UTC (21 years, 5 months ago) by provos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:39:04 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.5: +18 -19 lines
Diff to previous 1.1.2.5 (colored)

sync kqueue branch with HEAD

Revision 1.5.4.8 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:01 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.7: +18 -19 lines
Diff to previous 1.5.4.7 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Jul 16 13:09:57 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.11: +18 -19 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

catch up with -current.

Revision 1.5.4.7 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:45 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.6: +1 -2 lines
Diff to previous 1.5.4.6 (colored) to branchpoint 1.5 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jul 11 01:38:49 2002 UTC (21 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.11: +18 -19 lines
Diff to previous 1.11 (colored)

Clean up some white space niggles.

Revision 1.5.4.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:07:02 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.5: +2 -2 lines
Diff to previous 1.5.4.5 (colored) to branchpoint 1.5 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:39:39 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.4: +4 -3 lines
Diff to previous 1.1.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.5.4.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:04:11 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.4: +6 -1 lines
Diff to previous 1.5.4.4 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.5.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:02 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.3: +31 -76 lines
Diff to previous 1.5.4.3 (colored) to branchpoint 1.5 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 28 18:07:31 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

Follow the post-UBC semantics of resetting ref/mod collection inside of
pmap_clear_{reference,modify}().

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:15 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.3: +28 -74 lines
Diff to previous 1.1.2.3 (colored)

Catch up with -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 13 00:47:58 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.9: +27 -72 lines
Diff to previous 1.9 (colored)

pmap improvements:

Remove the cache flush routines that have been moved to cpu.c

Make sure we clear out the unused PA bits in the TTE which causes breakage
on some MMU models.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:33 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:47:59 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.1.2.2: +12 -7 lines
Diff to previous 1.1.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:27:09 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.2: +7 -7 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 26 23:26:33 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

Rename NOCACHE -> PPC_4XX_NOCACHE to avoid conflict with the namei
flag of the same name.

From Frank van der Linden <fvdl@wasabisystems.com>.

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

Reset the unused RPN bits in a TLBLO to 0, as specified by the PPC401B3
user's manual, page 8-40.

From Frank van der Linden <fvdl@wasabisystems.com>.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:26 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 6 04:49:49 2001 UTC (22 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored)

In pmap_enter(), sync the instruction cache if VM_PROT_EXECUTE.  Fixes
problems when executing programs where text is copied to a page without
a dma sync (like NFS data bcopy'd to a buffer cache page).

From discussion with Jason Thorpe and Eduardo Horvath.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Mon Nov 5 19:46:16 2001 UTC (22 years, 3 months ago) by briggs
Branch: nathanw_sa
Changes since 1.5.4.1: +1848 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

Initial SA support for ppc.  Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.

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

Catch up with -current.

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

Update the kqueue branch to HEAD.

Revision 1.5.4.1, Tue Sep 11 04:35:43 2001 UTC (22 years, 5 months ago) by briggs
Branch: nathanw_sa
Changes since 1.5: +0 -1847 lines
FILE REMOVED

file pmap.c was added on branch nathanw_sa on 2001-11-05 19:46:16 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 11 04:35:43 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, nathanw_sa
Changes since 1.4: +95 -4 lines
Diff to previous 1.4 (colored)

Implement pmap_growkernel().

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:38 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
Changes since 1.3: +10 -10 lines
Diff to previous 1.3 (colored)

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

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

Reviewed by Jason.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:13 2001 UTC (22 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.1: +10 -10 lines
Diff to previous 1.1 (colored)

update to -current

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 22 13:08:09 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Replace memcpy's of obviously overlapping regions with memmove.
Noted by Izumi Tsutsui.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 22 11:29:45 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.1: +9 -9 lines
Diff to previous 1.1 (colored)

bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 13 06:01:48 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN
Branch point for: kqueue

Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
 - New pmap and revised trap handler.
 - Support on-chip timers, PCI controller, UARTs
 - Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
 - Add in-kernel PPC floating point emulation
 - New in{,4}_cksum that is between 1.5 and 5 times faster than the
   old version depending on CPU type.
General changes:
 - Kernel support for generic dbsym-style symbols.

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>