The NetBSD Project

CVS log for src/sys/arch/evbppc/explora/machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / evbppc / explora

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.52 / (download) - annotate - [select for diffs], Tue Aug 3 09:25:43 2021 UTC (2 years, 8 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2, thorpej-altq-separation-base, thorpej-altq-separation, 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, HEAD
Changes since 1.51: +2 -7 lines
Diff to previous 1.51 (colored)

Switch evbppc/ibm4xx to generic evbppc (same as oea) kernel modules.

I've confirmed that kernels similar to amd64/conf/MODULAR work fine
both on 403 and 405.

XXX
Unfortunately, we cannot immediately switch evbppc/booke to generic
kernel modules yet; it has its own intr.h implementation.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:24 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.40: +22 -130 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:43 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.46: +7 -77 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 30 03:20:13 2021 UTC (3 years ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex-base, 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.50: +6 -6 lines
Diff to previous 1.50 (colored)

Sort headers. Fix style. No binary changes.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 30 03:15:53 2021 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Tue Mar 30 03:04:51 2021 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.48: +2 -23 lines
Diff to previous 1.48 (colored)

G/C unused. No binary changes (except for __LINE__ for KASSERT).

Revision 1.48 / (download) - annotate - [select for diffs], Tue Mar 30 02:41:14 2021 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.47: +2 -7 lines
Diff to previous 1.47 (colored)

Move common global variables, i.e., phys_map, machine, and machine_arch to
evbppc/evbppc_machdep.c (bad naming; used only for 4xx boards).

Revision 1.47 / (download) - annotate - [select for diffs], Tue Mar 30 01:33:50 2021 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.46: +2 -46 lines
Diff to previous 1.46 (colored)

Centralize cpu_reboot().

Revision 1.46 / (download) - annotate - [select for diffs], Sun Mar 7 09:43:56 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.45: +3 -4 lines
Diff to previous 1.45 (colored)

Revert this commit:

http://www.nerv.org/netbsd/?q=id:20210305T064016Z.410b0e33273c3a62110d09e8bb27939f6a8bab38

> Map framebuffer to virtual space when fb(4) is present,
> even if it is not console.

Direct mapping for framebuffer is required only if fb(4) is console.

XXX
It would be nice if we can remove reserved TLB entries after
fb(4) is properly attached.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Mar 5 07:06:15 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Identify oneself as ``Explora 450'' instead of 451.

There are models numbered 450 to 454. The differences b/w them are
shapes of ethernet and audio connectors. Base model number 450 is
displayed for (probably) all models by firmware.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Mar 5 06:40:15 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored)

Map framebuffer to virtual space when fb(4) is present,
even if it is not console.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 5 06:30:45 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.42: +7 -2 lines
Diff to previous 1.42 (colored)

Call bus_space_mallocok() appropriately.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Mar 5 06:26:56 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.41: +12 -51 lines
Diff to previous 1.41 (colored)

For very MD codes for Explora, reorder things, and use more common codes for
ibm4xx and ibm40x for clarity as well as better comparison with other boards.

No functional changes intended.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 2 07:44:08 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.40: +2 -7 lines
Diff to previous 1.40 (colored)

Establish kernel MMU context before turning on MMU.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:43 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.37.40.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:37 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Merge changes from current as of 20200406

Revision 1.39 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:10 2019 UTC (4 years, 3 months ago) by ad
Branch: 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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:21 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

uvmexp.free -> uvm_free()

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:31 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36: +2 -5 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 27 22:13:58 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, 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, 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-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi
Changes since 1.36: +2 -5 lines
Diff to previous 1.36 (colored)

Fix some -fno-common fallout

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:08 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.32: +16 -155 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 20 17:44:33 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.35: +6 -147 lines
Diff to previous 1.35 (colored)

Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jun 18 06:44:25 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.34: +6 -3 lines
Diff to previous 1.34 (colored)

split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 15 05:50:48 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.33: +2 -9 lines
Diff to previous 1.33 (colored)

lcsplx is dead.  remove last vestiges of it.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 12 03:42:41 2011 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.32: +8 -2 lines
Diff to previous 1.32 (colored)

for booke and ibm4xx evbppc systems, set module_machine to to either
"powerpc-ibm4xx" or "powerpc-booke".

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:15 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:25 2011 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (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.23.12.1 / (download) - annotate - [select for diffs], Fri Jan 7 01:43:07 2011 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Deal with the splitting of <spr.h>

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:18 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.20.20.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:20 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20.20.2: +5 -9 lines
Diff to previous 1.20.20.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 25 23:33:44 2010 UTC (14 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Adapt to <spr.h> breakup.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:28 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:08 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.28: +4 -5 lines
Diff to previous 1.28 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:16 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.27: +3 -6 lines
Diff to previous 1.27 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:40 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

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

Revision 1.20.20.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:02 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20.20.1: +8 -18 lines
Diff to previous 1.20.20.1 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:28:55 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.23.2.1: +3 -2 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:01 2009 UTC (15 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:09 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.23: +7 -8 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

Revision 1.20.16.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:00 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.16.3: +5 -6 lines
Diff to previous 1.20.16.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:10 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.22.2.1: +7 -8 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:33 2008 UTC (15 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.25: +2 -7 lines
Diff to previous 1.25 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:00 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:42 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.23: +6 -2 lines
Diff to previous 1.23 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:45 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.22: +2 -4 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Revision 1.20.16.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:55 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.16.2: +0 -2 lines
Diff to previous 1.20.16.2 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:25 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.21: +2 -12 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 8 06:29:21 2008 UTC (15 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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-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
Branch point for: nick-hppapmap, matt-nb5-pq3
Changes since 1.22: +2 -4 lines
Diff to previous 1.22 (colored)

Remove an unneeded include to make it compile again.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:53 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.21: +2 -10 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.20.16.2 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:16 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.16.1: +0 -8 lines
Diff to previous 1.20.16.1 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:55 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.21: +2 -10 lines
Diff to previous 1.21 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.20.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:04 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.20.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:51 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with head.

Revision 1.20.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:15 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:17 2008 UTC (15 years, 11 months ago) by martin
Branch: 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
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:16:16 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:17 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, 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
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (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.18.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:14 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:24:18 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.3: +5 -3 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:01 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.18.14.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:18 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

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

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 20 13:41:53 2007 UTC (16 years, 8 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.18: +4 -2 lines
Diff to previous 1.18 (colored)

Move intr_init() from cpu_configure() to cpu_startup() so softintrs
pool_get() works again.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:39 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.16.4.1: +3 -3 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:46 2007 UTC (17 years, 1 month ago) by christos
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: vmlocking, ppcoea-renovation, nick-csl-alignment, matt-mips64
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

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

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:50:12 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

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

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:23 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.2: +6 -6 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 22 05:27:47 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

TRUE -> true, FALSE -> false

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:47 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.12.4.1: +5 -6 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:54 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.1: +15 -85 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.12.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:15:53 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.12.6.1: +6 -7 lines
Diff to previous 1.12.6.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 29 19:56:46 2006 UTC (17 years, 4 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.15: +5 -6 lines
Diff to previous 1.15 (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.12.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:11 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.12: +13 -52 lines
Diff to previous 1.12 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 23 06:49:17 2006 UTC (17 years, 5 months ago) by kiyohara
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Define BASE_ISA macro for ISA window base address (where pckbc, com, lpt live)
instead of hardcoding the constant or (even before) using BASE_COM.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:39 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.12: +13 -52 lines
Diff to previous 1.12 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Mon Oct 16 18:14:36 2006 UTC (17 years, 6 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.13: +13 -40 lines
Diff to previous 1.13 (colored)

* convert ibm4xx-based evbppc from reserved-TLB entry allocation to recently
  introduced ppc4xx_tlb_reserve() API.
* ibm405gp UART0 used to be linear mapped. The VA happens to be inside kernel
  segment, giving us the possibility of multiple VA matches in the TLB. This
  is considered "programming error" by 405 core and results in "undefined
  behaviour". We now avoid mapping peripherals in kernel segment.
* Some boards used to map hardwired RAM size. We now use the real size as
  passed in by boot firmware.
* TLB_NRESERVED is (finally) gone.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 18 22:05:47 2006 UTC (17 years, 6 months ago) by gdamore
Branch: MAIN
Changes since 1.12: +2 -14 lines
Diff to previous 1.12 (colored)

Conversion of evbppc to generic TODR.  ok freza@

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:39:05 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.10: +21 -44 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:41:26 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.10.6.1: +2 -32 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:48:46 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.11: +2 -32 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Merge from HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 30 17:54:50 2006 UTC (17 years, 9 months ago) by freza
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.11: +2 -32 lines
Diff to previous 1.11 (colored)

Bring ibm4xx interrupt code up to date:

- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
  where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:51:08 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7: +44 -21 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:34:30 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.10: +21 -14 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:47:55 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.10: +21 -14 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:56:47 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.10: +21 -14 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Thu May 11 23:26:19 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.10: +21 -14 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 5 18:04:41 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.10: +21 -14 lines
Diff to previous 1.10 (colored)

Remove the devprop API and switch everthing over to the new proplib.  Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:37 2006 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.9: +20 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 31 14:09:02 2005 UTC (18 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.9: +20 -4 lines
Diff to previous 1.9 (colored)

Use our own function to copy traps.  We cannot use memcpy() anymore
because the destination may be zero.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:35 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored)

bare asm -> __asm

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

merge ktrace-lwp.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:05 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.3: +3 -3 lines
Diff to previous 1.2.2.3 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:08 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with -current

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:04 2005 UTC (18 years, 11 months ago) by lukem
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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:15:06 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +2 -2 lines
Diff to previous 1.2.2.2 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:34:16 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +26 -69 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 5 19:55:27 2004 UTC (20 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.5: +23 -12 lines
Diff to previous 1.5 (colored)

Mapping of console device goes into the reserved tlb's.
Max. memory is 32M for console at fb and 48M for console on com.

If this becomes a problem TLB_NRESERVED needs to become variable.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:16 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.4: +2 -59 lines
Diff to previous 1.4 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 12 05:06:55 2003 UTC (20 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Tue Jul 15 01:37:36 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

__KERNEL_RCSID()

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:12 2003 UTC (20 years, 11 months ago) by ragge
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +7 -4 lines
Diff to previous 1.1 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 11 10:57:56 2003 UTC (21 years, 1 month ago) by hannken
Branch: MAIN

Add a port to the NCD Explora451 ThinClient.

 - Supported devices: le, com, lpt, pckbd, frame buffer.
 - Support missing:   phy, audio, pcmcia.
 - Boots from network or md.

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

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>