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


Keyword substitution: kv
Default branch: MAIN


Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 3 09:25:43 2021 UTC (3 years, 7 months ago) by rin
Branches: 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, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, 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
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -7 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:24 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +22 -130 lines
Sync with HEAD.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:44:43 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +7 -77 lines
Sync with HEAD.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Mar 30 03:20:13 2021 UTC (3 years, 11 months ago) by rin
Branches: 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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -6 lines
Sort headers. Fix style. No binary changes.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Mar 30 03:15:53 2021 UTC (3 years, 11 months ago) by rin
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
G/C misleading <evbppc/tlb.h>. Use <powerpc/ibm4xx/tlb.h> directly.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Mar 30 03:04:51 2021 UTC (3 years, 11 months ago) by rin
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -23 lines
G/C unused. No binary changes (except for __LINE__ for KASSERT).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Mar 30 02:41:14 2021 UTC (3 years, 11 months ago) by rin
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -7 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 30 01:33:50 2021 UTC (3 years, 11 months ago) by rin
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -46 lines
Centralize cpu_reboot().

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Mar 7 09:43:56 2021 UTC (4 years ago) by rin
Branches: MAIN
Branch point for: thorpej-cfargs
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 5 07:06:15 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 5 06:40:15 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -3 lines
Map framebuffer to virtual space when fb(4) is present,
even if it is not console.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Mar 5 06:30:45 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -2 lines
Call bus_space_mallocok() appropriately.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Mar 5 06:26:56 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -51 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 2 07:44:08 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -7 lines
Establish kernel MMU context before turning on MMU.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:43 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:37 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:10 2019 UTC (5 years, 2 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Rename uvm_free() -> uvm_availmem().

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:21 2019 UTC (5 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
uvmexp.free -> uvm_free()

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:31 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +2 -5 lines
sync with head

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jul 27 22:13:58 2012 UTC (12 years, 7 months ago) by matt
Branches: 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-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -5 lines
Fix some -fno-common fallout

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:08 2011 UTC (13 years, 9 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +16 -155 lines
Catchup with rmind-uvmplock merge.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 20 17:44:33 2011 UTC (13 years, 9 months ago) by matt
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -147 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 18 06:44:25 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 15 05:50:48 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -9 lines
lcsplx is dead.  remove last vestiges of it.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:42:41 2011 UTC (13 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +8 -2 lines
for booke and ibm4xx evbppc systems, set module_machine to to either
"powerpc-ibm4xx" or "powerpc-booke".

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:15 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +3 -2 lines
sync with head

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:25 2011 UTC (14 years, 2 months ago) by rmind
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.23.12.1: download - view: text, markup, annotated - select for diffs
Fri Jan 7 01:43:07 2011 UTC (14 years, 2 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +3 -2 lines
Deal with the splitting of <spr.h>

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:18 2010 UTC (14 years, 10 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3 lines
Sync with HEAD.

Revision 1.20.20.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:20 2010 UTC (15 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.20.20.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.20.2: +5 -9 lines
sync with head

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Feb 25 23:33:44 2010 UTC (15 years ago) by matt
Branches: 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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2 lines
Adapt to <spr.h> breakup.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:02:28 2010 UTC (15 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:08 2009 UTC (15 years, 3 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -5 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:16 2009 UTC (15 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -6 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:40 2009 UTC (15 years, 10 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -2 lines
Sync with HEAD.

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

Revision 1.20.20.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:02 2009 UTC (15 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.20.20.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.20.1: +8 -18 lines
sync with head.

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:28:55 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.1: +3 -2 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:41:01 2009 UTC (16 years, 1 month ago) by apb
Branches: 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
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:09 2009 UTC (16 years, 2 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -8 lines
Sync with HEAD.

Revision 1.20.16.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:00 2009 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.16.3: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.16.3: +5 -6 lines
Sync with HEAD.

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:10 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +7 -8 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Nov 30 18:21:33 2008 UTC (16 years, 3 months ago) by martin
Branches: MAIN
CVS tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -7 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:00 2008 UTC (16 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:46:42 2008 UTC (16 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:45 2008 UTC (16 years, 5 months ago) by haad
Branches: haad-dm
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -4 lines
Sync with HEAD.

Revision 1.20.16.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:39:55 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.16.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.16.2: +0 -2 lines
Sync with HEAD.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:25 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +2 -12 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 8 06:29:21 2008 UTC (16 years, 7 months ago) by hannken
Branches: 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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -4 lines
Remove an unneeded include to make it compile again.

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:53 2008 UTC (16 years, 8 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +2 -10 lines
Sync with head.

Revision 1.20.16.2: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:16 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.16.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.16.1: +0 -8 lines
Sync with HEAD.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:28:55 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -10 lines
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.20.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:04 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -9 lines
Sync with HEAD.

Revision 1.20.18.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:51 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -9 lines
sync with head.

Revision 1.20.20.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:15 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -9 lines
sync with head.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:17 2008 UTC (16 years, 10 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:16:16 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -2 lines
sync with HEAD

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:54:17 2007 UTC (17 years, 5 months ago) by garbled
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:23:14 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -2 lines
Sync with HEAD

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:24:18 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7.2.3: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.3: +5 -3 lines
sync with head.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:38:01 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -2 lines
Sync with HEAD.

Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:18 2007 UTC (17 years, 7 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -2 lines
Sync with HEAD.

Revision 1.18.12.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:05:14 2007 UTC (17 years, 7 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -2 lines
Sync with HEAD.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jul 20 13:41:53 2007 UTC (17 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -2 lines
Move intr_init() from cpu_configure() to cpu_startup() so softintrs
pool_get() works again.

Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:47:39 2007 UTC (18 years ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.1: +3 -3 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:46 2007 UTC (18 years ago) by christos
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:50:12 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:06:23 2007 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.2: +6 -6 lines
sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Feb 22 05:27:47 2007 UTC (18 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6 lines
TRUE -> true, FALSE -> false

Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:47 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.1: +5 -6 lines
Sync with head.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:54 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +15 -85 lines
sync with head.

Revision 1.12.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:15:53 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.12.6.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.6.1: +6 -7 lines
sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 29 19:56:46 2006 UTC (18 years, 3 months ago) by freza
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:11 2006 UTC (18 years, 4 months ago) by ad
Branches: newlock2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -52 lines
Sync with head.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 23 06:49:17 2006 UTC (18 years, 5 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 22 06:04:39 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -52 lines
sync with head

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 16 18:14:36 2006 UTC (18 years, 5 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -40 lines
* 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 - view: text, markup, annotated - select for diffs
Mon Sep 18 22:05:47 2006 UTC (18 years, 6 months ago) by gdamore
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -14 lines
Conversion of evbppc to generic TODR.  ok freza@

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:39:05 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +21 -44 lines
sync with head

Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:41:26 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.1: +2 -32 lines
sync with head

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:48:46 2006 UTC (18 years, 8 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -32 lines
Merge from HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jun 30 17:54:50 2006 UTC (18 years, 8 months ago) by freza
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -32 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 14:51:08 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +44 -21 lines
sync with head.

Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:34:30 2006 UTC (18 years, 9 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +21 -14 lines
Sync with head.

Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:47:55 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +21 -14 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:56:47 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +21 -14 lines
sync with head.

Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Thu May 11 23:26:19 2006 UTC (18 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +21 -14 lines
sync with head

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 5 18:04:41 2006 UTC (18 years, 10 months ago) by thorpej
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +21 -14 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 15 10:02:37 2006 UTC (19 years, 2 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +20 -4 lines
sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Dec 31 14:09:02 2005 UTC (19 years, 2 months ago) by hannken
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +20 -4 lines
Use our own function to copy traps.  We cannot use memcpy() anymore
because the destination may be zero.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 24 22:45:35 2005 UTC (19 years, 3 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -7 lines
bare asm -> __asm

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:12 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
merge ktrace-lwp.

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:56:05 2005 UTC (19 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.3: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +3 -3 lines
Sync with HEAD. Here we go again...

Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:08 2005 UTC (19 years, 10 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
sync with -current

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 25 15:02:04 2005 UTC (19 years, 11 months ago) by lukem
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 21 13:15:06 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.2: preferred, colored
Changes since revision 1.2.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:33:58 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:34:16 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +26 -69 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jan 5 19:55:27 2004 UTC (21 years, 2 months ago) by hannken
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +23 -12 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 30 12:33:16 2003 UTC (21 years, 2 months ago) by pk
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -59 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 12 05:06:55 2003 UTC (21 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 15 01:37:36 2003 UTC (21 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -1 lines
__KERNEL_RCSID()

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 26 11:05:12 2003 UTC (21 years, 11 months ago) by ragge
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -4 lines
Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Mar 11 10:57:56 2003 UTC (22 years ago) by hannken
Branches: 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>

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>