The NetBSD Project

CVS log for src/sys/arch/sun3/sun3/machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.206 / (download) - annotate - [select for diffs], Sat Jul 28 19:08:25 2012 UTC (9 months, 3 weeks ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.205: +2 -3 lines
Diff to previous 1.205 (colored)

Remove declartions of physmem

Revision 1.205 / (download) - annotate - [select for diffs], Fri Jul 27 05:36:12 2012 UTC (9 months, 3 weeks ago) by matt
Branch: MAIN
Changes since 1.204: +2 -8 lines
Diff to previous 1.204 (colored)

Remove safepri and use IPL_SAFEPRI instead.  This may be defined in a MD
header file (if not, a value of 0 is assmued).

Revision 1.204 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:12 2011 UTC (17 months, 1 week ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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-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
Changes since 1.203: +4 -14 lines
Diff to previous 1.203 (colored)

implement bdev_size(9) wrapper around d_psize() routine, so we can take
the device lock in relevant places.  avoid doing so while actually dumping.

tested i386 crash dumps still work, and that all touched files compile.

fixes PR#45705.

Revision 1.203 / (download) - annotate - [select for diffs], Tue Jun 14 15:23:19 2011 UTC (23 months, 1 week ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.202: +3 -3 lines
Diff to previous 1.202 (colored)

Fix merge botch. KERNBASE macro was split into KERNBASE3 and KERNBASE3X
for kernel, and was replaced with kernbase constant for possible reference
of USRSTACK in module(7).

Revision 1.202 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:48 2011 UTC (23 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.201: +48 -2 lines
Diff to previous 1.201 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.201 / (download) - annotate - [select for diffs], Mon May 16 13:22:55 2011 UTC (2 years ago) by tsutsui
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.200: +2 -38 lines
Diff to previous 1.200 (colored)

- merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c
- move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>

Briefly tested and no obvious breakage on atari, sun3, and x68k.

Revision 1.200 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:29 2011 UTC (2 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase
Changes since 1.199: +3 -3 lines
Diff to previous 1.199 (colored)

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.199 / (download) - annotate - [select for diffs], Mon Jan 17 14:36:33 2011 UTC (2 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.198: +3 -2 lines
Diff to previous 1.198 (colored)

Explicitly include <machine/pcb.h> for struct pcb.

Revision 1.198 / (download) - annotate - [select for diffs], Fri Oct 15 15:55:53 2010 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.197: +20 -5 lines
Diff to previous 1.197 (colored)

Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?

Revision 1.197 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:32 2010 UTC (3 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.196: +2 -10 lines
Diff to previous 1.196 (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.196 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:52 2009 UTC (3 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.195: +3 -3 lines
Diff to previous 1.195 (colored)

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.195 / (download) - annotate - [select for diffs], Sat Nov 21 04:16:52 2009 UTC (3 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.194: +5 -5 lines
Diff to previous 1.194 (colored)

Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.

Revision 1.194 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:48 2009 UTC (3 years, 6 months ago) by cegger
Branch: MAIN
Changes since 1.193: +3 -3 lines
Diff to previous 1.193 (colored)

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

Revision 1.193 / (download) - annotate - [select for diffs], Sat Aug 15 23:45:01 2009 UTC (3 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.192: +3 -2 lines
Diff to previous 1.192 (colored)

Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
do it for us.

Revision 1.192 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:03 2009 UTC (4 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Changes since 1.191: +3 -2 lines
Diff to previous 1.191 (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.191 / (download) - annotate - [select for diffs], Wed Jan 21 16:24:34 2009 UTC (4 years, 4 months ago) by he
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.190: +4 -4 lines
Diff to previous 1.190 (colored)

Re-adapt to the changed return types for major() and minor().

Revision 1.190 / (download) - annotate - [select for diffs], Mon Jan 12 08:25:32 2009 UTC (4 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.189: +6 -6 lines
Diff to previous 1.189 (colored)

use PRIu64 format to printf major() and minor() values

Revision 1.189 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:36 2008 UTC (4 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.188: +3 -3 lines
Diff to previous 1.188 (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.188 / (download) - annotate - [select for diffs], Tue Nov 25 15:51:35 2008 UTC (4 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.187: +4 -4 lines
Diff to previous 1.187 (colored)

dumpsys: don't spew numbers into the log.

Revision 1.187 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:08 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.186: +3 -3 lines
Diff to previous 1.186 (colored)

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

Proposed on tech-kern@.

Revision 1.186 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:44 2008 UTC (4 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.185: +4 -2 lines
Diff to previous 1.185 (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.185 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, haad-dm
Changes since 1.184: +2 -9 lines
Diff to previous 1.184 (colored)

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

Revision 1.184 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:46 2007 UTC (5 years, 7 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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-nbase, 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-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (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.183 / (download) - annotate - [select for diffs], Sat Jun 2 06:23:56 2007 UTC (5 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.182: +2 -5 lines
Diff to previous 1.182 (colored)

- Don't refer fputype before FPU is probed.
- Call m68k_make_fpu_idle_frame() from initfpu().

Revision 1.182 / (download) - annotate - [select for diffs], Sun Mar 4 14:01:22 2007 UTC (6 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.181: +5 -5 lines
Diff to previous 1.181 (colored)

Use (char *) on pointer arith.

Revision 1.181 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:54 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.180: +6 -6 lines
Diff to previous 1.180 (colored)

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

Revision 1.180 / (download) - annotate - [select for diffs], Thu Feb 22 16:45:48 2007 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.179: +5 -5 lines
Diff to previous 1.179 (colored)

TRUE -> true, FALSE -> false

Revision 1.179 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:13 2007 UTC (6 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.178: +2 -3 lines
Diff to previous 1.178 (colored)

Merge newlock2 to head.

Revision 1.178 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:33 2006 UTC (6 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.177: +6 -4 lines
Diff to previous 1.177 (colored)

in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev.  this occurs when we try to set the dumpdev to a device
with no driver loaded.  this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf().  (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.

Revision 1.177 / (download) - annotate - [select for diffs], Thu Oct 5 14:46:11 2006 UTC (6 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.176: +2 -4 lines
Diff to previous 1.176 (colored)

Make sun3 use common sun68k/sun68k/isr.c, sun68k/include/cpu.h and
sun68k/include/intr.h.

This also means now sun3 has GENERIC_SOFT_INTERRUPTS support,
so also adapt fd.c and zs.c to MI softintr(9) APIs.

(I'll also update related sources in yamt-splraiseipl branch later)

Revision 1.176 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:27 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.175: +3 -3 lines
Diff to previous 1.175 (colored)

merge ktrace-lwp.

Revision 1.175 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:07 2005 UTC (8 years, 1 month 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.174: +3 -3 lines
Diff to previous 1.174 (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.174 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:35 2005 UTC (8 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.173: +6 -4 lines
Diff to previous 1.173 (colored)

merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.173 / (download) - annotate - [select for diffs], Sat Jan 22 15:36:10 2005 UTC (8 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, 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, matt-timespec
Branch point for: yamt-km
Changes since 1.172: +25 -32 lines
Diff to previous 1.172 (colored)

de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.

Revision 1.172 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:51 2004 UTC (9 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.171: +10 -6 lines
Diff to previous 1.171 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.171 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:19 2004 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.170: +4 -4 lines
Diff to previous 1.170 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.170 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:19 2003 UTC (9 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.169: +3 -64 lines
Diff to previous 1.169 (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.169 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:22 2003 UTC (9 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.168: +41 -38 lines
Diff to previous 1.168 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.168 / (download) - annotate - [select for diffs], Sat Sep 27 20:01:58 2003 UTC (9 years, 7 months ago) by cl
Branch: MAIN
Changes since 1.167: +3 -3 lines
Diff to previous 1.167 (colored)

Cast through (void *) to appease gcc3.

Revision 1.167 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:57 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.166: +38 -4 lines
Diff to previous 1.166 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.166 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:18 2003 UTC (9 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.165: +4 -1 lines
Diff to previous 1.165 (colored)

__KERNEL_RCSID()

Revision 1.165 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:04 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.164 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:11 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.163 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:21 2003 UTC (10 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.162: +6 -3 lines
Diff to previous 1.162 (colored)

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

Revision 1.162 / (download) - annotate - [select for diffs], Tue Apr 1 15:31:12 2003 UTC (10 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.161: +24 -24 lines
Diff to previous 1.161 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.161 / (download) - annotate - [select for diffs], Sat Jan 18 07:03:36 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.160: +12 -8 lines
Diff to previous 1.160 (colored)

Merge the nathanw_sa branch.

Revision 1.160 / (download) - annotate - [select for diffs], Sun Oct 20 02:37:35 2002 UTC (10 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.159: +4 -5 lines
Diff to previous 1.159 (colored)

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
 - use m68k/cacheops.*, remove duplicates from cpu.h.
 - centralize a few declarations in (all the copies of) cpu.h.
 - define M68K_VAC on platforms which have a VAC.
 - switch the sun platforms to the (now common) proc_trampoline().
 - do the phys_map thang on the sun platforms too, no reason not to.

Revision 1.159 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:25 2002 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.158: +1 -2 lines
Diff to previous 1.158 (colored)

Don't include <sys/map.h>.

Revision 1.158 / (download) - annotate - [select for diffs], Thu Sep 19 10:38:04 2002 UTC (10 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.157: +1 -2 lines
Diff to previous 1.157 (colored)

Do not include <sys/clist.h>, it's not used in NetBSD at all.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 6 13:22:25 2002 UTC (10 years, 8 months ago) by gehenna
Branch: MAIN
Changes since 1.156: +9 -7 lines
Diff to previous 1.156 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.156 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:43 2002 UTC (10 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.155: +4 -5 lines
Diff to previous 1.155 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.155 / (download) - annotate - [select for diffs], Tue May 14 02:58:34 2002 UTC (11 years ago) by matt
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.154: +3 -1 lines
Diff to previous 1.154 (colored)

Eliminate more commons or redundant declarations.

Revision 1.154 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:26 2002 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.153: +2 -2 lines
Diff to previous 1.153 (colored)

kill remaining PS_STRINGS instances.

Revision 1.153 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:25 2002 UTC (11 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.

Revision 1.152 / (download) - annotate - [select for diffs], Tue Sep 11 20:37:12 2001 UTC (11 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base, ifpoll
Branch point for: nathanw_sa
Changes since 1.151: +3 -4 lines
Diff to previous 1.151 (colored)

replace pmap_enter() with pmap_kenter_pa() where appropriate.

Revision 1.151 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:27 2001 UTC (11 years, 8 months ago) by chris
Branch: MAIN
Changes since 1.150: +4 -4 lines
Diff to previous 1.150 (colored)

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

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

Reviewed by Jason.

Revision 1.150 / (download) - annotate - [select for diffs], Wed Sep 5 14:12:22 2001 UTC (11 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored)

bcopy() -> memcpy(), bzero() -> memset()

Revision 1.149 / (download) - annotate - [select for diffs], Wed Sep 5 13:21:10 2001 UTC (11 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.148: +12 -12 lines
Diff to previous 1.148 (colored)

- vm_offset_t -> vaddr_t, vsize_t, paddr_t
- vm_size_t -> vsize_t
- remove register prefixes
- misc cleanup

Revision 1.148 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:22 2001 UTC (11 years, 11 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.147: +4 -4 lines
Diff to previous 1.147 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.147 / (download) - annotate - [select for diffs], Wed May 30 15:24:38 2001 UTC (11 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.146: +2 -1 lines
Diff to previous 1.146 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.146 / (download) - annotate - [select for diffs], Mon May 28 21:54:26 2001 UTC (11 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.145: +1 -10 lines
Diff to previous 1.145 (colored)

remove a useless call to uvm_map_protect().  the kernel text is already
mapped read-only in pmap_bootstrap() and the comment which tried to
explain why this might be needed anyway didn't make any sense.

Revision 1.145 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:13 2001 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.144: +4 -1 lines
Diff to previous 1.144 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.144 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:51 2001 UTC (12 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.143: +3 -3 lines
Diff to previous 1.143 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.143 / (download) - annotate - [select for diffs], Thu Feb 22 07:11:12 2001 UTC (12 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.142: +6 -6 lines
Diff to previous 1.142 (colored)

switch sun3 to ELF.  highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.

Revision 1.142 / (download) - annotate - [select for diffs], Mon Jan 22 13:56:59 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.141: +1 -2 lines
Diff to previous 1.141 (colored)

Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:23 2000 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.140: +2 -2 lines
Diff to previous 1.140 (colored)

Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.140 / (download) - annotate - [select for diffs], Thu Jun 29 07:19:07 2000 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.139: +1 -3 lines
Diff to previous 1.139 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.139 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:03 2000 UTC (12 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.138: +1 -4 lines
Diff to previous 1.138 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.138 / (download) - annotate - [select for diffs], Mon Jun 5 23:45:01 2000 UTC (12 years, 11 months ago) by jhawk
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.137: +1 -2 lines
Diff to previous 1.137 (colored)

Do not clear msgbufenabled in dumpsys().  Dump messages will now go to
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)

Revision 1.137 / (download) - annotate - [select for diffs], Fri May 26 21:20:23 2000 UTC (13 years ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.136: +4 -1 lines
Diff to previous 1.136 (colored)

First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.136 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:49 2000 UTC (13 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.135: +1 -10 lines
Diff to previous 1.135 (colored)

Move callout initialization to a single location; no need to duplicate
that code all over the place.

Revision 1.135 / (download) - annotate - [select for diffs], Sat Dec 4 21:21:43 1999 UTC (13 years, 5 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.134: +4 -4 lines
Diff to previous 1.134 (colored)

CL* discarding.

Revision 1.134 / (download) - annotate - [select for diffs], Mon Nov 22 19:15:12 1999 UTC (13 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

minor stylistic change

Revision 1.133 / (download) - annotate - [select for diffs], Sat Nov 13 00:32:18 1999 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

Update for pmap_enter() API change.  No functional difference.

Revision 1.132 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:25 1999 UTC (13 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.131: +3 -8 lines
Diff to previous 1.131 (colored)

eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.131 / (download) - annotate - [select for diffs], Wed May 26 19:16:35 1999 UTC (14 years ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.130: +4 -3 lines
Diff to previous 1.130 (colored)

Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.

Revision 1.130 / (download) - annotate - [select for diffs], Thu May 20 08:21:47 1999 UTC (14 years ago) by lukem
Branch: MAIN
Changes since 1.129: +10 -98 lines
Diff to previous 1.129 (colored)

* convert to using MI allocsys(). most ports were using an MD allocsys(),
  although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes

Revision 1.129 / (download) - annotate - [select for diffs], Mon Apr 26 22:46:48 1999 UTC (14 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

Garbage-collect the VM_MBUF_SIZE constant.  Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.

Revision 1.128 / (download) - annotate - [select for diffs], Sun Apr 25 02:56:29 1999 UTC (14 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.127: +2 -4 lines
Diff to previous 1.127 (colored)

g/c REAL_CLISTS.

Revision 1.127 / (download) - annotate - [select for diffs], Sun Apr 11 04:04:10 1999 UTC (14 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored)

add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.126 / (download) - annotate - [select for diffs], Thu Apr 8 04:17:43 1999 UTC (14 years, 1 month ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.125: +6 -4 lines
Diff to previous 1.125 (colored)

Use the string kernel_arch to determine "sun3" vs "sun3x"
and leave the machine string as it was (make uses it).

Revision 1.125 / (download) - annotate - [select for diffs], Thu Apr 1 00:17:49 1999 UTC (14 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.124: +1 -6 lines
Diff to previous 1.124 (colored)

Don't call configure() from cpu_startup().

Revision 1.124 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:37 1999 UTC (14 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.123: +4 -3 lines
Diff to previous 1.123 (colored)

Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:14 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.122: +3 -66 lines
Diff to previous 1.122 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.122 / (download) - annotate - [select for diffs], Thu Mar 4 23:18:28 1999 UTC (14 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.121: +3 -1 lines
Diff to previous 1.121 (colored)

Need to include DDB headers only if DDB is defined.

Revision 1.121 / (download) - annotate - [select for diffs], Sat Feb 27 06:39:37 1999 UTC (14 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored)

defopt BUFCACHE and BUFPAGES.

Revision 1.120 / (download) - annotate - [select for diffs], Sat Jan 9 22:10:22 1999 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

Garbage-collect `mbutl'.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Nov 24 16:48:26 1998 UTC (14 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored)

Need <sys/device.h> to bring configure() declaration in scope.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Oct 19 22:09:17 1998 UTC (14 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Oct 1 19:08:05 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

Fix a couple of printf formats.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:43 1998 UTC (14 years, 10 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored)

defopt DDB.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Jun 9 17:10:11 1998 UTC (14 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.114: +5 -4 lines
Diff to previous 1.114 (colored)

Make this compile...

Revision 1.114 / (download) - annotate - [select for diffs], Tue Jun 9 01:57:45 1998 UTC (14 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.113: +8 -2 lines
Diff to previous 1.113 (colored)

Change ddb_init() for a.out to provision for kernels which are not booted by
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Jun 8 20:47:46 1998 UTC (14 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.112: +77 -6 lines
Diff to previous 1.112 (colored)

Add UVM support

Revision 1.112 / (download) - annotate - [select for diffs], Wed May 20 18:35:49 1998 UTC (15 years ago) by fair
Branch: MAIN
Changes since 1.111: +11 -1 lines
Diff to previous 1.111 (colored)

make some preliminary changes so that this compiles for UVM

Revision 1.111 / (download) - annotate - [select for diffs], Sun Mar 8 19:09:58 1998 UTC (15 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.110: +16 -10 lines
Diff to previous 1.110 (colored)

Do the "early breakpoint" (if booted with "-d") even if we
have only the PROM to handle it, so one can patch things.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Feb 19 04:18:34 1998 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Disable the message buffer during crash dumps by clearing msgbufenabled,
not msgbufmapped.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Feb 5 04:57:42 1998 UTC (15 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.108: +18 -12 lines
Diff to previous 1.108 (colored)

Merge arch/sun3x into arch/sun3

Revision 1.108 / (download) - annotate - [select for diffs], Sat Jan 24 16:46:47 1998 UTC (15 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.107: +7 -4 lines
Diff to previous 1.107 (colored)

When dumping, print out the device number as major,minor.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Dec 4 15:33:46 1997 UTC (15 years, 5 months ago) by tv
Branch: MAIN
CVS Tags: gwr-3x3-base
Branch point for: gwr-3x3
Changes since 1.106: +2 -10 lines
Diff to previous 1.106 (colored)

Standardize COMPAT_SUNOS -- remove all references to
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.

Revision 1.106 / (download) - annotate - [select for diffs], Tue Nov 25 22:38:41 1997 UTC (15 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.105: +25 -19 lines
Diff to previous 1.105 (colored)

The calculation of dumpsize was incorrect.  It is the size of
the raw memory part of the dump (not including the headers).

Revision 1.105 / (download) - annotate - [select for diffs], Thu Oct 30 01:02:53 1997 UTC (15 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.104: +5 -3 lines
Diff to previous 1.104 (colored)

Print out the real/avail memory like this:
real  mem = 8192K (0x800000)
avail mem = 6392K (0x63e000)

Revision 1.104 / (download) - annotate - [select for diffs], Fri Oct 17 01:43:33 1997 UTC (15 years, 7 months ago) by fair
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.103: +3 -2 lines
Diff to previous 1.103 (colored)

move sysctl.h include after vm.h to get at vmspace definition and correct compile error

Revision 1.103 / (download) - annotate - [select for diffs], Sun Oct 5 20:53:51 1997 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.102: +19 -12 lines
Diff to previous 1.102 (colored)

Do kernel core header initialization a little differently.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Oct 4 19:39:22 1997 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.101: +13 -7 lines
Diff to previous 1.101 (colored)

Move dumppage initialization from sun3_startup.c to machdep.c
(so it can be a normal kmem_alloc)

Revision 1.101 / (download) - annotate - [select for diffs], Thu Oct 2 01:15:04 1997 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

Make msgbuf stay in page zero

Revision 1.100 / (download) - annotate - [select for diffs], Fri Sep 19 13:55:37 1997 UTC (15 years, 8 months ago) by leo
Branch: MAIN
Changes since 1.99: +4 -5 lines
Diff to previous 1.99 (colored)

Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Sep 12 10:29:32 1997 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.98: +2 -3 lines
Diff to previous 1.98 (colored)

Set the status word as well, and remove a bogus comment.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Sep 12 07:00:47 1997 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.97: +16 -3 lines
Diff to previous 1.97 (colored)

Always initialize all registers in setregs().

Revision 1.97 / (download) - annotate - [select for diffs], Thu Sep 11 23:02:22 1997 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.96: +4 -5 lines
Diff to previous 1.96 (colored)

Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)

Revision 1.96 / (download) - annotate - [select for diffs], Tue Aug 12 16:52:12 1997 UTC (15 years, 9 months ago) by gwr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.95: +1 -2 lines
Diff to previous 1.95 (colored)

cosmetic

Revision 1.95 / (download) - annotate - [select for diffs], Tue Jul 29 06:43:56 1997 UTC (15 years, 9 months ago) by fair
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

%x -> 0x%x, fixes for PR#3757

Revision 1.94 / (download) - annotate - [select for diffs], Thu Jun 12 15:46:48 1997 UTC (15 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.93: +1 -2 lines
Diff to previous 1.93 (colored)

bring mrg-vm-swap2 onto mainilne.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Jun 8 23:54:33 1997 UTC (15 years, 11 months ago) by veego
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Initialize machine from MACHINE.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Apr 28 22:08:36 1997 UTC (16 years ago) by gwr
Branch: MAIN
CVS Tags: mrg-vm-swap2-base
Branch point for: mrg-vm-swap2
Changes since 1.91: +16 -14 lines
Diff to previous 1.91 (colored)

Do console initialization earlier (see obio_init).
Document initialization order dependencies.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Apr 9 20:49:06 1997 UTC (16 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.90: +12 -3 lines
Diff to previous 1.90 (colored)

Adjust for new m68k/kcore.h

Revision 1.90 / (download) - annotate - [select for diffs], Fri Apr 4 20:48:59 1997 UTC (16 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

Add a comment.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Mar 27 21:01:52 1997 UTC (16 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.88: +2 -6 lines
Diff to previous 1.88 (colored)

Don't allocate mclrefcnt[]; it's dead and gone.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Mar 26 22:43:07 1997 UTC (16 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.87: +5 -6 lines
Diff to previous 1.87 (colored)

Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/

Revision 1.87 / (download) - annotate - [select for diffs], Mon Mar 17 19:03:21 1997 UTC (16 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

s/fpu_type/fputype/g

Revision 1.86 / (download) - annotate - [select for diffs], Tue Feb 18 15:53:15 1997 UTC (16 years, 3 months ago) by gwr
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.85: +8 -19 lines
Diff to previous 1.85 (colored)

Moved straytrap() to trap.c (and minor cleanup)

Revision 1.85 / (download) - annotate - [select for diffs], Fri Feb 14 20:09:14 1997 UTC (16 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.84: +2 -98 lines
Diff to previous 1.84 (colored)

Moved regdump() and friends to sun3/regdump.c

Revision 1.84 / (download) - annotate - [select for diffs], Thu Feb 13 22:16:53 1997 UTC (16 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.83: +16 -327 lines
Diff to previous 1.83 (colored)

Moved sendsig() and sys_sigreturn() to sig_machdep.c
Rename some trapframe variables for consistency.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Feb 10 23:57:34 1997 UTC (16 years, 3 months ago) by gwr
Branch: MAIN
Branch point for: mrg-vm-swap
Changes since 1.82: +14 -15 lines
Diff to previous 1.82 (colored)

Change most occurrences of "struct frame" (union of all frames formats)
to "struct trapframe" (the minimal frame) because in most cases, all we
care about is the minimal, invariant part.  Further, if the declaration
says we have an arg of type "frame" (big union), then KGDB will try to
print the whole bloody thing out whether you want to see it or not.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Jan 27 21:59:52 1997 UTC (16 years, 3 months ago) by gwr
Branch: MAIN
CVS Tags: is-newarp-base
Branch point for: is-newarp
Changes since 1.81: +1 -3 lines
Diff to previous 1.81 (colored)

Nuke sunmon.h, add machdep.h

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jan 27 17:45:50 1997 UTC (16 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.80: +33 -10 lines
Diff to previous 1.80 (colored)

Use stuff from <sun3/sun3/sunmon.h>
Setup the msgbufp here like others.
Do vm_map_protect() on kernel text.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Jan 16 15:41:39 1997 UTC (16 years, 4 months ago) by gwr
Branch: MAIN
Changes since 1.79: +2 -3 lines
Diff to previous 1.79 (colored)

Use db_regs_t instead of struct mc68020_saved_state

Revision 1.79 / (download) - annotate - [select for diffs], Tue Dec 17 21:35:30 1996 UTC (16 years, 5 months ago) by gwr
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored)

Make sure the MDP_STACKADJ flag is cleared in p->p_md.md_flags
Do this in both machdep.c:setregs() and trap.c:(end of syscall)
for now.  Need more analysis to see what is the best way...
Fixes PR#3034 (Thanks very much to Ian Dall for the fix!)

Revision 1.78 / (download) - annotate - [select for diffs], Tue Dec 17 21:11:33 1996 UTC (16 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.77: +67 -76 lines
Diff to previous 1.77 (colored)

Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!)  Also get rid of __BROKEN_INDIRECT_CONFIG

Revision 1.77 / (download) - annotate - [select for diffs], Sun Oct 13 03:47:51 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.76: +43 -43 lines
Diff to previous 1.76 (colored)

backout previous kprintf change

Revision 1.76 / (download) - annotate - [select for diffs], Fri Oct 11 00:47:20 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.75: +43 -43 lines
Diff to previous 1.75 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.75 / (download) - annotate - [select for diffs], Fri Aug 9 10:31:32 1996 UTC (16 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.74: +2 -19 lines
Diff to previous 1.74 (colored)

Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jun 17 15:40:56 1996 UTC (16 years, 11 months ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.73: +10 -3 lines
Diff to previous 1.73 (colored)

KGDB support

Revision 1.73 / (download) - annotate - [select for diffs], Mon Jun 17 15:27:16 1996 UTC (16 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.72: +10 -5 lines
Diff to previous 1.72 (colored)

Correct return type of boot() and reboot2().

Revision 1.72 / (download) - annotate - [select for diffs], Sun May 5 06:02:23 1996 UTC (17 years ago) by gwr
Branch: MAIN
Changes since 1.71: +134 -17 lines
Diff to previous 1.71 (colored)

Kernel crash dumps now work on the sun3.  (Yea!)

Revision 1.71 / (download) - annotate - [select for diffs], Tue Mar 26 15:16:53 1996 UTC (17 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.70: +5 -2 lines
Diff to previous 1.70 (colored)

New autoconfig design that controls attach order.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Feb 20 22:05:34 1996 UTC (17 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.69: +9 -7 lines
Diff to previous 1.69 (colored)

use phys_map for DVMA like the sparc

Revision 1.69 / (download) - annotate - [select for diffs], Tue Feb 13 19:40:22 1996 UTC (17 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.68: +19 -8 lines
Diff to previous 1.68 (colored)

machdep.c

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 9 21:52:44 1996 UTC (17 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.67: +3 -5 lines
Diff to previous 1.67 (colored)

eliminate setjmp.h

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jan 4 22:22:54 1996 UTC (17 years, 4 months ago) by jtc
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Oct 7 06:26:13 1995 UTC (17 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Prefix names of system call implementation functions with `sys_'.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Sep 26 04:02:22 1995 UTC (17 years, 8 months ago) by gwr
Branch: MAIN
Changes since 1.64: +252 -252 lines
Diff to previous 1.64 (colored)

New DVMA interface, and various cleanup.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Sep 19 23:17:12 1995 UTC (17 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored)

Make system calls conform to a standard prototype and bring those
prototypes into scope.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Sep 1 20:06:22 1995 UTC (17 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

SA_ONSTACK --> SS_ONSTACK

Revision 1.62 / (download) - annotate - [select for diffs], Tue Aug 8 21:07:52 1995 UTC (17 years, 9 months ago) by gwr
Branch: MAIN
Changes since 1.61: +3 -2 lines
Diff to previous 1.61 (colored)

Fix signed/unsigned comparison in dumpconf().

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 27 14:42:34 1995 UTC (17 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.60: +18 -18 lines
Diff to previous 1.60 (colored)

Fix uses of btoc() which requires an unsigned arg.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 13 22:06:58 1995 UTC (17 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.59: +8 -8 lines
Diff to previous 1.59 (colored)

Fix warning about setjmp arg

Revision 1.59 / (download) - annotate - [select for diffs], Wed May 24 21:04:51 1995 UTC (18 years ago) by gwr
Branch: MAIN
Changes since 1.58: +94 -292 lines
Diff to previous 1.58 (colored)

Make this more like the other m68k ports.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Apr 26 23:25:26 1995 UTC (18 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.57: +6 -30 lines
Diff to previous 1.57 (colored)

Use vfs_shutdown()

Revision 1.57 / (download) - annotate - [select for diffs], Sat Apr 22 23:23:58 1995 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.56: +1 -9 lines
Diff to previous 1.56 (colored)

Remove sunos_machdep.c and fix sunos_reboot.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Apr 22 20:28:59 1995 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.55: +12 -260 lines
Diff to previous 1.55 (colored)

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Apr 13 22:05:41 1995 UTC (18 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.54: +16 -9 lines
Diff to previous 1.54 (colored)

prepare to enable the cache

Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 10 16:49:11 1995 UTC (18 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

kernel_pmap --> pmap_kernel()

Revision 1.53 / (download) - annotate - [select for diffs], Mon Apr 10 11:58:33 1995 UTC (18 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

vmempage -> vmmap

Revision 1.52 / (download) - annotate - [select for diffs], Sat Apr 8 04:43:44 1995 UTC (18 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.51: +12 -1 lines
Diff to previous 1.51 (colored)

Add some comments.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Apr 7 04:44:05 1995 UTC (18 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.50: +11 -3 lines
Diff to previous 1.50 (colored)

Allocate vmempage here (for use by /dev/mem).

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 26 19:38:25 1995 UTC (18 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.49: +6 -9 lines
Diff to previous 1.49 (colored)

Nuke FPCOPROC

Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 26 19:32:31 1995 UTC (18 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.48: +1 -12 lines
Diff to previous 1.48 (colored)

Enable interrupts before autoconfig.
The reasons to do it later no longer exist.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Mar 24 17:27:41 1995 UTC (18 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

Determine FPU type during autoconfig.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Mar 10 02:24:42 1995 UTC (18 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.46: +31 -12 lines
Diff to previous 1.46 (colored)

Fix sunos compat code in sigreturn (from Chuck Silvers)

Revision 1.46 / (download) - annotate - [select for diffs], Sat Feb 11 21:08:46 1995 UTC (18 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.45: +11 -10 lines
Diff to previous 1.45 (colored)

Cleanup related to sfc/dfc register use.  Make FPU code conditional
on run-time fpu_type value (in preparation for real FPU probe).

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 7 04:39:41 1995 UTC (18 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.44: +5 -4 lines
Diff to previous 1.44 (colored)

Add ddb commands:  machine {abort|halt|reboot}

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jan 24 06:18:16 1995 UTC (18 years, 4 months ago) by gwr
Branch: MAIN
Changes since 1.43: +13 -1 lines
Diff to previous 1.43 (colored)

move code to enable interrupts just a little later

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 20 05:35:13 1994 UTC (18 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.42: +42 -1 lines
Diff to previous 1.42 (colored)

Add peek_byte and peek_word using the "nofault" setjmp/longjmp
so it is no longer necessary to mis-use fubyte, etc.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Nov 23 06:46:25 1994 UTC (18 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.41: +7 -6 lines
Diff to previous 1.41 (colored)

sun_* -> sunos_*

Revision 1.41 / (download) - annotate - [select for diffs], Wed Nov 23 05:43:00 1994 UTC (18 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Update sendsig() to match new prototype.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Nov 21 21:38:48 1994 UTC (18 years, 6 months ago) by gwr
Branch: MAIN
CVS Tags: sun3-1-0-base
Changes since 1.39: +56 -34 lines
Diff to previous 1.39 (colored)

Lots of changes.  Fairly stable now.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 26 09:12:47 1994 UTC (18 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.38: +5 -4 lines
Diff to previous 1.38 (colored)

new RCS ID format.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Oct 20 05:10:08 1994 UTC (18 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.37: +14 -12 lines
Diff to previous 1.37 (colored)

update for new syscall args description mechanism

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 20 16:50:28 1994 UTC (18 years, 8 months ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.36: +223 -87 lines
Diff to previous 1.36 (colored)

Get boothowto flags from PROM flags; fix reboot.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 27 04:52:00 1994 UTC (18 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.35: +50 -3 lines
Diff to previous 1.35 (colored)

Add swapconf() to compute size of swap space, and
variables required by savecore.  No dumpsys() yet.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jul 13 18:04:46 1994 UTC (18 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.34: +3 -8 lines
Diff to previous 1.34 (colored)

Remove some stupidity pointed out by Adam.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 11 03:41:32 1994 UTC (18 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

miscellaneous cleanup

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 28 22:05:52 1994 UTC (18 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.32: +21 -14 lines
Diff to previous 1.32 (colored)

Make setsoft* use the real software interrupt register.
Integrate several fixes from the amiga port (and drop COMPAT_HPUX for now).
Add lots of debugging checks to pmap.c - still needs work.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 3 02:08:59 1994 UTC (18 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.31: +4 -5 lines
Diff to previous 1.31 (colored)

Make buffer_map and phys_map pageable for new VM code.
(Thanks to Harry Schreurs, Adam Glass)

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 1 15:39:28 1994 UTC (18 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.30: +1 -10 lines
Diff to previous 1.30 (colored)

Remove some temporary junk.

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 27 14:58:32 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.29: +59 -50 lines
Diff to previous 1.29 (colored)

Catch up with frame.h chages, merge stuff from new hp300 port.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 20 04:26:19 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.28: +5 -1 lines
Diff to previous 1.28 (colored)

Move boothowto hack into consinit so it happens early enough.

Revision 1.28 / (download) - annotate - [select for diffs], Tue May 10 05:26:16 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.27: +89 -12 lines
Diff to previous 1.27 (colored)

Add CTL_HW stuff, cpu_sysctl, replace ss_onstack...

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 9 00:47:21 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.26: +10 -2 lines
Diff to previous 1.26 (colored)

Add the hooks to make ddb work.

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 6 07:47:08 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.25: +26 -27 lines
Diff to previous 1.25 (colored)

Tracking 4.4 integration

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 5 01:11:29 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.24: +5 -6 lines
Diff to previous 1.24 (colored)

HPUXCOMPAT changed to COMPAT_HPUX

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 4 05:45:02 1994 UTC (19 years ago) by gwr
Branch: MAIN
Changes since 1.23: +14 -16 lines
Diff to previous 1.23 (colored)

Catch up with changes in the common vm code.
Change sun3_stop() calls to sun3_rom_xxx()

Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 17 06:31:26 1994 UTC (19 years, 1 month ago) by glass
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

compiles again. also cleanup of development printfs. and trap stuff

Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 1 08:23:10 1994 UTC (19 years, 2 months ago) by glass
Branch: MAIN
Changes since 1.21: +30 -30 lines
Diff to previous 1.21 (colored)

bugs fixed and cleanup

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 23 08:29:45 1994 UTC (19 years, 3 months ago) by glass
Branch: MAIN
Changes since 1.20: +12 -8 lines
Diff to previous 1.20 (colored)

boots, presents shell prompt, and doesn't crash immediately

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 4 08:21:02 1994 UTC (19 years, 3 months ago) by glass
Branch: MAIN
CVS Tags: sun3-current
Changes since 1.19: +17 -46 lines
Diff to previous 1.19 (colored)

sun3 port works under NetBSD-current now.  rcsids probably fucked

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 23 23:42:42 1994 UTC (19 years, 4 months ago) by glass
Branch: MAIN
CVS Tags: sun3-magnum
Changes since 1.18: +35 -0 lines
Diff to previous 1.18 (colored)

now supports cachectl().  totally untested.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 13 07:19:28 1994 UTC (19 years, 4 months ago) by glass
Branch: MAIN
Changes since 1.17: +0 -2 lines
Diff to previous 1.17 (colored)

exec_map is now used

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 8 18:36:54 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.16: +0 -45 lines
Diff to previous 1.16 (colored)

kill ptrace stuff; it's common to all m68k machines now

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 12 09:08:48 1993 UTC (19 years, 5 months ago) by glass
Branch: MAIN
CVS Tags: glass-home4
Changes since 1.15: +186 -5 lines
Diff to previous 1.15 (colored)

snapshot of my private sources

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 23 05:29:12 1993 UTC (19 years, 6 months ago) by glass
Branch: MAIN
Changes since 1.14: +190 -63 lines
Diff to previous 1.14 (colored)

Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary.  Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993  home tag: home2]

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 12 05:26:53 1993 UTC (19 years, 7 months ago) by glass
Branch: MAIN
Changes since 1.13: +10 -5 lines
Diff to previous 1.13 (colored)

sun3 port updated. netboot integrated.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 28 15:37:56 1993 UTC (19 years, 8 months ago) by glass
Branch: MAIN
CVS Tags: to_lamp_cvs, magnum-base
Changes since 1.12: +43 -0 lines
Diff to previous 1.12 (colored)

last snapshot before uploading.  we still have serious clock problems

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 22 21:26:45 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

gets past enablertclock(), now time to deal with the mountroot mess

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 21 02:17:43 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
CVS Tags: first_uplaod
Changes since 1.10: +26 -8 lines
Diff to previous 1.10 (colored)

snapshot. for uploading.  gets lost in swtch after enablertclock()

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 16 10:43:07 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

'clock' is now part of the standard config system instead of being done
early and in a hacked way.  the movement of startrtclock() to below 
cpu_startup() allows this.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 15 23:04:09 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.8: +7 -67 lines
Diff to previous 1.8 (colored)

runs up to and including configure().
todo: exceptions, interrupt support, make isrs affect vector table
kernel/user stacks

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 13 13:16:49 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.7: +144 -2 lines
Diff to previous 1.7 (colored)

snapshot.  ready to call configure(), partial integration of torek's config 
stuff, i.e it looks to do the right thing but we haven't written any code
yet :)

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 10 08:43:05 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.6: +5 -0 lines
Diff to previous 1.6 (colored)

fixed problem that caused two consecutive segments to be using the same
pmeg unknowingly.  still too many printfs, not sure how many are actualy
in the machine dependent code.  reaches cpu_startup() where it stops
deliberately. next project: autoconfig(), maybe kgdb

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 8 12:22:18 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.5: +46 -1 lines
Diff to previous 1.5 (colored)

lots of changes, too many printfs

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 5 23:10:14 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

gets to consinit() and blows up

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 3 22:38:00 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.3: +627 -6 lines
Diff to previous 1.3 (colored)

it links with out any unresolved symbols, last few are just stubs
because we aren't likely to get near execing init for a while

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 2 02:08:44 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.2: +3 -11 lines
Diff to previous 1.2 (colored)

cleanup, one time compile with -Wall, include systm.h
conversion to new asm.h, removal of ALTENTRY(), ENTRY() pairs replaced by
TWOENTRY().
moved idprom fetching stuff to sun3_startup
bug fixes to pmap
added to sun3_startup.c support for initializing the vm layout, and for
verifying the hardware vs the -Ds from config(8)
still doesn't link. but list is much shorter, and much stupider

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 30 17:06:16 1993 UTC (19 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.1: +10 -4 lines
Diff to previous 1.1 (colored)

snapshot.  working on vm bootstrapping problems, and resolution of undefined
symbols.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 29 17:36:41 1993 UTC (19 years, 10 months ago) by glass
Branch: MAIN

various updates: but hasn't been compiled

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>