The NetBSD Project

CVS log for src/sys/kern/subr_prf.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.143.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:28 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.143: +42 -38 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

sync with head

Revision 1.148.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:39 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.148: +6 -6 lines
Diff to previous 1.148 (colored) next main 1.149 (colored)

sync to latest -current.

Revision 1.149 / (download) - annotate - [select for diffs], Mon Mar 12 19:21:07 2012 UTC (2 months, 1 week ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, HEAD
Changes since 1.148: +6 -6 lines
Diff to previous 1.148 (colored)

Repeated typo/varargs anachronism in comments.

Revision 1.148 / (download) - annotate - [select for diffs], Thu Nov 24 01:45:39 2011 UTC (6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.147: +4 -6 lines
Diff to previous 1.147 (colored)

- fixed signed/unsigned comparison
- don't write/increment sbuf if NULL

Revision 1.147 / (download) - annotate - [select for diffs], Thu Nov 24 01:14:19 2011 UTC (6 months ago) by christos
Branch: MAIN
Changes since 1.146: +9 -9 lines
Diff to previous 1.146 (colored)

- don't let arguments in macros have side effects
- nul terminate properly

Revision 1.146 / (download) - annotate - [select for diffs], Tue Nov 22 21:25:04 2011 UTC (6 months ago) by christos
Branch: MAIN
Changes since 1.145: +4 -2 lines
Diff to previous 1.145 (colored)

Increment the source buffer when we overflow so that we don't get stuck in
an infinite loop.

Revision 1.145 / (download) - annotate - [select for diffs], Mon Nov 21 01:44:26 2011 UTC (6 months ago) by christos
Branch: MAIN
Changes since 1.144: +19 -11 lines
Diff to previous 1.144 (colored)

- use va_copy where needed
- always nul terminate vsnprintf()
- make snprintf() call vsnprintf()

Revision 1.144 / (download) - annotate - [select for diffs], Sun Nov 20 23:01:18 2011 UTC (6 months ago) by christos
Branch: MAIN
Changes since 1.143: +22 -26 lines
Diff to previous 1.143 (colored)

snprintf/vsnprintf can accept NULL/0 buffers and work properly as expected.
Before they used to return incorrect length on short buffers. Remove unused
error path.

Revision 1.143 / (download) - annotate - [select for diffs], Thu Sep 29 20:52:39 2011 UTC (7 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.142: +12 -6 lines
Diff to previous 1.142 (colored)

Add vpanic()

Revision 1.142 / (download) - annotate - [select for diffs], Thu Sep 8 18:15:56 2011 UTC (8 months, 2 weeks ago) by jym
Branch: MAIN
Changes since 1.141: +16 -7 lines
Diff to previous 1.141 (colored)

Use a scratch space in panic(9) so we can store a more meaningful
message for panicstr instead of just the format string.

Keep setting the panicstr to fmt beforehand though for safety precaution.

ok joerg@.

Revision 1.141 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:52 2011 UTC (10 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.140: +2 -10 lines
Diff to previous 1.140 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.138.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:35 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.138: +14 -3 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

Sync with HEAD.

Revision 1.138.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:05:02 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.138.4.1: +0 -1 lines
Diff to previous 1.138.4.1 (colored) to branchpoint 1.138 (colored) next main 1.139 (colored)

sync with head

Revision 1.140 / (download) - annotate - [select for diffs], Sun Apr 24 18:46:22 2011 UTC (13 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.139: +2 -3 lines
Diff to previous 1.139 (colored)

- Replace few malloc(9) uses with kmem(9).
- Rename buf_malloc() to buf_alloc(), fix comments.
- Remove some unnecessary inclusions.

Revision 1.138.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:19 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.138: +14 -2 lines
Diff to previous 1.138 (colored)

sync with head

Revision 1.138.8.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:59 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.138: +14 -2 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

Sync with HEAD

Revision 1.139 / (download) - annotate - [select for diffs], Fri Jan 21 17:46:19 2011 UTC (16 months ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.138: +14 -2 lines
Diff to previous 1.138 (colored)

Move device_printf() from ath_netbsd.c to subr_prf.c for reuse in a new
driver.

Revision 1.120.2.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:18 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120.2.4: +12 -6 lines
Diff to previous 1.120.2.4 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)

sync with head

Revision 1.138 / (download) - annotate - [select for diffs], Tue Jan 26 12:59:50 2010 UTC (2 years, 3 months ago) by he
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.137: +9 -6 lines
Diff to previous 1.137 (colored)

On a recursive panic(), don't try to take a dump, as that may very
well have triggered the recursive panic.
Fix the comment for panic() to reflect now-current reality: the code
was already changed never to sync() on panic(), now we avoid dumping
core on a recursive panic.

Revision 1.137 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:28 2009 UTC (2 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.136: +5 -2 lines
Diff to previous 1.136 (colored)

Add a kernel configuration flag, SPLDEBUG, that activates a per-CPU log
of transitions to IPL_HIGH from lower IPLs.  SPLDEBUG is only available
on i386 and Xen kernels, today.

'options SPLDEBUG' adds instrumentation to spllower() and splraise() as
well as routines to start/stop debugging and to record IPL transitions:
spldebug_start(), spldebug_stop(), spldebug_raise(), spldebug_lower().

Revision 1.130.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.130.2.1: +6 -4 lines
Diff to previous 1.130.2.1 (colored) to branchpoint 1.130 (colored) next main 1.131 (colored)

Sync with HEAD.

Revision 1.120.2.4 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:23 2009 UTC (2 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120.2.3: +6 -4 lines
Diff to previous 1.120.2.3 (colored) to branchpoint 1.120 (colored)

sync with head.

Revision 1.136 / (download) - annotate - [select for diffs], Sun Jun 28 15:30:30 2009 UTC (2 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.135: +6 -6 lines
Diff to previous 1.135 (colored)

panic: use MI cpu_index(), instead of cpu_number(), which could be sparse.

Revision 1.135 / (download) - annotate - [select for diffs], Sat Jun 20 11:10:40 2009 UTC (2 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.134: +6 -4 lines
Diff to previous 1.134 (colored)

Return type of cpu_number(9) is cpuid_t which is effectively unsigned long.
So cast return type to unsigned long.
Fixes build for alpha GENERIC kernel.

Revision 1.120.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120.2.2: +4 -4 lines
Diff to previous 1.120.2.2 (colored) to branchpoint 1.120 (colored)

sync with head

Revision 1.134 / (download) - annotate - [select for diffs], Thu Jun 18 06:26:58 2009 UTC (2 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.133: +4 -4 lines
Diff to previous 1.133 (colored)

when printing a ddb stack trace when entering ddb, include the cpu number

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.130: +31 -29 lines
Diff to previous 1.130 (colored)

Sync with HEAD.

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

Revision 1.120.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120.2.1: +129 -76 lines
Diff to previous 1.120.2.1 (colored) to branchpoint 1.120 (colored)

sync with head.

Revision 1.124.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.124.2.2: +31 -29 lines
Diff to previous 1.124.2.2 (colored) to branchpoint 1.124 (colored) next main 1.125 (colored)

Sync with HEAD.

Revision 1.133 / (download) - annotate - [select for diffs], Sat Apr 25 15:06:32 2009 UTC (3 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.132: +5 -5 lines
Diff to previous 1.132 (colored)

- Rearrange pg_delete() and pg_remove() (renamed pg_free), thus
  proc_enterpgrp() with proc_leavepgrp() to free process group and/or
  session without proc_lock held.
- Rename SESSHOLD() and SESSRELE() to  to proc_sesshold() and
  proc_sessrele().  The later releases proc_lock now.

Quick OK by <ad>.

Revision 1.132 / (download) - annotate - [select for diffs], Sun Mar 15 17:14:40 2009 UTC (3 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.131: +5 -5 lines
Diff to previous 1.131 (colored)

ansify function definitions

Revision 1.131 / (download) - annotate - [select for diffs], Tue Mar 10 10:48:09 2009 UTC (3 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.130: +25 -23 lines
Diff to previous 1.130 (colored)

Make curlwp accesses conditional on wether the data structures
have been initialized. Fixes PR kern/38599.

Revision 1.124.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.124.2.1: +3 -3 lines
Diff to previous 1.124.2.1 (colored) to branchpoint 1.124 (colored)

Sync with HEAD.

Revision 1.124.4.1 / (download) - annotate - [select for diffs], Mon Feb 2 19:47:47 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.124: +3 -5 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Pull up following revision(s) (requested by ad in ticket #365):
	sys/kern/subr_prf.c: revision 1.125
Don't try to sync if panicing:
- It doesn't work and a dead system that can't be reset from the console is
  worse than a system that has painced and rebooted. If you can make it work
  reliably please do so.
- If the system is paniced there is every reason to suspect VM structures
  and the contents of the buffer cache.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Jan 30 21:16:51 2009 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

Quote PR number in XXX comment.  No functional change.

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.124: +94 -54 lines
Diff to previous 1.124 (colored)

Sync with HEAD.

Revision 1.116.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.116.6.2: +92 -52 lines
Diff to previous 1.116.6.2 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

Sync with HEAD.

Revision 1.129 / (download) - annotate - [select for diffs], Fri Jan 2 22:03:00 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.128: +4 -2 lines
Diff to previous 1.128 (colored)

My clever hack was not enough.  Disable DELAY via ifndef _RUMPKERN in
subr_prf until I manage to get all archs in line with a proper MI
signature.

Revision 1.128 / (download) - annotate - [select for diffs], Fri Jan 2 11:08:32 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.127: +3 -2 lines
Diff to previous 1.127 (colored)

We use CPU_INFO_FOREACH here -> include sys/cpu.h

Revision 1.127 / (download) - annotate - [select for diffs], Fri Jan 2 02:54:13 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.126: +18 -2 lines
Diff to previous 1.126 (colored)

Include kernel printf routines in rump instead of relying on the
magic libc symbol.  This also allows to bid farewell to subr_prf2.c
and merge the contents back to subr_prf.c.  The host kernel bridging
is now done via rumpuser_putchar().

Revision 1.126 / (download) - annotate - [select for diffs], Thu Jan 1 15:10:20 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.125: +75 -52 lines
Diff to previous 1.125 (colored)

* unexpose kprintf locking internals
* migrate from simplelock to kmutex

Don't bother to bump kernel version, since nothing outside of subr_prf
used KPRINTF_MUTEX_ENXIT()

Revision 1.125 / (download) - annotate - [select for diffs], Sun Dec 21 10:23:10 2008 UTC (3 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.124: +3 -5 lines
Diff to previous 1.124 (colored)

Don't try to sync if panicing:

- It doesn't work and a dead system that can't be reset from the console is
  worse than a system that has painced and rebooted. If you can make it work
  reliably please do so.

- If the system is paniced there is every reason to suspect VM structures
  and the contents of the buffer cache.

Revision 1.123.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.123: +2 -5 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Sync with HEAD.

Revision 1.120.4.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:34:14 2008 UTC (3 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.120.4.1: +2 -5 lines
Diff to previous 1.120.4.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)

Sync with HEAD.

Revision 1.116.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:53 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.116.6.1: +0 -3 lines
Diff to previous 1.116.6.1 (colored) to branchpoint 1.116 (colored)

Sync with HEAD.

Revision 1.124 / (download) - annotate - [select for diffs], Tue Sep 23 22:20:24 2008 UTC (3 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.123: +2 -5 lines
Diff to previous 1.123 (colored)

Move [hH][eE][xX][dD][iI][gG][iI][tT][sS](*) from subr_prf to subr_prf2
for use with rumps.

*) yes, I just had to.  Notably though, there were only two
   symbols instead of 128.

Revision 1.123.2.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:52:15 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.123.2.1: +2 -11 lines
Diff to previous 1.123.2.1 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

Revert local changes that were not meant to be in previous "sync with
head" commit.

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:39 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.123: +11 -2 lines
Diff to previous 1.123 (colored)

Sync with head.

Revision 1.120.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:51 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.120: +17 -4 lines
Diff to previous 1.120 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.118.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:39 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.118.2.1: +17 -3 lines
Diff to previous 1.118.2.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

sync with head

Revision 1.116.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:11 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.116: +29 -13 lines
Diff to previous 1.116 (colored)

Sync with HEAD.

Revision 1.123 / (download) - annotate - [select for diffs], Sat May 31 20:27:24 2008 UTC (3 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: simonb-wapbl, haad-dm
Changes since 1.122: +17 -2 lines
Diff to previous 1.122 (colored)

Add printf_tolog(), which writes to the kernel message buffer,
only.  I believe this is the safest way to log serious conditions
indicated by NMI.

Revision 1.122 / (download) - annotate - [select for diffs], Mon May 19 17:06:02 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: hpcarm-cleanup-nbase
Changes since 1.121: +2 -3 lines
Diff to previous 1.121 (colored)

Reduce ifdefs due to MULTIPROCESSOR slightly.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:09 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.118: +11 -12 lines
Diff to previous 1.118 (colored)

sync with head.

Revision 1.120.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120: +2 -3 lines
Diff to previous 1.120 (colored)

sync with head.

Revision 1.121 / (download) - annotate - [select for diffs], Tue May 13 11:54:45 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2
Changes since 1.120: +2 -3 lines
Diff to previous 1.120 (colored)

In panic, we busy wait if another CPU is already panicking. Don't spl0(),
because we could recurse and run off the end of the stack. Pointed out by
chs@.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Apr 27 11:37:48 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

- Rename crit_enter/crit_exit to kpreempt_disable/kpreempt_enable.
  DragonflyBSD uses the crit names for something quite different.
- Add a kpreempt_disabled function for diagnostic assertions.
- Add inline versions of kpreempt_enable/kpreempt_disable for primitives.
- Make some more changes for preemption safety to the x86 pmap.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:29 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.118: +10 -10 lines
Diff to previous 1.118 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.118 / (download) - annotate - [select for diffs], Thu Apr 17 14:07:31 2008 UTC (4 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.117: +8 -5 lines
Diff to previous 1.117 (colored)

acquire proclist_lock for SESSHOLD/SESSRELE.

Revision 1.117 / (download) - annotate - [select for diffs], Sat Apr 12 17:16:09 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

Move the LW_BOUND flag into the thread-private flag word. It can be tested
by other threads/CPUs but that is only done when the LWP is known to be in a
quiescent state (for example, on a run queue).

Revision 1.107.6.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:00 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.107.6.3: +33 -3 lines
Diff to previous 1.107.6.3 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

sync with HEAD

Revision 1.99.2.8 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:56 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.7: +33 -3 lines
Diff to previous 1.99.2.7 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

sync with head.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Feb 19 07:46:51 2008 UTC (4 years, 3 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored)

Always include <sys/cpu.h>, to pick up CPU_INFO_ITERATOR et al.

Revision 1.110.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.110.2.1: +32 -18 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

Sync with HEAD.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Feb 18 14:46:58 2008 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.114: +32 -2 lines
Diff to previous 1.114 (colored)

panic: allow only one CPU to panic. Try to make the panicing thread bound
and try take all CPUs offline, in case we can block at some point in the
future.

Revision 1.99.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:21 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.6: +2 -18 lines
Diff to previous 1.99.2.6 (colored) to branchpoint 1.99 (colored)

sync with head

Revision 1.107.6.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:18 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.107.6.2: +2 -18 lines
Diff to previous 1.107.6.2 (colored) to branchpoint 1.107 (colored)

sync with HEAD

Revision 1.111.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:41 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.111.6.1: +0 -3 lines
Diff to previous 1.111.6.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Sync with HEAD

Revision 1.114 / (download) - annotate - [select for diffs], Fri Jan 4 21:18:13 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.113: +2 -3 lines
Diff to previous 1.113 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jan 4 18:21:06 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.112: +2 -4 lines
Diff to previous 1.112 (colored)

- Always include kprintf_slock.
- sys/lock.h -> sys/simplelock.h

Revision 1.111.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:10 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.111: +2 -15 lines
Diff to previous 1.111 (colored)

Sync with HEAD

Revision 1.112 / (download) - annotate - [select for diffs], Sun Dec 30 22:55:21 2007 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.111: +2 -15 lines
Diff to previous 1.111 (colored)

tablefull: subr_prf -> subr_prf2

Revision 1.111.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 17:55:06 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.111.2.1: +3 -7 lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Back out the dumppcb changes for the time being.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Wed Dec 12 22:05:40 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.111: +7 -3 lines
Diff to previous 1.111 (colored)

- Dump basic trap and register info before entering the debugger, in
  case ddb screws the machine up further.
- Fill dumppcb asap so that gdb has less chance to get confused.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:51 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.110: +4 -27 lines
Diff to previous 1.110 (colored)

Sync with HEAD.

Revision 1.99.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:50 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.5: +4 -27 lines
Diff to previous 1.99.2.5 (colored) to branchpoint 1.99 (colored)

sync with head.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:22 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.109.2.1: +2 -25 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

Sync with HEAD

Revision 1.107.4.3 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:09 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.107.4.2: +4 -27 lines
Diff to previous 1.107.4.2 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Sync with HEAD.

Revision 1.107.6.2 / (download) - annotate - [select for diffs], Thu Nov 8 11:00:05 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.107.6.1: +4 -27 lines
Diff to previous 1.107.6.1 (colored) to branchpoint 1.107 (colored)

sync with -HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Wed Nov 7 00:19:08 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.110: +4 -27 lines
Diff to previous 1.110 (colored)

Merge from vmlocking.

Revision 1.107.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:17 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.107: +194 -34 lines
Diff to previous 1.107 (colored)

sync with HEAD

Revision 1.105.4.5 / (download) - annotate - [select for diffs], Sun Oct 28 15:47:15 2007 UTC (4 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.105.4.4: +4 -27 lines
Diff to previous 1.105.4.4 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

/dev/klog:

- Put locking around it since it's used by printf().
- Mark it MPSAFE.

Revision 1.99.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:34 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.4: +194 -34 lines
Diff to previous 1.99.2.4 (colored) to branchpoint 1.99 (colored)

sync with head.

Revision 1.107.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:40 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.107.4.1: +3 -3 lines
Diff to previous 1.107.4.1 (colored) to branchpoint 1.107 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:40:02 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Sync with HEAD.

Revision 1.105.4.4 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:13 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.105.4.3: +3 -3 lines
Diff to previous 1.105.4.3 (colored) to branchpoint 1.105 (colored)

Sync with head.

Revision 1.110 / (download) - annotate - [select for diffs], Fri Oct 19 12:16:43 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.105.4.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:29 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.105.4.2: +193 -33 lines
Diff to previous 1.105.4.2 (colored) to branchpoint 1.105 (colored)

Sync with head.

Revision 1.107.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:28:45 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.107: +193 -33 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

sync with head.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:03 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.107: +193 -33 lines
Diff to previous 1.107 (colored)

Sync with HEAD.

Revision 1.109 / (download) - annotate - [select for diffs], Wed Sep 26 07:40:36 2007 UTC (4 years, 8 months ago) by he
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 (colored)

Add an explicit include of <sys/device.h> to make sparc64 and sun2
build.  Needed for device_xname() and device_t, use added by previous
change.

Revision 1.108 / (download) - annotate - [select for diffs], Mon Sep 24 20:01:03 2007 UTC (4 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.107: +192 -33 lines
Diff to previous 1.107 (colored)

Extend the aprint family with _dev and _ifnet versions that take
a device_t or struct ifnet * as first argument and prefix the log
message with the corresponding device/interface name.

Revision 1.99.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:04 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.3: +2 -143 lines
Diff to previous 1.99.2.3 (colored) to branchpoint 1.99 (colored)

sync with head.

Revision 1.105.4.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:38 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.105.4.1: +2 -147 lines
Diff to previous 1.105.4.1 (colored) to branchpoint 1.105 (colored)

Sync with HEAD.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:13 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.106: +2 -147 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Sync with HEAD.

Revision 1.107.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 09:38:02 2007 UTC (4 years, 9 months ago) by pooka
Branch: matt-mips64
Changes since 1.107.10.1: +1300 -0 lines
Diff to previous 1.107.10.1 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Move bitmask_snprintf() from subr_prf.c to subr_prf_bitmask.c to permit
standalone compilation.  No functional change.

Revision 1.107.10.1, Sun Jul 29 09:38:01 2007 UTC (4 years, 9 months ago) by pooka
Branch: matt-mips64
Changes since 1.107: +0 -1300 lines
FILE REMOVED

file subr_prf.c was added on branch matt-mips64 on 2007-07-29 09:38:02 +0000

Revision 1.107 / (download) - annotate - [select for diffs], Sun Jul 29 09:38:01 2007 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.106: +2 -147 lines
Diff to previous 1.106 (colored)

Move bitmask_snprintf() from subr_prf.c to subr_prf_bitmask.c to permit
standalone compilation.  No functional change.

Revision 1.105.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:06 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.105: +6 -2 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

Sync with head.

Revision 1.105.4.1 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:24 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.105: +6 -2 lines
Diff to previous 1.105 (colored)

Sync with head.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:47 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.104.2.1: +6 -2 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

sync with head.

Revision 1.106 / (download) - annotate - [select for diffs], Sat Apr 28 13:11:53 2007 UTC (5 years ago) by isaki
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.105: +6 -2 lines
Diff to previous 1.105 (colored)

Fix format of the combination of 'F\B\L' and ':\V' in
bitmask_snprintf(9).

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:28 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

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

Revision 1.99.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:15 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.2: +33 -7 lines
Diff to previous 1.99.2.2 (colored) to branchpoint 1.99 (colored)

sync with head.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Feb 22 06:34:45 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

TRUE -> true, FALSE -> false

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

Merge newlock2 to head.

Revision 1.103.2.3 / (download) - annotate - [select for diffs], Sat Jan 20 00:19:01 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.103.2.2: +8 -8 lines
Diff to previous 1.103.2.2 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored)

Don't take the proclist_mutex for now; wait until tty locking is worked out.

Revision 1.99.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:06 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99.2.1: +3 -3 lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored)

sync with head.

Revision 1.103.2.2 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:44 2006 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.103.2.1: +28 -8 lines
Diff to previous 1.103.2.1 (colored) to branchpoint 1.103 (colored)

Checkpoint work in progress.

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:37 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.103: +10 -4 lines
Diff to previous 1.103 (colored)

Checkpoint work in progress.

Revision 1.102.6.1 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:48 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

sync with head.

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

sync with head

Revision 1.103 / (download) - annotate - [select for diffs], Sun Sep 3 17:06:36 2006 UTC (5 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, 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: newlock2
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Fix %X in kernel printf, from Arnaud Degroote in PR kern/34459.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.99: +9 -7 lines
Diff to previous 1.99 (colored)

sync with head.

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:20 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.100: +9 -7 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Jan 28 14:37:31 2006 UTC (6 years, 3 months ago) by darrenr
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, 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-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

if db_onpanic is -1, do not invoke any ddb functions at all when handling
a panic.  This allows ddb's behaviour on a panic to be controlled via
sysctl rather than just compiling it in/out.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jan 28 07:23:37 2006 UTC (6 years, 3 months ago) by darrenr
Branch: MAIN
Changes since 1.100: +8 -6 lines
Diff to previous 1.100 (colored)

Introduce a new style of behaviour for ddb_onpanic == 2.
When set to 0 or 1, behaviour is normal (today)
When set to 2, kernel will display a stack trace and then enter ddb.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

merge ktrace-lwp.

Revision 1.92.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.92.2.5: +51 -76 lines
Diff to previous 1.92.2.5 (colored) next main 1.93 (colored)

Sync with HEAD. Here we go again...

Revision 1.99 / (download) - annotate - [select for diffs], Thu Jun 23 18:46:17 2005 UTC (6 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.98: +15 -46 lines
Diff to previous 1.98 (colored)

Use ANSI function decls.

Revision 1.98 / (download) - annotate - [select for diffs], Sun May 29 22:24:15 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.97: +37 -34 lines
Diff to previous 1.97 (colored)

- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.

Revision 1.97 / (download) - annotate - [select for diffs], Tue May 17 04:14:58 2005 UTC (7 years ago) by christos
Branch: MAIN
Changes since 1.96: +9 -6 lines
Diff to previous 1.96 (colored)

Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.95: +12 -12 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with -current

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.95: +12 -12 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

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

Revision 1.92.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:00 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.92.2.4: +12 -12 lines
Diff to previous 1.92.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.96 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.95: +12 -12 lines
Diff to previous 1.95 (colored)

nuke trailing whitespace

Revision 1.92.2.4 / (download) - annotate - [select for diffs], Tue Oct 19 15:58:06 2004 UTC (7 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.92.2.3: +10 -2 lines
Diff to previous 1.92.2.3 (colored)

Sync with HEAD

Revision 1.95 / (download) - annotate - [select for diffs], Wed Sep 29 23:54:11 2004 UTC (7 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.94: +10 -2 lines
Diff to previous 1.94 (colored)

Implement ddb setting that allows all ddb output to be teed into the
kernel message buffer/log. Its off by default and can be switched on in the
kernel configuration on build time, be set as a variable in ddb and be set
using sysctl.

This adds the sysctl value
	ddb.tee_msgbuf = 0
by default.

The functionality is especially added and aimed for developers who are not
blessed with a serial console and wish to keep all their ddb output in the
log. Specifying /l as a modifier to some selected commands will also put
the output in the log but not all commands provide one nor has the same
meaning for all commands.

This feature could in the future also be implemented as an ddb command but
that could lead to more bloat allthough maybe easier for non developpers to
use when mailing their backtraces from kernel crashes.

Revision 1.92.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:12 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.92.2.2: +2 -2 lines
Diff to previous 1.92.2.2 (colored)

Fix the sync with head I botched.

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.92.2.1: +0 -0 lines
Diff to previous 1.92.2.1 (colored)

Sync with HEAD.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:55 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.92: +6 -10 lines
Diff to previous 1.92 (colored)

Sync with HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 23 13:22:04 2004 UTC (8 years, 2 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.93: +5 -5 lines
Diff to previous 1.93 (colored)

Nuke __P().

Revision 1.93 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:53 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.92: +3 -7 lines
Diff to previous 1.92 (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.92 / (download) - annotate - [select for diffs], Thu Mar 6 00:39:42 2003 UTC (9 years, 2 months ago) by matt
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored)

Make sure to flush each line after printf.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Feb 17 22:21:52 2003 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.90: +4 -105 lines
Diff to previous 1.90 (colored)

- remove __STDC__ crap. It did not work anyway with pre-ansi compilers, since
  va_start() takes one arg, and va_alist must be the only argument of a
  varyadic in the K&R world.
- pass flags to tputchar.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Feb 10 00:35:16 2003 UTC (9 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.89: +11 -3 lines
Diff to previous 1.89 (colored)

Add a kern.dump_on_panic sysctl variable (and documentation, and a
kernel config option) that controls whether the kernel dumps to the
dump device on panic.  Dumps can still be forced via the ``sync''
command from ddb.  Defaults to ``on''.

Revision 1.76.2.12 / (download) - annotate - [select for diffs], Fri Jan 3 17:10:40 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.76.2.11: +224 -34 lines
Diff to previous 1.76.2.11 (colored) next main 1.77 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Dec 31 23:45:36 2002 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.88: +99 -2 lines
Diff to previous 1.88 (colored)

Add aprint_error(), which is like aprint_normal(), but also records
the number of times it is called.  This allows subsystems to report
the number of errors that occurred during a quiet/silent subsystem
startup.  aprint_get_error_count() reports this count and resets it
to 0.

Also add printf_nolog(), which is like printf(), but prevents the
output from hitting the system log.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Dec 31 17:48:03 2002 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.87: +124 -2 lines
Diff to previous 1.87 (colored)

Add the following message printing routines, designed for printing
autoconfiguration messages:

aprint_normal: Send to console unless AB_QUIET.  Always goes to the log.
aprint_naive: Send to console only if AB_QUIET.  Never goes to the log.
aprint_verbose: Send to console only if AB_VERBOSE.  Always goes to the log.
aprint_debug: Send to console and log only if AB_DEBUG.

API inspired by the same routines in BSD/OS.

Will be used to address kern/5155.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Dec 31 16:53:27 2002 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +5 -34 lines
Diff to previous 1.86 (colored)

Partially expose some of the kernel printf internals in the new
<sys/kprintf.h> header file.  This allows subsystems that need
printf semantics other than what are provided by the standard
kernel printf routines to implement exactly what they want.

Revision 1.76.2.11 / (download) - annotate - [select for diffs], Mon Nov 11 22:13:59 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.10: +4 -4 lines
Diff to previous 1.76.2.10 (colored)

Catch up to -current

Revision 1.86 / (download) - annotate - [select for diffs], Sat Nov 2 07:25:22 2002 UTC (9 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.85: +6 -6 lines
Diff to previous 1.85 (colored)

/*CONTCOND*/ while (0)'ed macros

Revision 1.80.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:06 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.80.2.3: +3 -3 lines
Diff to previous 1.80.2.3 (colored) next main 1.81 (colored)

sync kqueue branch with HEAD

Revision 1.83.8.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:11 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.83.8.1: +3 -3 lines
Diff to previous 1.83.8.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

catch up with -current.

Revision 1.76.2.10 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:31 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.9: +3 -3 lines
Diff to previous 1.76.2.9 (colored)

Catch up to -current.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Aug 26 11:34:27 2002 UTC (9 years, 9 months ago) by scw
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Casting from a pointer, to a db_expr_t, has to go via an intptr_t.
(db_expr_t == int64_t on sh5, for example).

Revision 1.76.2.9 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:20 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.8: +2 -3 lines
Diff to previous 1.76.2.8 (colored)

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

Revision 1.76.2.8 / (download) - annotate - [select for diffs], Mon Jun 24 22:10:58 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.7: +3 -3 lines
Diff to previous 1.76.2.7 (colored)

Curproc->curlwp renaming.

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

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

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:34 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.80.2.2: +12 -2 lines
Diff to previous 1.80.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.83.8.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:02:21 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.83: +12 -2 lines
Diff to previous 1.83 (colored)

catch up with -current.

Revision 1.76.2.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:47:21 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.6: +12 -2 lines
Diff to previous 1.76.2.6 (colored)

Catch up to -current.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jun 5 17:53:52 2002 UTC (9 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.83: +12 -2 lines
Diff to previous 1.83 (colored)

provide a db_vprintf() which is exactly what the name suggests

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:02 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.80.2.1: +7 -3 lines
Diff to previous 1.80.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.76.2.6 / (download) - annotate - [select for diffs], Tue Jan 8 00:32:38 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.5: +5 -4 lines
Diff to previous 1.76.2.5 (colored)

Catch up to -current.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Nov 21 00:55:39 2001 UTC (10 years, 6 months ago) by enami
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.82: +5 -4 lines
Diff to previous 1.82 (colored)

Protect multi statement macro with do {} while (0).  This is not cosmetic.

Revision 1.76.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:40 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.4: +4 -1 lines
Diff to previous 1.76.2.4 (colored)

Catch up to -current.

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:52 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.81: +4 -1 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

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

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:21 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.81: +4 -1 lines
Diff to previous 1.81 (colored)

add RCSIDs

Revision 1.76.2.4 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:36 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.3: +3 -3 lines
Diff to previous 1.76.2.3 (colored)

Catch up with -current.

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

update to -current

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jul 10 20:40:56 2001 UTC (10 years, 10 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Check msgbufenabled before referencing msgbufp in panic. Avoids
a NULL ptr reference if there is an early panic (i.e. before
initmsgbuf() was called).

Revision 1.76.2.3 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:00 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.2: +40 -6 lines
Diff to previous 1.76.2.2 (colored)

Catch up to -current.

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

add missing   #include "opt_kgdb.h"

Revision 1.79 / (download) - annotate - [select for diffs], Sun May 6 13:23:42 2001 UTC (11 years ago) by simonb
Branch: MAIN
Changes since 1.78: +9 -1 lines
Diff to previous 1.78 (colored)

Save the start and end positions in the message buffer of the formatted
panic string.

Suggested by Jason Thorpe eons ago.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Apr 30 21:29:45 2001 UTC (11 years ago) by kleink
Branch: MAIN
Changes since 1.77: +31 -6 lines
Diff to previous 1.77 (colored)

Add %j, %t and %z modifiers.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:55 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.2.1: +2 -2 lines
Diff to previous 1.76.2.1 (colored)

Catch up with -current.

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:37 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.64.2.1: +2 -2 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 9 13:35:50 2001 UTC (11 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Declare constty extern.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:44 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:08 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.64: +56 -193 lines
Diff to previous 1.64 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.76 / (download) - annotate - [select for diffs], Wed Aug 9 10:22:31 2000 UTC (11 years, 9 months ago) by tv
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.75: +10 -155 lines
Diff to previous 1.75 (colored)

Strip %b and DDB formats out of kprintf, as they are no longer supported.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Tue Jul 4 16:05:34 2000 UTC (11 years, 10 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: 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
Changes since 1.74: +7 -4 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Pullup from trunk [approved by thorpej]:

change tablefull() to accept one more parameter - optional hint

use that to inform about way to raise current limit when we reach maximum
number of processes, descriptors or vnodes

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jul 4 15:33:31 2000 UTC (11 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.74: +7 -4 lines
Diff to previous 1.74 (colored)

change tablefull() to accept one more parameter - optional hint

use that to inform about way to raise current limit when we reach maximum
number of processes, descriptors or vnodes

XXX hopefully I catched all users of tablefull()

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:17 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.72: +18 -8 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Jun 10 18:44:44 2000 UTC (11 years, 11 months ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.73: +6 -4 lines
Diff to previous 1.73 (colored)

Fix assorted bugs around shutdown/reboot/panic time.
 - add a new global variable, doing_shutdown, which is nonzero if
vfs_shutdown() or panic() have been called.
- in panic, set RB_NOSYNC if doing_shutdown is already set on entry
so we don't reenter vfs_shutdown if we panic'ed there.
 - in vfs_shutdown, don't use proc0's process for sys_sync unless
curproc is NULL.
 - in lockmgr, attribute successful locks to proc0 if doing_shutdown
&& curproc==NULL, and  panic if we can't get the lock right away; avoids the
spurious lockmgr DIAGNOSTIC panic from the ddb reboot command.
 - in subr_pool, deal with curproc==NULL in the doing_shutdown case.
 - in mfs_strategy, bitbucket writes if doing_shutdown, so we don't
wedge waiting for the mfs process.
 - in ltsleep, treat ((curproc == NULL) && doing_shutdown) like the
panicstr case.

Appears to fix: kern/9239, kern/10187, kern/9367.
May also fix kern/10122.

Revision 1.73 / (download) - annotate - [select for diffs], Mon May 29 23:10:03 2000 UTC (11 years, 11 months ago) by jhawk
Branch: MAIN
Changes since 1.72: +13 -5 lines
Diff to previous 1.72 (colored)

Ensure that a fault inside the traceback printing code
(i.e. db_stack_trace_print()) does not cause an infinite loop of
faults.

Revision 1.72 / (download) - annotate - [select for diffs], Fri May 26 20:25:57 2000 UTC (12 years ago) by jhawk
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.71: +10 -1 lines
Diff to previous 1.71 (colored)

If db_onpanic is unset and DDB is compiled in, panic() now calls
db_stack_trace_print(__builtin_frame_address(0),...), to printf() the
stack trace to the message bufffer and console. Idea from SunOS/Solaris.
Useful when dumping fails.

Revision 1.71 / (download) - annotate - [select for diffs], Thu May 25 21:32:41 2000 UTC (12 years ago) by jhawk
Branch: MAIN
Changes since 1.70: +1 -10 lines
Diff to previous 1.70 (colored)

Support ddb-specific nonstandard printf formats %r and %z in kprintf(),
even when not called with (flags&TODDB != 0), such that ddb print routines
can use them when printing elsewhere, such as to the message buffer.

Revision 1.70 / (download) - annotate - [select for diffs], Tue May 2 09:29:39 2000 UTC (12 years ago) by pk
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Lock internals have changed, and we depend on those in here.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:13 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.68: +6 -6 lines
Diff to previous 1.68 (colored)

Get rid of register declarations.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 29 03:05:18 2000 UTC (12 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.67: +1 -3 lines
Diff to previous 1.67 (colored)

Remove declaration of db_radix - <ddb/db_output.h> has one.
Also remove <sys/conf.h> - don't need it here.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Mar 22 20:58:30 2000 UTC (12 years, 2 months ago) by ws
Branch: MAIN
Changes since 1.66: +7 -3 lines
Diff to previous 1.66 (colored)

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 26 07:50:33 2000 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.65: +3 -10 lines
Diff to previous 1.65 (colored)

Remove unused global `consintr'.  Rob Black, kern/3841.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:52 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up to last week's -current.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 13 01:29:03 1999 UTC (12 years, 5 months ago) by sommerfeld
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored)

bitmask_snprintf: avoid returning too soon if we're using the
new-style format.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 27 01:14:15 1999 UTC (12 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.63: +25 -1 lines
Diff to previous 1.63 (colored)

Implement vlog() (varargs version of log()).

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Mon Aug 2 22:19:14 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.62: +9 -4 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Update from trunk.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 27 21:50:37 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.62: +9 -4 lines
Diff to previous 1.62 (colored)

Make sure the kprintf_slock is initialized, and use the low-level atomic
locking primitive directly to lock it, since those will never attempt
to call printf() to display debugging information (and thus deadlock
on recursion into the kprintf_slock).

Revision 1.62 / (download) - annotate - [select for diffs], Fri Feb 12 00:46:11 1999 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Fix some printf format problems on Alpha.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Feb 10 18:03:05 1999 UTC (13 years, 3 months ago) by explorer
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

no need to set tailp twice.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 6 11:57:35 1999 UTC (13 years, 3 months ago) by explorer
Branch: MAIN
Changes since 1.59: +14 -13 lines
Diff to previous 1.59 (colored)

rewrite usage of tailp slightly, to convince gcc that it really isn't used
initialized.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 3 01:16:20 1999 UTC (13 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

fix compiler warning

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jan 28 00:05:49 1999 UTC (13 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.57: +81 -16 lines
Diff to previous 1.57 (colored)

Implement [v]snprintf()

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 26 17:05:41 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.56: +1 -14 lines
Diff to previous 1.56 (colored)

make console_debugger() a macro - no need to waste a stackframe

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 29 21:22:32 1998 UTC (13 years, 6 months ago) by jonathan
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.55: +14 -1 lines
Diff to previous 1.55 (colored)

Add options DDB_FROMCONSOLE and sysctl ddb.fromconsole, analagous to
DDB_ONPANIC. Lets user ignore breaks but enter DDB on panic.  Intended
for machines where debug on panic is useful, but DDB entry is not,
(public-access console, or terminal-servers which send spurious breaks)

Add new ddb hook, console_debugger(), which decides whether or not to
ignore console ddb requests. Console drivers should be updated to call
console_debugger(), not Debugger(), in response to serial-console
break or ddb keyboard sequence.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Sep 29 21:03:02 1998 UTC (13 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +19 -2 lines
Diff to previous 1.54 (colored)

Implement vsprintf().

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 29 01:49:43 1998 UTC (13 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +81 -14 lines
Diff to previous 1.53 (colored)

If MULTIPROCESSOR, add a spin lock around the kernel printf (in the
appropriate places).  This makes debugging messages work a LOT better
on my multiprocessor Alpha.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Sep 12 13:12:14 1998 UTC (13 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

Nuke spurious pointer incrementation.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Aug 31 02:47:00 1998 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

minor KNF nit

Revision 1.51 / (download) - annotate - [select for diffs], Sun Aug 23 22:42:32 1998 UTC (13 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.50: +91 -30 lines
Diff to previous 1.50 (colored)

Merge Chris Torek's new `%b' bit-field format into bitmask_snprintf().

Revision 1.50 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:15 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
  bcopy(x, y, z) ->  memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
   bcmp(x, y, z) ->  memcmp(x, y, z)
  bzero(x, y)    ->  memset(x, 0, y)

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

defopt DDB.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:31 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.47: +7 -2 lines
Diff to previous 1.47 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:02 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +6 -1 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:45 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +601 -1 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 17 00:59:56 1997 UTC (14 years, 6 months ago) by ross
Branch: MAIN
Changes since 1.46: +1 -3 lines
Diff to previous 1.46 (colored)

Put it back the way it was.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Nov 15 09:27:33 1997 UTC (14 years, 6 months ago) by ross
Branch: MAIN
Changes since 1.45: +3 -1 lines
Diff to previous 1.45 (colored)

A new kprintf was imported on 10/24, and it will cause a kernel panic
whenever the %: format is used on NetBSD/Alpha. Disable %: for __alpha__.
Note: the "correct" (but untested on other architectures) fix is to
change the wrong: kprintf(cp, oflags, tp, NULL, va_arg(ap, va_list));
    to the right: kprintf(cp, oflags, tp, NULL, ap);

Revision 1.45 / (download) - annotate - [select for diffs], Fri Oct 24 18:14:25 1997 UTC (14 years, 7 months ago) by chuck
Branch: MAIN
Changes since 1.44: +841 -467 lines
Diff to previous 1.44 (colored)

import chris torek's vfprintf() from libc [renamed to kprintf and all
floating point stuff removed].

the new kprintf replaces the 3 different (and buggy) versions of
printf that were in the kernel before (kprintf, sprintf, and db_printf),
thus reducing duplicated code by 2/3's.   this fixes (or adds) several
printf formats.  examples:
 %#x   - previously only supported by db_printf [not printf/sprintf]
 %8.8s - printf would print "000chuck" for "chuck" before
 %5p   - printf would print "0x    1" for value 1 before

XXX: new kprintf still supports several non-standard '%' formats that
are supposed to eventually be removed:
  %: - passes an additional format string and argument list recursively
  %b - used to decode error registers
  %r - int, but print in radix "db_radix" [DDB only]
  %z - 'signed hex' [DDB only]
  %n - unsigned int, but print in radix "db_radix" [DDB only]

note that DDB's "%n" conflicts with standard "%n" which takes the
number of characters written so far and stores it into the integer
indicated by the "int *" pointer arg.  yuck!

while here, add comments for each function explaining what it is
supposed to do.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Mon Sep 22 06:33:49 1997 UTC (14 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.43: +17 -9 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Sep 19 13:56:41 1997 UTC (14 years, 8 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.43: +17 -9 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Thu Jun 26 05:17:45 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.42: +8 -1 lines
Diff to previous 1.42 (colored)

Avoid running off the end of the format string if the caller botched
the format modifer.  Reported by and suggested fix from Daniel G. Pouzzner
in PR #2633.  Final fix is slightly different now that we support the %q
modifier.  This fix also includes the equivalent fix for sprintf().

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 26 00:43:10 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

If KGDB is defined, pull in <sys/kgdb.h> for prototypes.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 16 15:02:27 1997 UTC (14 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.40: +59 -48 lines
Diff to previous 1.40 (colored)

Implement quad_t (%qx, %qd, %qo) printf formats.
Closes pr kern/3747.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Apr 17 00:06:28 1997 UTC (15 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.39: +27 -2 lines
Diff to previous 1.39 (colored)

XXX Kludge for PowerPC; needs a kernel vfprintf().

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 26 22:42:18 1997 UTC (15 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

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

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jan 9 05:38:22 1997 UTC (15 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (colored)

Only call Debugger() on panic if "db_onpanic" is set.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 13 06:06:05 1996 UTC (15 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +102 -11 lines
Diff to previous 1.36 (colored)

Implement bitmask_snprintf(), which takes a value and a string
representing the names of those bits, prints them into a buffer
provided by the caller, and returns a pointer to that buffer.
Functionality is identical to that of the (non-standard) `%b' printf()
format, which will be deprecated.

Rename the non-exported function ksprintn() to ksnprintn(), and change
it to use a buffer provided by the caller, rather than at static
buffer.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Oct 27 21:55:20 1996 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Minor nit in my change regarding const and non-ansi code...

Revision 1.35 / (download) - annotate - [select for diffs], Sun Oct 27 20:50:00 1996 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.34: +2 -6 lines
Diff to previous 1.34 (colored)

Oops, part of that last commit was not meant to go in.
The definitions of va_alist, va_dcl belong elsewhere.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 27 20:30:52 1996 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.33: +9 -4 lines
Diff to previous 1.33 (colored)

The hack-ish tricks to make the ANSI-style va_start macro work in
non-ANSI mode were not quite complete.  This makes non-ANSI work.
Perhaps it would be better to eliminate this hack altogether...

Revision 1.33 / (download) - annotate - [select for diffs], Fri Oct 25 22:01:44 1996 UTC (15 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

don't assign non-const pointers from const pointers; make the appropriate
pointers 'const'.  (-Wcast-qual)

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 16 19:33:30 1996 UTC (15 years, 7 months ago) by ws
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 15 21:35:56 1996 UTC (15 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

panic must print a newline

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 13 02:32:39 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.29: +20 -20 lines
Diff to previous 1.29 (colored)

backout previous kprintf change

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 10 22:46:27 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.28: +22 -21 lines
Diff to previous 1.28 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 30 17:32:01 1996 UTC (15 years, 7 months ago) by ws
Branch: MAIN
Changes since 1.27: +6 -1 lines
Diff to previous 1.27 (colored)

Enter new KGDB on panic just like other kernel debuggers

Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 25 21:03:45 1996 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Recognize %.2x as %02x

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 9 10:32:23 1996 UTC (15 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Mon Apr 22 01:38:46 1996 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

remove include of <sys/cpu.h>

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 30 22:25:18 1996 UTC (16 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.23: +5 -6 lines
Diff to previous 1.23 (colored)

Change %r -> %: as for recursive printf's

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 16 23:17:10 1996 UTC (16 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.22: +2 -5 lines
Diff to previous 1.22 (colored)

Fix printf() formats.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 14 19:01:11 1996 UTC (16 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored)

- fdopen -> filedescopen
- bring kgdb prototype in scope.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 9 19:00:01 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored)

More proto fixes

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 4 02:16:42 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.19: +27 -14 lines
Diff to previous 1.19 (colored)

First pass at prototyping

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 16 10:52:17 1995 UTC (16 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.18: +30 -3 lines
Diff to previous 1.18 (colored)

copy some format specifiers from kprintf to sprintf.  b & r still missing

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 19 23:23:11 1995 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

Actually, do the previous differently.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 19 23:17:16 1995 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +6 -1 lines
Diff to previous 1.16 (colored)

Add a `%p' format.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 28 06:30:35 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Handle null pointers like libc.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:59 1994 UTC (17 years, 11 months ago) by cgd
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, netbsd-1-0
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 13 06:02:45 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.13: +35 -58 lines
Diff to previous 1.13 (colored)

update; minor clean, cruft removal.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 12 10:26:19 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

Make logpri() non-static.

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 5 05:38:22 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.11: +628 -1 lines
Diff to previous 1.11 (colored)

lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 4 03:42:01 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Rename a lot of process flags.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 30 13:22:05 1994 UTC (18 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

make panic a varargs function

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 18 04:21:28 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

Canonicalize all #includes.

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Sun Nov 14 21:07:09 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.8.2.4: +1 -1 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Canonicalize all #includes.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Mon Sep 27 06:05:49 1993 UTC (18 years, 8 months ago) by deraadt
Branch: magnum
Changes since 1.8.2.3: +1 -1 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)

Colour me a very bright shiny shade of stupid.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Mon Sep 27 02:45:10 1993 UTC (18 years, 8 months ago) by deraadt
Branch: magnum
Changes since 1.8.2.2: +1 -1 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

no snprintf() inside the kernel, use sprintf() and pray

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:27 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.8.2.1: +1 -1 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Make all files using spl*() #include cpu.h.  Changes from trunk.
init_main.c: New method of pseudo-device of initialization.
kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe.
softclock() only does callouts.
kern_synch.c: Remove spurious declaration of endtsleep().  Adjust uses of
averunnable for new struct loadav.
subr_prf.c: Allow printf() formats in panic().
tty.c: averunnable changes.
vfs_subr.c: va_size and va_bytes are now quads.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Sep 14 18:24:22 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

init_main.c:  clock changes from 4.4; initclocks() is called after vfsinit().
No startrtclock() or enablertclock().  Some pseudo-device cruft, but this needs
to be updated.
kern_clock.c:  from 4.4: gatherstats() --> statclock().  statclock(),
hardclock(), and softclock() take a `struct clockframe *'.  New initclocks(),
harclock(), statclock(), startprofclock(), and stopprofclock().
kern_synch.c:  from 4.4: machine-independent swtch(), which is now where
process time is integrated.  Calls cpu_swtch() with the current process as an
arg.
subr_autoconf.c:  Fix typo.
subr_prf.c:  msgbufp and msgbufmapped are define in machdep.c
tty.c:  Make TIOCHPCL #ifdef COMPAT_43.
Incorporate changes from main branch.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 27 23:45:58 1993 UTC (18 years, 9 months ago) by brezak
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

Machine independant changes to VM for handling non-contiguous memory.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:53 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 22 11:41:42 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

add include of select.h if necessary for protos, or delete if extraneous

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 18 18:19:21 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

make kernel select interface be one-stop shopping & clean it all up.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 13 06:17:51 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

fix kernel printf %b format.
from Gordon Burditt <gordon@sneaky.lonestar.org>

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 10 12:06:18 1993 UTC (19 years, 1 month ago) by glass
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 28 08:40:33 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

if PANICWAIT defined, will always wait for a key press before reboot
after panic.  (note that this only makes a difference if DDB is not
installed.)

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

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>