The NetBSD Project

CVS log for src/sys/sys/systm.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.305 / (download) - annotate - [select for diffs], Sat Sep 9 16:01:09 2023 UTC (5 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.304: +3 -1 lines
Diff to previous 1.304 (colored)

Move the initialization of the random hash for addresses earlier so that
it does not happen under a spin lock context (when it is first used).

Revision 1.304 / (download) - annotate - [select for diffs], Sat Sep 9 00:15:09 2023 UTC (5 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.303: +2 -2 lines
Diff to previous 1.303 (colored)

Revert "once(9): Assert sleepable in RUN_ONCE, unconditionally."

This would be nice but it'll break too many things for the moment.

Revision 1.303 / (download) - annotate - [select for diffs], Fri Sep 8 23:25:39 2023 UTC (5 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.302: +2 -2 lines
Diff to previous 1.302 (colored)

once(9): Assert sleepable in RUN_ONCE, unconditionally.

Otherwise there's a good chance we'll never exercise many paths that
call RUN_ONCE when it's not sleepable, just because it's already been
done in a sleepable context before.

Revision 1.302 / (download) - annotate - [select for diffs], Mon May 22 14:07:24 2023 UTC (9 months ago) by riastradh
Branch: MAIN
Changes since 1.301: +3 -1 lines
Diff to previous 1.301 (colored)

uiomove(9): Add uiopeek/uioskip operations.

This allows a caller to grab some data, consume part of it, and
atomically update the uio with only the amount it consumed.  This
way, the caller can use a buffer of a size that doesn't depend on how
much it will actually consume, which it may not know in advance --
e.g., because it depends on how much an underlying hardware tty
device will accept before it decides it has had too much.

Proposed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2023/05/09/msg028883.html

(Opinions were divided between `uioadvance' and `uioskip'.  I stuck
with `uioskip' because that was less work for me.)

Revision 1.300.4.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:36 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.300: +3 -2 lines
Diff to previous 1.300 (colored) next main 1.301 (colored)

Sync w/ HEAD.

Revision 1.301 / (download) - annotate - [select for diffs], Wed Jun 16 11:55:10 2021 UTC (2 years, 8 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.300: +3 -2 lines
Diff to previous 1.300 (colored)

Provide KERNEL_LOCK facilities also for MODULAR, in addition to
MULTIPROCESSOR and _MODULE.

Otherwise, inconsistencies occur between UP kernel and modules,
that have been observed as:

http://mail-index.netbsd.org/port-powerpc/2020/07/07/msg003590.html
http://mail-index.netbsd.org/source-changes-d/2021/06/16/msg013369.html

Revision 1.298.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:29:03 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.298: +8 -1 lines
Diff to previous 1.298 (colored) next main 1.299 (colored)

Sync with HEAD.

Revision 1.300 / (download) - annotate - [select for diffs], Sun Mar 14 02:53:57 2021 UTC (2 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.299: +6 -1 lines
Diff to previous 1.299 (colored)

Comment on CTASSERT() in COND_SET_STRUCT(); this is a sanity check to
avoid hashing/assigning large structure. Upper-bound is arbitrary, but
be carefully for performance penalty if bumping.

Thanks christos for discussion.

Revision 1.299 / (download) - annotate - [select for diffs], Wed Mar 10 13:27:51 2021 UTC (2 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.298: +3 -1 lines
Diff to previous 1.298 (colored)

Add printf_nostamp(9), kernel printf() without prepending a timestamp.

Revision 1.298 / (download) - annotate - [select for diffs], Fri Aug 28 12:43:24 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.297: +8 -6 lines
Diff to previous 1.297 (colored)

Fix uninitialized, caught by llvm. Tuck variables in blocks where they are
needed.

Revision 1.297 / (download) - annotate - [select for diffs], Thu Aug 27 14:11:57 2020 UTC (3 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.296: +2 -2 lines
Diff to previous 1.296 (colored)

Sort includes, nix trailing whitespace, fix comment.

Revision 1.296 / (download) - annotate - [select for diffs], Wed Aug 26 22:56:55 2020 UTC (3 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.295: +37 -7 lines
Diff to previous 1.295 (colored)

Instead of returning 0 when sysctl kern.expose_address=0, return a random
hashed value of the data. This allows sockstat to work without exposing
kernel addresses or being setgid kmem.

Revision 1.295 / (download) - annotate - [select for diffs], Tue Jun 30 16:20:03 2020 UTC (3 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.294: +2 -8 lines
Diff to previous 1.294 (colored)

Make copystr() a MI C function, part of libkern and shared on all
architectures.

Notes:

 - On alpha and ia64 the function is kept but gets renamed locally to avoid
   symbol collision. This is because on these two arches, I am not sure
   whether the ASM callers do not rely on fixed registers, so I prefer to
   keep the ASM body for now.
 - On Vax, only the symbol is removed, because the body is used from other
   functions.
 - On RISC-V, this change fixes a bug: copystr() was just a wrapper around
   strlcpy(), but strlcpy() makes the operation less safe (strlen on the
   source beyond its size).
 - The kASan, kCSan and kMSan wrappers are removed, because now that
   copystr() is in C, the compiler transformations are applied to it,
   without the need for manual wrappers.

Could test on amd64 only, but should be fine.

Revision 1.276.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:20 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.276.2.1: +151 -60 lines
Diff to previous 1.276.2.1 (colored) to branchpoint 1.276 (colored) next main 1.277 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.294 / (download) - annotate - [select for diffs], Sat Apr 4 19:50:54 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.293: +3 -1 lines
Diff to previous 1.293 (colored)

Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.

Revision 1.292.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:10 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.292: +1 -14 lines
Diff to previous 1.292 (colored) next main 1.293 (colored)

Sync with head.

Revision 1.293 / (download) - annotate - [select for diffs], Sat Feb 8 07:07:07 2020 UTC (4 years ago) by maxv
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.292: +1 -14 lines
Diff to previous 1.292 (colored)

Retire KLEAK.

KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.

Revision 1.292 / (download) - annotate - [select for diffs], Wed Jan 1 09:33:19 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.291: +3 -3 lines
Diff to previous 1.291 (colored)

Fix build for non-__HAVE_UCAS_FULL platforms where the symbol dance for
assembler functions isn't needed.

Suggestion from maxv.  Thanks.

Revision 1.291 / (download) - annotate - [select for diffs], Fri Nov 15 12:18:46 2019 UTC (4 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.290: +38 -1 lines
Diff to previous 1.290 (colored)

Instrument ufetch/ustore in kMSan, these were the last remaining functions.

Revision 1.290 / (download) - annotate - [select for diffs], Fri Nov 15 08:11:36 2019 UTC (4 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.289: +3 -2 lines
Diff to previous 1.289 (colored)

Instrument copyout() in kCSan, for parity with kMSan.

Revision 1.289 / (download) - annotate - [select for diffs], Thu Nov 14 16:23:53 2019 UTC (4 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.288: +18 -2 lines
Diff to previous 1.288 (colored)

Add support for Kernel Memory Sanitizer (kMSan). It detects uninitialized
memory used by the kernel at run time, and just like kASan and kCSan, it
is an excellent feature. It has already detected 38 uninitialized variables
in the kernel during my testing, which I have since discreetly fixed.

We use two shadows:
 - "shad", to track uninitialized memory with a bit granularity (1:1).
   Each bit set to 1 in the shad corresponds to one uninitialized bit of
   real kernel memory.
 - "orig", to track the origin of the memory with a 4-byte granularity
   (1:1). Each uint32_t cell in the orig indicates the origin of the
   associated uint32_t of real kernel memory.

The memory consumption of these shadows is consequent, so at least 4GB of
RAM is recommended to run kMSan.

The compiler inserts calls to specific __msan_* functions on each memory
access, to manage both the shad and the orig and detect uninitialized
memory accesses that change the execution flow (like an "if" on an
uninitialized variable).

We mark as uninit several types of memory buffers (stack, pools, kmem,
malloc, uvm_km), and check each buffer passed to copyout, copyoutstr,
bwrite, if_transmit_lock and DMA operations, to detect uninitialized memory
that leaves the system. This allows us to detect kernel info leaks in a way
that is more efficient and also more user-friendly than KLEAK.

Contrary to kASan, kMSan requires comprehensive coverage, ie we cannot
tolerate having one non-instrumented function, because this could cause
false positives. kMSan cannot instrument ASM functions, so I converted
most of them to __asm__ inlines, which kMSan is able to instrument. Those
that remain receive special treatment.

Contrary to kASan again, kMSan uses a TLS, so we must context-switch this
TLS during interrupts. We use different contexts depending on the interrupt
level.

The orig tracks precisely the origin of a buffer. We use a special encoding
for the orig values, and pack together in each uint32_t cell of the orig:
 - a code designating the type of memory (Stack, Pool, etc), and
 - a compressed pointer, which points either (1) to a string containing
   the name of the variable associated with the cell, or (2) to an area
   in the kernel .text section which we resolve to a symbol name + offset.

This encoding allows us not to consume extra memory for associating
information with each cell, and produces a precise output, that can tell
for example the name of an uninitialized variable on the stack, the
function in which it was pushed on the stack, and the function where we
accessed this uninitialized variable.

kMSan is available with LLVM, but not with GCC.

The code is organized in a way that is similar to kASan and kCSan, so it
means that other architectures than amd64 can be supported.

Revision 1.288 / (download) - annotate - [select for diffs], Tue Nov 5 20:19:18 2019 UTC (4 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.287: +14 -1 lines
Diff to previous 1.287 (colored)

Add Kernel Concurrency Sanitizer (kCSan) support. This sanitizer allows us
to detect race conditions at runtime. It is a variation of TSan that is
easy to implement and more suited to kernel internals, albeit theoretically
less precise than TSan's happens-before.

We do basically two things:

 - On every KCSAN_NACCESSES (=2000) memory accesses, we create a cell
   describing the access, and delay the calling CPU (10ms).

 - On all memory accesses, we verify if the memory we're reading/writing
   is referenced in a cell already.

The combination of the two means that, if for example cpu0 does a read that
is selected and cpu1 does a write at the same address, kCSan will fire,
because cpu1's write collides with cpu0's read cell.

The coverage of the instrumentation is the same as that of kASan. Also, the
code is organized in a way similar to kASan, so it is easy to add support
for more architectures than amd64. kCSan is compatible with KCOV.

Reviewed by Kamil.

Revision 1.287 / (download) - annotate - [select for diffs], Thu Oct 10 13:45:14 2019 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.286: +76 -47 lines
Diff to previous 1.286 (colored)

Add KASAN instrumentation on ucas and ufetch.

Revision 1.286 / (download) - annotate - [select for diffs], Tue Jul 23 17:39:36 2019 UTC (4 years, 7 months ago) by rin
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.285: +7 -1 lines
Diff to previous 1.285 (colored)

Enable us to enter DDB from serial console when WSDISPLAY_MULTICONS
is enabled. This is necessary for machines on which framebuffer
console cannot be disabled at run time.

opt_wsdisplay_compat.h is generated for all ports including those
that do not support wscons.

OK Jared

Revision 1.276.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.276: +114 -19 lines
Diff to previous 1.276 (colored)

Sync with HEAD

Revision 1.285 / (download) - annotate - [select for diffs], Mon May 20 20:35:45 2019 UTC (4 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.284: +3 -1 lines
Diff to previous 1.284 (colored)

Add a simple vasprintf() implementation that uses 2 passes, one to compute
the length and a second to place the data. Requested by rmind@

Revision 1.284 / (download) - annotate - [select for diffs], Sat May 4 10:07:11 2019 UTC (4 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.283: +9 -2 lines
Diff to previous 1.283 (colored)

Add KASAN instrumentation for kcopy and copystr.

Revision 1.283 / (download) - annotate - [select for diffs], Thu Apr 11 17:43:45 2019 UTC (4 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.282: +10 -1 lines
Diff to previous 1.282 (colored)

Add KASAN instrumentation for copyin/copyinstr/copyoutstr. No copyout for
now, because mm.c needs whitelisting.

Revision 1.282 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:28 2019 UTC (4 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.281: +68 -17 lines
Diff to previous 1.281 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.275.2.6 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:59 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.275.2.5: +5 -1 lines
Diff to previous 1.275.2.5 (colored) to branchpoint 1.275 (colored) next main 1.276 (colored)

Synch with HEAD

Revision 1.281 / (download) - annotate - [select for diffs], Mon Jan 7 13:09:47 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.280: +5 -1 lines
Diff to previous 1.280 (colored)

Introduce new helper printf functions that get passed output
flags. Add a new kprintf flag to avoid adding time stamps
when outputing to the console. Mostly from Christos, any bugs
added by me.

Use above to print the "twiddle" (when using boot -z) without
timestamps.

Revision 1.275.2.5 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:07 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.275.2.4: +14 -1 lines
Diff to previous 1.275.2.4 (colored) to branchpoint 1.275 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.280 / (download) - annotate - [select for diffs], Sun Dec 2 21:00:13 2018 UTC (5 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.279: +14 -1 lines
Diff to previous 1.279 (colored)

Introduce KLEAK, a new feature that can detect kernel information leaks.

It works by tainting memory sources with marker values, letting the data
travel through the kernel, and scanning the kernel<->user frontier for
these marker values. Combined with compiler instrumentation and rotation
of the markers, it is able to yield relevant results with little effort.

We taint the pools and the stack, and scan copyout/copyoutstr. KLEAK is
supported on amd64 only for now, but it is not complicated to add more
architectures (just a matter of having the address of .text, and a stack
unwinder).

A userland tool is provided, that allows to execute a command in rounds
and monitor the leaks generated all the while.

KLEAK already detected directly 12 kernel info leaks, and prompted changes
that in total fixed 25+ leaks.

Based on an idea developed jointly with Thomas Barabosch (of Fraunhofer
FKIE).

Revision 1.275.2.4 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:46 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.275.2.3: +9 -1 lines
Diff to previous 1.275.2.3 (colored) to branchpoint 1.275 (colored)

Sync with head

Revision 1.279 / (download) - annotate - [select for diffs], Fri Oct 5 22:12:37 2018 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.278: +9 -1 lines
Diff to previous 1.278 (colored)

Provide a sysctl kern.expose_address to expose kernel addresses in
sysctl structure returns for non-root. Defaults to off. Turning it
on will restore sockstat/fstat and friends for regular users.

Revision 1.275.2.3 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:58 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.275.2.2: +3 -3 lines
Diff to previous 1.275.2.2 (colored) to branchpoint 1.275 (colored)

Ssync with HEAD

Revision 1.272.8.1 / (download) - annotate - [select for diffs], Sun Sep 23 17:33:15 2018 UTC (5 years, 5 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.272: +3 -3 lines
Diff to previous 1.272 (colored) next main 1.273 (colored)

Pull up following revision(s) (requested by mrg in ticket #1025):

	sys/kern/subr_autoconf.c: revision 1.263
	sys/kern/kern_drvctl.c: revision 1.44
	sys/sys/device.h: revision 1.156
	sys/sys/systm.h: revision 1.278

- move export for devmon_insert_vec into sys/device.h.
- export root_is_mounted for future USB RB_ASKNAME hack.
- make some things in subr_autoconf.c static
- move device_printf() prototype out from the middle of two sets of
  aprint_*() prototypes.

Revision 1.278 / (download) - annotate - [select for diffs], Tue Sep 18 01:25:09 2018 UTC (5 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.277: +3 -3 lines
Diff to previous 1.277 (colored)

- move export for devmon_insert_vec into sys/device.h.
- export root_is_mounted for future USB RB_ASKNAME hack.
- make some things in subr_autoconf.c static
- move device_printf() prototype out from the middle of two sets of
  aprint_*() prototypes.

Revision 1.275.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:47 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.275.2.1: +2 -1 lines
Diff to previous 1.275.2.1 (colored) to branchpoint 1.275 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.277 / (download) - annotate - [select for diffs], Fri Aug 10 21:44:59 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.276: +2 -1 lines
Diff to previous 1.276 (colored)

Allow syscall_establish() to install new syscalls when the existing
entry-point is either sys_nomodule or sys_nosys.  Update the
makesyscalls.sh script to create a const array of bits to allow
syscall_disestablish() to properly restore the original entry-point.
Update all the initializers of struct emul to initialize the pointer
to the bit array struct emul.

XXX Regen of all files created by makesyscalls.sh will come soon,
XXX followed by a kernel version bump (since struct emul is being
XXX modified).

This commit should address PR kern/45781 and also removes the need
for the work-around for that PR in file

	sys/arch/usermode/modules/syscallemu/syscallemu.c

Revision 1.275.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:08 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.275: +2 -1 lines
Diff to previous 1.275 (colored)

Sync with HEAD

Revision 1.276 / (download) - annotate - [select for diffs], Mon May 28 21:04:41 2018 UTC (5 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.275: +2 -1 lines
Diff to previous 1.275 (colored)

add copyin_pid(), to copyin from a different user address space.

Revision 1.275 / (download) - annotate - [select for diffs], Sun Feb 4 17:31:51 2018 UTC (6 years ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.274: +2 -1 lines
Diff to previous 1.274 (colored)

Add a proper defflag for GPROF, and include opt_gprof.h, otherwise we're
not gonna go very far.

Revision 1.257.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.257.2.2: +17 -8 lines
Diff to previous 1.257.2.2 (colored) to branchpoint 1.257 (colored) next main 1.258 (colored)

update from HEAD

Revision 1.274 / (download) - annotate - [select for diffs], Fri Oct 27 12:25:15 2017 UTC (6 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.273: +1 -1 lines
Diff to previous 1.273 (colored)

Revert printf return value change.

Revision 1.273 / (download) - annotate - [select for diffs], Fri Oct 27 09:59:17 2017 UTC (6 years, 4 months ago) by utkarsh009
Branch: MAIN
Changes since 1.272: +2 -2 lines
Diff to previous 1.272 (colored)

[syzkaller] Change the return type of printf(9)
from 'void' to 'int' for extracting constants with syzkaller

Revision 1.266.4.6 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:01 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.266.4.5: +2 -2 lines
Diff to previous 1.266.4.5 (colored) to branchpoint 1.266 (colored) next main 1.267 (colored)

Sync with HEAD

Revision 1.271.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:53 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.271: +2 -2 lines
Diff to previous 1.271 (colored) next main 1.272 (colored)

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

Revision 1.272 / (download) - annotate - [select for diffs], Thu Dec 22 16:05:15 2016 UTC (7 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.271: +2 -2 lines
Diff to previous 1.271 (colored)

physmem should be of type psize_t

Also, use PRIxPSIZE when printf(9)ing physmem.

Revision 1.266.4.5 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:24 2016 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.266.4.4: +3 -2 lines
Diff to previous 1.266.4.4 (colored) to branchpoint 1.266 (colored)

Sync with HEAD

Revision 1.271 / (download) - annotate - [select for diffs], Wed Jul 6 05:20:48 2016 UTC (7 years, 7 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.270: +3 -2 lines
Diff to previous 1.270 (colored)

Add HASH_PSLIST (pslist(9)) type for hashinit()

Revision 1.266.4.4 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:39 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.266.4.3: +7 -5 lines
Diff to previous 1.266.4.3 (colored) to branchpoint 1.266 (colored)

Sync with HEAD

Revision 1.270 / (download) - annotate - [select for diffs], Sat Jan 23 20:44:06 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.269: +7 -5 lines
Diff to previous 1.269 (colored)

move more kernel stuff under #ifdef _KERNEL

Revision 1.266.4.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.266.4.2: +2 -1 lines
Diff to previous 1.266.4.2 (colored) to branchpoint 1.266 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.269 / (download) - annotate - [select for diffs], Thu Oct 29 00:27:08 2015 UTC (8 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.268: +2 -1 lines
Diff to previous 1.268 (colored)

introduce a new way of handling SYSCALL_DEBUG messages -- send them to
a kernel history, settable via the SCDEBUG_KERNHIST flag.

this requires a fairly significantly different set of messages than the
normal debug as histories are restricted:
	- each message can take one literal format string and upto 4
	  arguments
	- the arguments can not be strings if you want vmstat -u to
	  work (this could be fixed, and i might, as it would be nice
	  if we could print syscall names as well as numbers.)

introduce SCDEBUG_DEFAULT that is settable in the kernel config.

fix a problem in kernhist_dump_histories() where it would crash when a
history with no allocated entries was found.

extend kernhist_dumpmask() to handle the usbhist and scdebughist.

Revision 1.266.4.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:17 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.266.4.1: +2 -1 lines
Diff to previous 1.266.4.1 (colored) to branchpoint 1.266 (colored)

Sync with HEAD

Revision 1.268 / (download) - annotate - [select for diffs], Fri Aug 28 07:18:40 2015 UTC (8 years, 6 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.267: +2 -1 lines
Diff to previous 1.267 (colored)

fix interrupt_* stubs. reported by skrll@n.o

Revision 1.266.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.266: +7 -3 lines
Diff to previous 1.266 (colored)

Sync with HEAD

Revision 1.267 / (download) - annotate - [select for diffs], Sat Mar 7 16:34:55 2015 UTC (8 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.266: +7 -3 lines
Diff to previous 1.266 (colored)

add dtrace syscall glue:
- adds 2 members to sysent: these are the entry and exit probe ids
  they are non-zero only when dtrace is loaded
- add an emul specific probe for dtrace: this is NULL unless the emulation
  supports dtrace and is loaded
- adjust the syscall stub call trace_enter/exit if needed for systrace
- add more info to trace_enter and exit needed by systrace

Revision 1.257.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.257.2.1: +6 -8 lines
Diff to previous 1.257.2.1 (colored) to branchpoint 1.257 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.263.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:55 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.263: +3 -2 lines
Diff to previous 1.263 (colored) next main 1.264 (colored)

Rebase.

Revision 1.266 / (download) - annotate - [select for diffs], Sun Aug 3 12:49:32 2014 UTC (9 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.265: +2 -2 lines
Diff to previous 1.265 (colored)

Fix typo in comment.

Revision 1.265 / (download) - annotate - [select for diffs], Sun Aug 3 09:15:21 2014 UTC (9 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.264: +2 -1 lines
Diff to previous 1.264 (colored)

BUILDINFO part 2: expose sysctl kern.buildinfo

Revision 1.264 / (download) - annotate - [select for diffs], Thu Jul 17 14:55:32 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.263: +2 -2 lines
Diff to previous 1.263 (colored)

Expand null macros to `do {} while (0)', not to nothing.

Revision 1.250.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.250.2.3: +6 -10 lines
Diff to previous 1.250.2.3 (colored) to branchpoint 1.250 (colored) next main 1.251 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.258.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.258: +5 -8 lines
Diff to previous 1.258 (colored) next main 1.259 (colored)

sync with head

Revision 1.263 / (download) - annotate - [select for diffs], Thu Apr 3 15:22:57 2014 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Changes since 1.262: +2 -1 lines
Diff to previous 1.262 (colored)

add cpu_bootconf()

Revision 1.262 / (download) - annotate - [select for diffs], Wed Mar 26 18:03:47 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Changes since 1.261: +1 -5 lines
Diff to previous 1.261 (colored)

remove {v,}sprintf

Revision 1.261 / (download) - annotate - [select for diffs], Mon Mar 24 20:07:40 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.260: +1 -2 lines
Diff to previous 1.260 (colored)

- create  cpu_{g,s}etmodel() and hide cpu_model from direct access.

Revision 1.228.4.2.4.4 / (download) - annotate - [select for diffs], Fri Feb 14 18:38:15 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.228.4.2.4.3: +2 -1 lines
Diff to previous 1.228.4.2.4.3 (colored) to branchpoint 1.228.4.2 (colored) next main 1.229 (colored)

Change KASSERTMSG/KDASSERTMSG to use varadic arguments like HEAD.
panic -> vpanic, add panic wrapper to vpanic.

Revision 1.260 / (download) - annotate - [select for diffs], Sat Feb 1 09:04:57 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.259: +3 -2 lines
Diff to previous 1.259 (colored)

Fix definition of SYCALL_ARG_PTR
Add SYCALL_ARG_PTR_P(sy)

Revision 1.228.4.2.4.3 / (download) - annotate - [select for diffs], Thu Nov 14 17:34:02 2013 UTC (10 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.228.4.2.4.2: +3 -1 lines
Diff to previous 1.228.4.2.4.2 (colored) to branchpoint 1.228.4.2 (colored)

more things for xhci

Revision 1.259 / (download) - annotate - [select for diffs], Sat Oct 26 18:31:29 2013 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.258: +2 -2 lines
Diff to previous 1.258 (colored)

change void<space> to void<tab> for device_printf

Revision 1.257.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:29 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.257: +2 -3 lines
Diff to previous 1.257 (colored)

resync from head

Revision 1.258 / (download) - annotate - [select for diffs], Mon Mar 18 13:36:23 2013 UTC (10 years, 11 months ago) by para
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.257: +2 -3 lines
Diff to previous 1.257 (colored)

calculate vnode cache size based on the resource it gets allocated from
this stops setting kern.maxvnodes to high so it exhausts available space in kmem

http://mail-index.netbsd.org/tech-kern/2013/03/08/msg015095.html

Revision 1.250.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:58 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.250.2.2: +2 -1 lines
Diff to previous 1.250.2.2 (colored) to branchpoint 1.250 (colored)

sync with head

Revision 1.257 / (download) - annotate - [select for diffs], Fri Aug 3 18:08:01 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.256: +2 -1 lines
Diff to previous 1.256 (colored)

If any argument of a syscall is a pointer, set SYCALL_ARG_PTR as a flag.

Revision 1.250.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:53 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.250.2.1: +38 -56 lines
Diff to previous 1.250.2.1 (colored) to branchpoint 1.250 (colored)

sync with head

Revision 1.256 / (download) - annotate - [select for diffs], Sun Nov 27 11:07:21 2011 UTC (12 years, 3 months ago) by martin
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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp
Changes since 1.255: +2 -2 lines
Diff to previous 1.255 (colored)

No <stdbool.h> if _STANDALONE

Revision 1.255 / (download) - annotate - [select for diffs], Sun Nov 27 10:31:12 2011 UTC (12 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.254: +4 -1 lines
Diff to previous 1.254 (colored)

If not kernel, include <stdbool.h>

Revision 1.254 / (download) - annotate - [select for diffs], Sun Nov 27 03:52:38 2011 UTC (12 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.253: +2 -2 lines
Diff to previous 1.253 (colored)

Make KERNEL_LOCKED_P() work for !defined(MULTIPROCESSOR) && !defined(_MODULE).

Revision 1.253 / (download) - annotate - [select for diffs], Sun Nov 27 03:24:00 2011 UTC (12 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.252: +4 -1 lines
Diff to previous 1.252 (colored)

add KERNEL_LOCKED_P() macro

Revision 1.252 / (download) - annotate - [select for diffs], Mon Nov 21 04:36:06 2011 UTC (12 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.251: +32 -56 lines
Diff to previous 1.251 (colored)

change printf gcc attribute to __printflike(), requested by joerg.

Revision 1.250.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:51 2011 UTC (12 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.250: +2 -2 lines
Diff to previous 1.250 (colored)

sync with head

Revision 1.251 / (download) - annotate - [select for diffs], Sat Nov 5 09:27:06 2011 UTC (12 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, jmcneill-audiomp3-base, jmcneill-audiomp3
Changes since 1.250: +2 -2 lines
Diff to previous 1.250 (colored)

Add __returns_twice for the attribute of the same name. This makes the
attribute explicit based on the functions GCC gives it too.

Revision 1.250 / (download) - annotate - [select for diffs], Fri Sep 30 10:23:03 2011 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.249: +1 -3 lines
Diff to previous 1.249 (colored)

avoid sys/systm.h in userland ppath.h.
include types.h/stdarg.h in all systm.h configs.

my amd64 build without man pages now worked at least.

Revision 1.249 / (download) - annotate - [select for diffs], Thu Sep 29 20:52:12 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.248: +15 -4 lines
Diff to previous 1.248 (colored)

- add missing attributes to varyadic print functions
- add vpanic()

Revision 1.248 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:54 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.247: +5 -4 lines
Diff to previous 1.247 (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.245.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:13 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.245: +13 -11 lines
Diff to previous 1.245 (colored) next main 1.246 (colored)

Sync with HEAD.

Revision 1.239.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:26 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.239: +32 -13 lines
Diff to previous 1.239 (colored) next main 1.240 (colored)

sync with head

Revision 1.245.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:05 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.245: +13 -11 lines
Diff to previous 1.245 (colored) next main 1.246 (colored)

Sync with HEAD

Revision 1.247 / (download) - annotate - [select for diffs], Sat Jan 22 09:40:50 2011 UTC (13 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.246: +3 -2 lines
Diff to previous 1.246 (colored)

move <sys/device_if.h> outside of _KERNEL since the bulk of the previous
change depends upon "device_t" being defined.

fixes sparc/stand build.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Jan 21 17:46:19 2011 UTC (13 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.245: +12 -11 lines
Diff to previous 1.245 (colored)

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

Revision 1.228.4.2.8.1 / (download) - annotate - [select for diffs], Fri Jan 7 01:13:41 2011 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.228.4.2: +9 -1 lines
Diff to previous 1.228.4.2 (colored) next main 1.229 (colored)

Add critpollhooks.

Revision 1.245 / (download) - annotate - [select for diffs], Thu Dec 30 16:49:25 2010 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.244: +2 -1 lines
Diff to previous 1.244 (colored)

Mark syscalls not supported by a rump kernel with SYCALL_NOSYS, as
pure function pointer comparison brings weak alias confusion (weak
aliases are necessary for static linkage).

Revision 1.244 / (download) - annotate - [select for diffs], Thu Dec 30 12:46:34 2010 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.243: +3 -3 lines
Diff to previous 1.243 (colored)

update comment

Revision 1.243 / (download) - annotate - [select for diffs], Sat Dec 11 22:27:53 2010 UTC (13 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.242: +9 -1 lines
Diff to previous 1.242 (colored)

Add critpoll (critical polling) hooks.  These are keep things like watchdogs
from firing when the system is doing stuff like waiting at a ddb prompt or
the kernel is doing a lot of printing.

Revision 1.239.2.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:55 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.239: +9 -1 lines
Diff to previous 1.239 (colored) next main 1.240 (colored)

Sync with HEAD (-D20101022).

Revision 1.221.2.4 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:46 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.221.2.3: +9 -1 lines
Diff to previous 1.221.2.3 (colored) to branchpoint 1.221 (colored) next main 1.222 (colored)

sync with head

Revision 1.242 / (download) - annotate - [select for diffs], Sun Sep 12 16:07:40 2010 UTC (13 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.241: +2 -1 lines
Diff to previous 1.241 (colored)

add a forward struct declaration for the PPS_SYNC case

Revision 1.241 / (download) - annotate - [select for diffs], Sun Aug 22 14:12:10 2010 UTC (13 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.240: +3 -1 lines
Diff to previous 1.240 (colored)

Only define kernconfig_lock routines for _KERNEL

Fixes i386 build problem reported by Juergen Hannken-Illjes.

Revision 1.240 / (download) - annotate - [select for diffs], Sat Aug 21 13:17:32 2010 UTC (13 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.239: +6 -1 lines
Diff to previous 1.239 (colored)

Define a set of new kernel locking primitives to implement the recursive
kernconfig_mutex.  Update module subsystem to use this mutex rather than
its own internal (non-recursive) mutex.  Make module_autoload() do its
own locking to be consistent with the rest of the module_xxx() calls.
Update module(9) man page appropriately.

As discussed on tech-kern over the last few weeks.

Welcome to NetBSD 5.99.39 !

Revision 1.221.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:43 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.221.2.2: +21 -3 lines
Diff to previous 1.221.2.2 (colored) to branchpoint 1.221 (colored)

sync with head

Revision 1.239 / (download) - annotate - [select for diffs], Sun Jan 31 02:04:43 2010 UTC (14 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.238: +2 -2 lines
Diff to previous 1.238 (colored)

Pass root device as a parameter to domountroothook().

Revision 1.238 / (download) - annotate - [select for diffs], Sun Dec 13 04:47:45 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.237: +17 -2 lines
Diff to previous 1.237 (colored)

Pullup from matt-nb5-mips64.

For each syscall, add a flag for the return value or an argument indicating
that it is a 64-bit argument.  Also include the number of 64-bit arguments.
In theory this could get most of the code in compat/netbsd32/netbsd32_netbsd.c
but not at the moment due to multiply defined structures.

Revision 1.237 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:28 2009 UTC (14 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.236: +2 -1 lines
Diff to previous 1.236 (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.236 / (download) - annotate - [select for diffs], Tue Oct 6 21:07:05 2009 UTC (14 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.235: +3 -1 lines
Diff to previous 1.235 (colored)

Add a (weak aliased) machdep_init() as a place to do machdep initialization
that can't happen as early as the other init functions as called from
cpu_startup() -- for example, register kauth(9) listeners.

Put unprivileged policy in the x86 code; used by i386, amd64, and xen.

Revision 1.228.4.2.4.2 / (download) - annotate - [select for diffs], Sat Aug 22 17:05:21 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: 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-nb4-mips64-k7-u2a-k9b
Changes since 1.228.4.2.4.1: +2 -2 lines
Diff to previous 1.228.4.2.4.1 (colored) to branchpoint 1.228.4.2 (colored)

Use correct shift count (off by 1).

Revision 1.228.4.2.4.1 / (download) - annotate - [select for diffs], Sat Aug 22 00:13:24 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.228.4.2: +17 -2 lines
Diff to previous 1.228.4.2 (colored)

Add some SYCALL_ defines to deal know what arguments are 64bit in nature.

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

Sync with HEAD.

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

Revision 1.221.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:36 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.221.2.1: +21 -10 lines
Diff to previous 1.221.2.1 (colored) to branchpoint 1.221 (colored)

sync with head.

Revision 1.228.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:53 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.228.2.2: +2 -1 lines
Diff to previous 1.228.2.2 (colored) to branchpoint 1.228 (colored) next main 1.229 (colored)

Sync with HEAD.

Revision 1.235 / (download) - annotate - [select for diffs], Sun Mar 29 10:58:28 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Changes since 1.234: +2 -1 lines
Diff to previous 1.234 (colored)

Add a cental banner() function to print the copyright and version info.

Revision 1.228.4.2 / (download) - annotate - [select for diffs], Sun Mar 15 19:43:48 2009 UTC (14 years, 11 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base
Branch point for: matt-nb5-pq3, matt-nb5-mips64
Changes since 1.228.4.1: +3 -1 lines
Diff to previous 1.228.4.1 (colored) to branchpoint 1.228 (colored) next main 1.229 (colored)

Pull up following revision(s) (requested by christos in ticket #458):
	sys/conf/Makefile.kern.inc: revision 1.121
	sys/conf/files: revision 1.940
	sys/kern/init_main.c: revision 1.381
	sys/kern/kern_ssp.c: revision 1.1
	sys/kern/subr_autoconf.c: revision 1.168
	sys/sys/device.h: revision 1.116
	sys/sys/systm.h: revision 1.233
Unbreak ssp kernels. The issue here that when the ssp_init() call was
deferred, it caused the return from the enclosing function to break, as
well as the ssp return on i386. To fix both issues, split configure in
two pieces the one before calling ssp_init and the one after, and move
the ssp_init() call back in main. Put ssp_init() in its own file, and
compile this new file with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.228.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:34:32 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.228.2.1: +6 -1 lines
Diff to previous 1.228.2.1 (colored) to branchpoint 1.228 (colored)

Sync with HEAD.

Revision 1.228.4.1 / (download) - annotate - [select for diffs], Thu Feb 26 20:38:00 2009 UTC (15 years ago) by snj
Branch: netbsd-5
Changes since 1.228: +4 -1 lines
Diff to previous 1.228 (colored)

Pull up following revision(s) (requested by rmind in ticket #493):
	sys/arch/amd64/amd64/copy.S: revision 1.13
	sys/arch/i386/i386/copy.S: revision 1.17
	sys/sys/systm.h: revision 1.234
Add ucas (CAS for user-space address) support for i386 and amd64.
API provides ucas_int() and ucas_ptr() for now.
Reviewed by <ad>.

Revision 1.234 / (download) - annotate - [select for diffs], Mon Feb 23 20:27:59 2009 UTC (15 years ago) by rmind
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.233: +4 -1 lines
Diff to previous 1.233 (colored)

Add ucas (CAS for user-space address) support for i386 and amd64.
API provides ucas_int() and ucas_ptr() for now.

Reviewed by <ad>.

Revision 1.233 / (download) - annotate - [select for diffs], Thu Feb 12 18:24:18 2009 UTC (15 years ago) by christos
Branch: MAIN
Changes since 1.232: +3 -1 lines
Diff to previous 1.232 (colored)

Unbreak ssp kernels. The issue here that when the ssp_init() call was deferred,
it caused the return from the enclosing function to break, as well as the
ssp return on i386. To fix both issues, split configure in two pieces
the one before calling ssp_init and the one after, and move the ssp_init()
call back in main. Put ssp_init() in its own file, and compile this new file
with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.228.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:31 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.228: +7 -5 lines
Diff to previous 1.228 (colored)

Sync with HEAD.

Revision 1.214.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:41 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.214.6.3: +6 -4 lines
Diff to previous 1.214.6.3 (colored) to branchpoint 1.214 (colored) next main 1.215 (colored)

Sync with HEAD.

Revision 1.232 / (download) - annotate - [select for diffs], Fri Dec 19 17:11:57 2008 UTC (15 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.231: +5 -2 lines
Diff to previous 1.231 (colored)

Store config(1)'s root filesystem type as a text string rather than
embedding the address of its xxx_mountroot() in swapnetbsd.c.  This
permits booting of kernels with hard-wired filesystem type even if the
filesystem is in a loadable module (ie, not linked into the kernel
image).

Discussed on current-users.  Tested on amd64 and i386 with both hard-
wired and '?' filesystem times, and on both modular and monolithic
kernels.

Thanks to pooka@ for code review and suggestions.

Addresses my PR kern/40167

Revision 1.231 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:38 2008 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.230: +1 -3 lines
Diff to previous 1.230 (colored)

replace bitmask_snprintf(9) with snprintb(3)

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

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

Revision 1.230 / (download) - annotate - [select for diffs], Wed Nov 12 14:29:31 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.229: +2 -1 lines
Diff to previous 1.229 (colored)

Atomic insertion/removal of groups of system call vectors at runtime with
a basic facility for rollback.

Proposed on tech-kern@.

Revision 1.229 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:28 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.228: +2 -2 lines
Diff to previous 1.228 (colored)

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

Proposed on tech-kern@.

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

Sync with HEAD.

Revision 1.223.2.3 / (download) - annotate - [select for diffs], Fri Oct 10 22:37:10 2008 UTC (15 years, 4 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.223.2.2: +3 -3 lines
Diff to previous 1.223.2.2 (colored) to branchpoint 1.223 (colored) next main 1.224 (colored)

Sync with HEAD.

Revision 1.214.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:05 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.214.6.2: +3 -3 lines
Diff to previous 1.214.6.2 (colored) to branchpoint 1.214 (colored)

Sync with HEAD.

Revision 1.223.2.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:58 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.223.2.1: +2 -2 lines
Diff to previous 1.223.2.1 (colored) to branchpoint 1.223 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.228 / (download) - annotate - [select for diffs], Tue Sep 23 22:20:24 2008 UTC (15 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.227: +3 -3 lines
Diff to previous 1.227 (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.227 / (download) - annotate - [select for diffs], Mon Sep 8 23:36:55 2008 UTC (15 years, 5 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.226: +2 -2 lines
Diff to previous 1.226 (colored)

Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.

Revision 1.226.2.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:52:16 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.226.2.1: +1 -3 lines
Diff to previous 1.226.2.1 (colored) to branchpoint 1.226 (colored) next main 1.227 (colored)

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

Revision 1.226.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:55 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.226: +3 -1 lines
Diff to previous 1.226 (colored)

Sync with head.

Revision 1.223.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:03 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.223: +6 -3 lines
Diff to previous 1.223 (colored)

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

Revision 1.219.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:49 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.219.2.1: +6 -3 lines
Diff to previous 1.219.2.1 (colored) to branchpoint 1.219 (colored) next main 1.220 (colored)

sync with head

Revision 1.214.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:34 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.214.6.1: +13 -10 lines
Diff to previous 1.214.6.1 (colored) to branchpoint 1.214 (colored)

Sync with HEAD.

Revision 1.226 / (download) - annotate - [select for diffs], Sat May 31 20:27:24 2008 UTC (15 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, 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.225: +4 -1 lines
Diff to previous 1.225 (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.225 / (download) - annotate - [select for diffs], Tue May 20 09:28:39 2008 UTC (15 years, 9 months ago) by dogcow
Branch: MAIN
CVS Tags: hpcarm-cleanup-nbase
Changes since 1.224: +3 -3 lines
Diff to previous 1.224 (colored)

sprinkle parens and use the slightly more standard NetBSDism of
'do { ... } while (0);'.
Fixes "error: void value not + ignored as it ought to be"

Revision 1.224 / (download) - annotate - [select for diffs], Mon May 19 17:06:02 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.223: +3 -3 lines
Diff to previous 1.223 (colored)

Reduce ifdefs due to MULTIPROCESSOR slightly.

Revision 1.219.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:50 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.219: +9 -9 lines
Diff to previous 1.219 (colored)

sync with head.

Revision 1.221.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:52 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.221: +6 -6 lines
Diff to previous 1.221 (colored)

sync with head.

Revision 1.223 / (download) - annotate - [select for diffs], Mon May 5 17:11:17 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.222: +4 -6 lines
Diff to previous 1.222 (colored)

- Convert hashinit() to use kmem_alloc(). The hash tables can be large
  and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.

Revision 1.222 / (download) - annotate - [select for diffs], Sun Apr 27 22:38:12 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.221: +3 -1 lines
Diff to previous 1.221 (colored)

Wrap kpreempt stuff in _KERNEL, since bool is only exposed in userspace
via stdbool.h.

Revision 1.221 / (download) - annotate - [select for diffs], Sun Apr 27 11:37:48 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.220: +4 -3 lines
Diff to previous 1.220 (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.220 / (download) - annotate - [select for diffs], Thu Apr 24 11:51:19 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.219: +1 -2 lines
Diff to previous 1.219 (colored)

- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.214.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:13 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.214: +16 -5 lines
Diff to previous 1.214 (colored)

Sync with HEAD.

Revision 1.219 / (download) - annotate - [select for diffs], Tue Apr 1 19:49:31 2008 UTC (15 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.218: +5 -5 lines
Diff to previous 1.218 (colored)

remove useless passing of the lwp from the KERNEL_LOCK() ABI
(not the API; this would be easy as well)
agreed (a while ago) by ad

Revision 1.218 / (download) - annotate - [select for diffs], Tue Mar 25 23:21:42 2008 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.217: +2 -2 lines
Diff to previous 1.217 (colored)

- for some ports, especially for ones without pmap_growkernel,
  buf_memcalc is used by bootstrap as well.  fix NULL dereference for them.
- limit kva usage for each cache to 20% of vm_map.  XXX a bit arbitrary.
- add a comment.

Revision 1.179.2.11 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:10 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.10: +5 -1 lines
Diff to previous 1.179.2.10 (colored) next main 1.180 (colored)

sync with head.

Revision 1.214.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:29 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.214: +9 -1 lines
Diff to previous 1.214 (colored) next main 1.215 (colored)

sync with head.

Revision 1.217 / (download) - annotate - [select for diffs], Sun Mar 23 10:39:52 2008 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14
Changes since 1.216: +4 -1 lines
Diff to previous 1.216 (colored)

when calculating some cache sizes, consider the amount of available kva.
PR/33185.

Revision 1.197.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:11 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.197.4.2: +15 -15 lines
Diff to previous 1.197.4.2 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

sync with HEAD

Revision 1.216 / (download) - annotate - [select for diffs], Mon Mar 17 21:16:03 2008 UTC (15 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.215: +2 -1 lines
Diff to previous 1.215 (colored)

- Replace uihashtbl_lock and struct uidinfo::ui_lock with atomic operations.
  This make uid_find(), chgproccnt(), chgsbsize() and lf_alloc(), lf_free()
  functions lock-less.
- Increase the size of uihashtbl in case of MP system, as suggested by <ad>.
- Add HASH_SLIST type for hashinit().

Reviewed by <ad>.

Revision 1.179.2.10 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:47 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.9: +8 -1 lines
Diff to previous 1.179.2.9 (colored)

sync with head.

Revision 1.215 / (download) - annotate - [select for diffs], Mon Mar 17 08:27:50 2008 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.214: +8 -1 lines
Diff to previous 1.214 (colored)

- simplify ASSERT_SLEEPABLE.
- move it from proc.h to systm.h.
- add some more checks.
- make it a little more lkm friendly.

Revision 1.200.4.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:24 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.200.4.3: +11 -22 lines
Diff to previous 1.200.4.3 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

Sync with HEAD.

Revision 1.179.2.9 / (download) - annotate - [select for diffs], Mon Feb 11 15:00:09 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.8: +3 -4 lines
Diff to previous 1.179.2.8 (colored)

sync with head.

Revision 1.214 / (download) - annotate - [select for diffs], Wed Feb 6 22:12:42 2008 UTC (16 years ago) by dsl
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.213: +3 -4 lines
Diff to previous 1.213 (colored)

Remove the 'args' parameter to 'trace_exit()' it is no longer used.
Instead of passing the (un)real system call code and syscall table pointer,
just pass the number of arguments - which is what ktrace really wants.
Ride forthcoming 4.99.53

Revision 1.203.6.4 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:48 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.203.6.3: +0 -11 lines
Diff to previous 1.203.6.3 (colored) to branchpoint 1.203 (colored) next main 1.204 (colored)

Sync with HEAD.

Revision 1.179.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:00 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.7: +14 -23 lines
Diff to previous 1.179.2.7 (colored)

sync with head

Revision 1.213 / (download) - annotate - [select for diffs], Sun Jan 20 18:09:13 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase
Changes since 1.212: +1 -12 lines
Diff to previous 1.212 (colored)

Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.

Revision 1.203.6.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:44 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.203.6.2: +4 -0 lines
Diff to previous 1.203.6.2 (colored) to branchpoint 1.203 (colored)

Sync with HEAD

Revision 1.212 / (download) - annotate - [select for diffs], Tue Jan 15 14:26:41 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-base
Changes since 1.211: +2 -1 lines
Diff to previous 1.211 (colored)

Don't use the block device to read crashdumps, if possible.

Revision 1.211 / (download) - annotate - [select for diffs], Mon Jan 14 22:47:22 2008 UTC (16 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.210: +3 -1 lines
Diff to previous 1.210 (colored)

wrap mp_online with #ifdef _KERNEL.
should fix an ndiscvt build failure reported by Greg Troxel on current-users@.

Revision 1.210 / (download) - annotate - [select for diffs], Mon Jan 14 12:40:03 2008 UTC (16 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.209: +2 -1 lines
Diff to previous 1.209 (colored)

add a per-cpu storage allocator.

Revision 1.197.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:20 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.197.4.1: +11 -29 lines
Diff to previous 1.197.4.1 (colored) to branchpoint 1.197 (colored)

sync with HEAD

Revision 1.203.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:12:00 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.203.6.1: +5 -8 lines
Diff to previous 1.203.6.1 (colored) to branchpoint 1.203 (colored)

Sync with HEAD

Revision 1.209 / (download) - annotate - [select for diffs], Sat Jan 5 12:53:56 2008 UTC (16 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.208: +3 -4 lines
Diff to previous 1.208 (colored)

Don't pass 'curlwp' into trace_enter() and trace_exit().

Revision 1.208 / (download) - annotate - [select for diffs], Sat Jan 5 12:30:47 2008 UTC (16 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.207: +4 -6 lines
Diff to previous 1.207 (colored)

Don't pass l (== curlwp) into the system call trace code.
Delete inclusion of opt_syscall_debug.h into systm.h, every kernel object
file doesn't need to depend on opt_syscall_debug.h!

Revision 1.203.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:10 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.203: +7 -6 lines
Diff to previous 1.203 (colored)

Sync with HEAD

Revision 1.200.4.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:44 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.200.4.2: +6 -5 lines
Diff to previous 1.200.4.2 (colored) to branchpoint 1.200 (colored)

Sync with HEAD.

Revision 1.203.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:59 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.203: +7 -6 lines
Diff to previous 1.203 (colored) next main 1.204 (colored)

Sync with head.

Revision 1.207 / (download) - annotate - [select for diffs], Tue Dec 25 18:33:49 2007 UTC (16 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.206: +2 -2 lines
Diff to previous 1.206 (colored)

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.206 / (download) - annotate - [select for diffs], Sat Dec 22 16:19:35 2007 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.205: +2 -2 lines
Diff to previous 1.205 (colored)

Further constification of the syscall args buffer.
It will get __UNCONST() applied in the systrace code if/when systrace tries
to change the arguments.  This sucks since the syscall args might be in
the trap frame, and the syscall might return ERESTART so the restarted call
would use the wrong arguments.
OTOH systrace() (as a security measure) is almost impossible to implement
for a threaded app (validated filenames can be changed before namei() reads
them into memory).
The current code is just plain broken for threaded apps - data that needs
to be lwp-specified is proc-specific.
I believe ad is planning to nuke systrace ...

Revision 1.205 / (download) - annotate - [select for diffs], Sat Dec 22 11:38:55 2007 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.204: +4 -3 lines
Diff to previous 1.204 (colored)

Add a few buckets of 'const' and 'static' to the system call trace code.
sys_trace() still needs to be able to update the syscall args.

Revision 1.204 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:14 2007 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.203: +3 -3 lines
Diff to previous 1.203 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.200.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:36 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.200.4.1: +1 -8 lines
Diff to previous 1.200.4.1 (colored) to branchpoint 1.200 (colored)

Sync with HEAD.

Revision 1.179.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:58 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.6: +1 -8 lines
Diff to previous 1.179.2.6 (colored)

sync with head

Revision 1.197.2.5 / (download) - annotate - [select for diffs], Tue Nov 27 19:39:15 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.197.2.4: +1 -8 lines
Diff to previous 1.197.2.4 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.203 / (download) - annotate - [select for diffs], Thu Nov 22 22:56:16 2007 UTC (16 years, 3 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.202: +1 -8 lines
Diff to previous 1.202 (colored)

remove insque/remque from libkern, they are no longer used

Revision 1.200.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:49:33 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.200: +2 -11 lines
Diff to previous 1.200 (colored)

Sync with HEAD.

Revision 1.200.2.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:56 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.200.2.1: +0 -10 lines
Diff to previous 1.200.2.1 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

Sync with HEAD

Revision 1.179.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:45:35 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.5: +2 -11 lines
Diff to previous 1.179.2.5 (colored)

sync with head.

Revision 1.197.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:56 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.197.2.3: +1 -11 lines
Diff to previous 1.197.2.3 (colored) to branchpoint 1.197 (colored)

Sync with HEAD.

Revision 1.202 / (download) - annotate - [select for diffs], Tue Nov 13 22:14:34 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.201: +1 -11 lines
Diff to previous 1.201 (colored)

Remove KERNEL_LOCK_ASSERT_LOCKED, KERNEL_LOCK_ASSERT_UNLOCKED since the
kernel_lock functions can be patched out at runtime now. Assertions are
provided by the existing functions and by LOCKDEBUG_BARRIER.

Revision 1.200.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:03:27 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.200: +2 -1 lines
Diff to previous 1.200 (colored)

Sync with HEAD

Revision 1.197.2.3 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:54 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.197.2.2: +2 -1 lines
Diff to previous 1.197.2.2 (colored) to branchpoint 1.197 (colored)

Sync with HEAD.

Revision 1.201 / (download) - annotate - [select for diffs], Fri Nov 9 14:54:13 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.200: +2 -1 lines
Diff to previous 1.200 (colored)

Generate normal prototypes (etc) for INDIR calls (sys_syscall and sys___syscall)
just flag the entries as SYCALL_INDIRECT.

Revision 1.197.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:00 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.197: +37 -11 lines
Diff to previous 1.197 (colored)

sync with HEAD

Revision 1.179.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:35 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.4: +37 -11 lines
Diff to previous 1.179.2.4 (colored)

sync with head.

Revision 1.197.2.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:22 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.197.2.1: +11 -11 lines
Diff to previous 1.197.2.1 (colored) to branchpoint 1.197 (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.196.2.5 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:27 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.196.2.4: +3 -2 lines
Diff to previous 1.196.2.4 (colored) to branchpoint 1.196 (colored) next main 1.197 (colored)

Sync with head.

Revision 1.197.6.3 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:16 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.197.6.2: +2 -1 lines
Diff to previous 1.197.6.2 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

sync with head.

Revision 1.200 / (download) - annotate - [select for diffs], Mon Oct 15 14:12:54 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.199: +2 -1 lines
Diff to previous 1.199 (colored)

Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These
are extensions but are provided by many Unix systems.

Revision 1.197.6.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:49:11 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.197.6.1: +10 -11 lines
Diff to previous 1.197.6.1 (colored) to branchpoint 1.197 (colored)

sync with head.

Revision 1.199 / (download) - annotate - [select for diffs], Thu Oct 11 19:45:26 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, vmlocking-base
Changes since 1.198: +10 -11 lines
Diff to previous 1.198 (colored)

Merge from vmlocking:

- G/C spinlockmgr() and simple_lock debugging.
- Always include the kernel_lock functions, for LKMs.
- Slightly improved subr_lockdebug code.
- Keep sizeof(struct lock) the same if LOCKDEBUG.

Revision 1.196.2.4 / (download) - annotate - [select for diffs], Thu Oct 11 11:08:17 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.196.2.3: +5 -10 lines
Diff to previous 1.196.2.3 (colored) to branchpoint 1.196 (colored)

- Always include the kernel_lock functions, for LKMs.
- Fix uniprocessor builds.
- Tidy up a bit.

Revision 1.196.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:45:12 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.196.2.2: +27 -1 lines
Diff to previous 1.196.2.2 (colored) to branchpoint 1.196 (colored)

Sync with head.

Revision 1.197.6.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:28:40 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.197: +27 -1 lines
Diff to previous 1.197 (colored)

sync with head.

Revision 1.197.2.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:30 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.197: +27 -1 lines
Diff to previous 1.197 (colored)

Sync with HEAD.

Revision 1.198 / (download) - annotate - [select for diffs], Mon Sep 24 20:01:03 2007 UTC (16 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.197: +27 -1 lines
Diff to previous 1.197 (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.179.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:40 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.3: +9 -2 lines
Diff to previous 1.179.2.3 (colored)

sync with head.

Revision 1.196.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:21 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.196.2.1: +8 -1 lines
Diff to previous 1.196.2.1 (colored) to branchpoint 1.196 (colored)

Sync with HEAD.

Revision 1.196.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:51:03 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.196: +8 -1 lines
Diff to previous 1.196 (colored) next main 1.197 (colored)

Sync with HEAD.

Revision 1.197.8.2 / (download) - annotate - [select for diffs], Wed Aug 1 10:57:08 2007 UTC (16 years, 6 months ago) by christos
Branch: matt-mips64
Changes since 1.197.8.1: +487 -0 lines
Diff to previous 1.197.8.1 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

improve on poerhooks debugging. from Anon Ymous

Revision 1.197.8.1, Wed Aug 1 10:57:07 2007 UTC (16 years, 6 months ago) by christos
Branch: matt-mips64
Changes since 1.197: +0 -487 lines
FILE REMOVED

file systm.h was added on branch matt-mips64 on 2007-08-01 10:57:08 +0000

Revision 1.197 / (download) - annotate - [select for diffs], Wed Aug 1 10:57:07 2007 UTC (16 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.196: +8 -1 lines
Diff to previous 1.196 (colored)

improve on poerhooks debugging. from Anon Ymous

Revision 1.196.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:18 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.196: +5 -1 lines
Diff to previous 1.196 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.194.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:55 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.194.2.1: +2 -2 lines
Diff to previous 1.194.2.1 (colored) next main 1.195 (colored)

Sync with HEAD.

Revision 1.196 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:42 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, hpcarm-cleanup
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.195: +2 -2 lines
Diff to previous 1.195 (colored)

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

Revision 1.194.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:18 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.194: +2 -2 lines
Diff to previous 1.194 (colored)

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

Revision 1.179.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:16 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.2: +20 -49 lines
Diff to previous 1.179.2.2 (colored)

sync with head.

Revision 1.195 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:10 2007 UTC (17 years ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.194: +2 -2 lines
Diff to previous 1.194 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.194 / (download) - annotate - [select for diffs], Thu Feb 15 20:32:47 2007 UTC (17 years ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.193: +3 -1 lines
Diff to previous 1.193 (colored)

Count the number of CPUs at boot and stash in 'ncpu'. Eventually should
have each CPU register at attach, so we can figure out the topology for
the scheduler.

Revision 1.193 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:37 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.192: +17 -19 lines
Diff to previous 1.192 (colored)

Merge newlock2 to head.

Revision 1.188.4.5 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:24 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.188.4.4: +1 -30 lines
Diff to previous 1.188.4.4 (colored) to branchpoint 1.188 (colored) next main 1.189 (colored)

Sync with head.

Revision 1.188.4.4 / (download) - annotate - [select for diffs], Thu Jan 11 22:23:00 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.188.4.3: +9 -5 lines
Diff to previous 1.188.4.3 (colored) to branchpoint 1.188 (colored)

Checkpoint work in progress.

Revision 1.192 / (download) - annotate - [select for diffs], Wed Jan 10 11:20:20 2007 UTC (17 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.191: +1 -2 lines
Diff to previous 1.191 (colored)

Make 'securelevel' internal to the secmodel.

Revision 1.191 / (download) - annotate - [select for diffs], Sun Dec 31 10:35:53 2006 UTC (17 years, 2 months ago) by elad
Branch: MAIN
Changes since 1.190: +1 -29 lines
Diff to previous 1.190 (colored)

Remove comment about securelevel. It's outdated and we have much better
documentation in the form of man-pages.

Revision 1.179.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:56 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179.2.1: +6 -3 lines
Diff to previous 1.179.2.1 (colored)

sync with head.

Revision 1.188.4.3 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:45 2006 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.188.4.2: +3 -1 lines
Diff to previous 1.188.4.2 (colored) to branchpoint 1.188 (colored)

Checkpoint work in progress.

Revision 1.188.4.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:47 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.188.4.1: +5 -2 lines
Diff to previous 1.188.4.1 (colored) to branchpoint 1.188 (colored)

Sync with head.

Revision 1.188.4.1 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:40 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.188: +11 -19 lines
Diff to previous 1.188 (colored)

Checkpoint work in progress.

Revision 1.188.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:47 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.188: +5 -2 lines
Diff to previous 1.188 (colored) next main 1.189 (colored)

sync with head

Revision 1.190 / (download) - annotate - [select for diffs], Sat Sep 30 11:59:37 2006 UTC (17 years, 5 months ago) by yamt
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, 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.189: +4 -1 lines
Diff to previous 1.189 (colored)

- KERNEL_LOCK_ASSERT_LOCKED: check cpu_biglock_count as well.
- implement KERNEL_LOCK_ASSERT_UNLOCKED.

Revision 1.189 / (download) - annotate - [select for diffs], Sun Sep 24 06:51:39 2006 UTC (17 years, 5 months ago) by dogcow
Branch: MAIN
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored)

make powerhook_establish use const char*, not char *. This solves lots of
gcc pointer whining. Since there's one LKM that uses this function, though,
it's kernel version bump time.

Revision 1.183.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:42 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.183: +28 -8 lines
Diff to previous 1.183 (colored) next main 1.184 (colored)

sync with head

Revision 1.184.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.184.2.2: +2 -2 lines
Diff to previous 1.184.2.2 (colored) to branchpoint 1.184 (colored) next main 1.185 (colored)

sync with head

Revision 1.188 / (download) - annotate - [select for diffs], Wed Jul 26 20:50:56 2006 UTC (17 years, 7 months ago) by bjh21
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

Add __attribute__((__noreturn__)) to kernel longjmp(), like the userland one
already has.  This makes arch/acorn26/acorn26/cpu.c compile with GCC 4.

Revision 1.184.2.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:54:29 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.184.2.1: +17 -7 lines
Diff to previous 1.184.2.1 (colored) to branchpoint 1.184 (colored)

sync with head.

Revision 1.179.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:04 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.179: +38 -10 lines
Diff to previous 1.179 (colored)

sync with head.

Revision 1.186.6.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:13 2006 UTC (17 years, 8 months ago) by chap
Branch: chap-midi
Changes since 1.186: +17 -7 lines
Diff to previous 1.186 (colored) next main 1.187 (colored)

Sync with head.

Revision 1.187 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:18 2006 UTC (17 years, 8 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.186: +17 -7 lines
Diff to previous 1.186 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.183.6.4 / (download) - annotate - [select for diffs], Wed May 10 17:02:41 2006 UTC (17 years, 9 months ago) by drochner
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.183.6.3: +2 -2 lines
Diff to previous 1.183.6.3 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

avoid conflicts in the !HAVE_TIMECOUNTER case, and do some namespace
protection

Revision 1.183.6.3 / (download) - annotate - [select for diffs], Mon Apr 24 05:11:24 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.183.6.2: +5 -1 lines
Diff to previous 1.183.6.2 (colored) to branchpoint 1.183 (colored)

ntp_init() must be declared (and called) even in the non NTP
compilation case for timecounters. The NTP code will then collapse
to the minimum necessary for supporting adjtime().

Revision 1.183.6.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:21 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.183.6.1: +11 -1 lines
Diff to previous 1.183.6.1 (colored) to branchpoint 1.183 (colored)

Sync with head.

Revision 1.184.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:43 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.184: +8 -1 lines
Diff to previous 1.184 (colored)

sync with head.

Revision 1.186.2.2 / (download) - annotate - [select for diffs], Tue Mar 7 13:18:21 2006 UTC (17 years, 11 months ago) by tron
Branch: elad-kernelauth
Changes since 1.186.2.1: +496 -0 lines
Diff to previous 1.186.2.1 (colored) to branchpoint 1.186 (colored) next main 1.187 (colored)

Fix build problems caused by the last commit by only providing the
prototypes for trace_XXX() if _KERNEL is defined and including
"sys/types.h" in that case to get the definition of "boolean_t".

Revision 1.186.2.1, Tue Mar 7 13:18:20 2006 UTC (17 years, 11 months ago) by tron
Branch: elad-kernelauth
Changes since 1.186: +0 -496 lines
FILE REMOVED

file systm.h was added on branch elad-kernelauth on 2006-03-07 13:18:21 +0000

Revision 1.186 / (download) - annotate - [select for diffs], Tue Mar 7 13:18:20 2006 UTC (17 years, 11 months ago) by tron
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base
Branch point for: elad-kernelauth, chap-midi
Changes since 1.185: +7 -1 lines
Diff to previous 1.185 (colored)

Fix build problems caused by the last commit by only providing the
prototypes for trace_XXX() if _KERNEL is defined and including
"sys/types.h" in that case to get the definition of "boolean_t".

Revision 1.185 / (download) - annotate - [select for diffs], Tue Mar 7 03:32:06 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.184: +2 -1 lines
Diff to previous 1.184 (colored)

Clean up fallout proc_is_traced_p() change:
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
  trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
  about KTRACE and SYSTRACE, but do no more.

Revision 1.184 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:32 2006 UTC (18 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.183: +4 -1 lines
Diff to previous 1.183 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.183.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:27:09 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.183: +14 -8 lines
Diff to previous 1.183 (colored)

Use new PPS API for the timecounter case.
XXX ifdef hell.

Revision 1.175.4.2 / (download) - annotate - [select for diffs], Fri Jan 20 20:48:41 2006 UTC (18 years, 1 month ago) by riz
Branch: netbsd-3
CVS Tags: 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
Changes since 1.175.4.1: +1 -2 lines
Diff to previous 1.175.4.1 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored)

Back out tickets 490, 559, and 560, which added "magic symlinks", at
the request of chs@ (thorpej@ concurs), as there is consensus that
this should be changed to a system-wide tunable, rather than a mount
option.

Revision 1.183.2.1 / (download) - annotate - [select for diffs], Sat Dec 31 11:14:00 2005 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.183: +4 -1 lines
Diff to previous 1.183 (colored) next main 1.184 (colored)

uio_segflg/uio_lwp -> uio_vmspace.

Revision 1.175.4.1 / (download) - annotate - [select for diffs], Thu Dec 29 00:57:09 2005 UTC (18 years, 2 months ago) by riz
Branch: netbsd-3
Changes since 1.175: +2 -1 lines
Diff to previous 1.175 (colored)

Pull up following revision(s) (requested by thorpej in ticket #490):
	lib/libc/sys/mount.2: revision 1.33
	sys/sys/systm.h: revision 1.179
	sys/sys/fstypes.h: revision 1.4
	include/mntopts.h: revision 1.6
	sys/conf/newvers.sh: revision 1.41
	sys/kern/vfs_syscalls.c: revision 1.223
	sys/conf/files: revision 1.720
	sys/kern/vfs_lookup.c: revision 1.61
	share/man/man7/symlink.7: revision 1.7
	sbin/mount/mount.8: revision 1.47
	sys/kern/init_main.c: revision 1.248 via patch
	share/man/man4/options.4: revision 1.280 via patch
Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine    value of MACHINE for the system
@machine_arch    value of MACHINE_ARCH for the system
@hostname    the system host name, as set with sethostname()
@domainname    the system domain name, as set with setdomainname()
@kernel_ident    the kernel config file name
@osrelease    the releaes number of the OS
@ostype        the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin

Revision 1.183 / (download) - annotate - [select for diffs], Mon Dec 26 18:41:36 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (colored)

u_intN_t -> uintN_t

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

merge ktrace-lwp.

Revision 1.163.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:13 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.163.2.7: +18 -6 lines
Diff to previous 1.163.2.7 (colored) next main 1.164 (colored)

Sync with HEAD. Here we go again...

Revision 1.180.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:52 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-vop
Changes since 1.180: +6 -1 lines
Diff to previous 1.180 (colored) next main 1.181 (colored)

sync with head

Revision 1.181 / (download) - annotate - [select for diffs], Sun Oct 23 00:09:14 2005 UTC (18 years, 4 months ago) by cube
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, 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
Changes since 1.180: +6 -1 lines
Diff to previous 1.180 (colored)

Implement a few changes needed to properly resolve PR#30924, as
discussed in the PR.

- introduce sys/timevar.h to hold kernel-specific stuff relevant to
  sys/time.h.  Ideally, timevar.h would contain all (or almost) of the
  #ifdef _KERNEL part of time.h, but that's a pretty big and tedious
  change to make.  For now, it will contain only the prototypes I
  introduced when working on COMPAT_NETBSD32.

- split copyinout_t into copyin_t and copyout_t, it makes prototypes more
  explicit about the meaning of a given argument.  Suggested by yamt@.

- move copyinout_t definition in sys/time.h to systm.h as copyin_t and
  copyout_t

- make everything uses the new types and include the proper headers at
  the proper places.

Revision 1.180 / (download) - annotate - [select for diffs], Sun Aug 28 20:58:14 2005 UTC (18 years, 6 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.179: +4 -1 lines
Diff to previous 1.179 (colored)

Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be
used in ioctl routines to do the right thing when the FKIOCTL flag is
passed to the IOCTL routine indicating its a in-kernel VOP_IOCTL call and
indirect addresses provided in the arguments are to be seen as kernel
adresses rather than userland adresses.

A simple substitution and prepending of the `flags' passed on to the ioctl
handler is enough to DTRT.

Revision 1.179 / (download) - annotate - [select for diffs], Thu Jun 23 00:30:28 2005 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.178: +2 -1 lines
Diff to previous 1.178 (colored)

Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin

Revision 1.178 / (download) - annotate - [select for diffs], Tue May 31 16:10:47 2005 UTC (18 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.177: +4 -4 lines
Diff to previous 1.177 (colored)

avoid a shadow.

Revision 1.177 / (download) - annotate - [select for diffs], Sun May 29 21:19:41 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.176: +3 -3 lines
Diff to previous 1.176 (colored)

Sprinkle const.

Revision 1.176 / (download) - annotate - [select for diffs], Tue May 17 04:14:58 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.175: +4 -1 lines
Diff to previous 1.175 (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.174.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.174: +117 -119 lines
Diff to previous 1.174 (colored) next main 1.175 (colored)

sync with -current

Revision 1.174.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:56 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.174: +117 -119 lines
Diff to previous 1.174 (colored) next main 1.175 (colored)

sync with head.

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

Sync with HEAD.

Revision 1.175 / (download) - annotate - [select for diffs], Thu Feb 3 19:20:02 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, 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, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.174: +117 -119 lines
Diff to previous 1.174 (colored)

de-__P

Revision 1.163.2.6 / (download) - annotate - [select for diffs], Tue Nov 2 07:53:37 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.163.2.5: +8 -1 lines
Diff to previous 1.163.2.5 (colored)

Sync with HEAD.

Revision 1.174 / (download) - annotate - [select for diffs], Sat Oct 23 21:27:33 2004 UTC (19 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.173: +8 -1 lines
Diff to previous 1.173 (colored)

don't reference kernel_lock directly.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.163.2.3 / (download) - annotate - [select for diffs], Wed Aug 18 10:19:08 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.163.2.2: +3 -3 lines
Diff to previous 1.163.2.2 (colored)

Revert to passing struct proc for {exit,exec}hook.

Revision 1.163.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:31 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.163.2.1: +18 -16 lines
Diff to previous 1.163.2.1 (colored)

Sync with HEAD

Revision 1.173 / (download) - annotate - [select for diffs], Mon Jul 5 07:28:45 2004 UTC (19 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.172: +2 -1 lines
Diff to previous 1.172 (colored)

Call inittodr() from main(). Let file system code set the recorded `last
update' time (if any) through the new function setrootfstime().

Revision 1.172 / (download) - annotate - [select for diffs], Tue May 18 11:59:11 2004 UTC (19 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.171: +7 -1 lines
Diff to previous 1.171 (colored)

use lockstatus() instead of L_BIGLOCK to check if we're holding a biglock.
fix PR/25595.

Revision 1.171 / (download) - annotate - [select for diffs], Wed Apr 21 20:31:50 2004 UTC (19 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.170: +2 -1 lines
Diff to previous 1.170 (colored)

Add prototype for uiomove_frombuf.  Change uiomove_frombuf to use size_t
for its length argument (to be the same as uiomove).  Remove code that
dealt with length being negative.

Revision 1.170 / (download) - annotate - [select for diffs], Fri Jan 23 05:01:19 2004 UTC (20 years, 1 month ago) by simonb
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.169: +3 -1 lines
Diff to previous 1.169 (colored)

Fix NTP PPSAPI support (enabled with "options PPS_SYNC"):

From PR kern/13702 from Charles Carvalho.  Tested on alpha and
i386 with a Laipac TF10 PPS-capable GPS.  The com.c change was
copied wholesale from Charles' z8530tty.c patch.

Revision 1.169 / (download) - annotate - [select for diffs], Tue Dec 30 18:29:43 2003 UTC (20 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.168: +1 -3 lines
Diff to previous 1.168 (colored)

Remove allocsys(); nothing uses it anymore.

Revision 1.168 / (download) - annotate - [select for diffs], Fri Oct 31 03:28:14 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored)

Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.

Revision 1.167 / (download) - annotate - [select for diffs], Sun Oct 26 10:45:03 2003 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.166: +1 -3 lines
Diff to previous 1.166 (colored)

move ALLOCSYS() macro from <sys/systm.h> to kern_alloc.c - it's the
only place which uses it

Revision 1.166 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:17 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.165: +2 -6 lines
Diff to previous 1.165 (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.165 / (download) - annotate - [select for diffs], Tue Jul 8 06:49:22 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored)

prototype must not carry variable name

Revision 1.164 / (download) - annotate - [select for diffs], Tue Jul 8 06:18:00 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.163: +5 -5 lines
Diff to previous 1.163 (colored)

prototype must not have variable name

Revision 1.163.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:18 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.163: +4 -4 lines
Diff to previous 1.163 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.163 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:29 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 (colored)

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

Revision 1.162 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:22 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.161: +4 -4 lines
Diff to previous 1.161 (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.161 / (download) - annotate - [select for diffs], Mon Jun 23 11:02:20 2003 UTC (20 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.160: +2 -1 lines
Diff to previous 1.160 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.160 / (download) - annotate - [select for diffs], Sat Apr 26 22:07:17 2003 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored)

Management, not managment. Mostly from jmc@openbsd.

Revision 1.159 / (download) - annotate - [select for diffs], Tue Feb 4 01:21:06 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.158: +1 -3 lines
Diff to previous 1.158 (colored)

New callout implementation.  This is based on callwheel implementation
done by Artur Grabowski and Thomas Nordin for OpenBSD, which is more
efficient in several ways than the callwheel implementation that it is
replacing.  It has been adapted to our pre-existing callout API, and
also provides the slightly more efficient (and much more intuitive)
API (adapted to the callout_*() naming scheme) that the OpenBSD version
provides.

Among other things, this shaves a bunch of cycles off rescheduling-in-
the-future a callout which is already scheduled, which the common case
for TCP timers (notably REXMT and KEEP).

The API has been simplified a bit, as well.  The (very confusing to
a good many people) "ACTIVE" state for callouts has gone away.  There
is now only "PENDING" (scheduled to fire in the future) and "EXPIRED"
(has fired, and the function called).

Kernel version bump not done; we'll ride the 1.6N bump that happened
with the malloc(9) change.

Revision 1.158 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:52 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.157: +5 -3 lines
Diff to previous 1.157 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Jan 24 01:42:52 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.156: +9 -1 lines
Diff to previous 1.156 (colored)

Add "fork hooks", a'la "exec hooks" and "exit hooks" which allow
subsystems to do special processing to the parent and/or child at
fork time.

Revision 1.156 / (download) - annotate - [select for diffs], Sat Jan 18 09:53:21 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.155: +14 -14 lines
Diff to previous 1.155 (colored)

Merge the nathanw_sa branch.

Revision 1.125.2.21 / (download) - annotate - [select for diffs], Fri Jan 3 17:10:43 2003 UTC (21 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.125.2.20: +19 -1 lines
Diff to previous 1.125.2.20 (colored) to branchpoint 1.125 (colored) next main 1.126 (colored)

Sync with HEAD.

Revision 1.155 / (download) - annotate - [select for diffs], Tue Dec 31 23:45:36 2002 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.154: +11 -1 lines
Diff to previous 1.154 (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.154 / (download) - annotate - [select for diffs], Tue Dec 31 17:48:04 2002 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.153: +9 -1 lines
Diff to previous 1.153 (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.125.2.20 / (download) - annotate - [select for diffs], Sun Dec 29 20:56:56 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.125.2.19: +2 -2 lines
Diff to previous 1.125.2.19 (colored) to branchpoint 1.125 (colored)

Sync with HEAD.

Revision 1.153 / (download) - annotate - [select for diffs], Sat Dec 21 16:23:56 2002 UTC (21 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

Pass the system call table to trace_enter() and ktrsys() so that it is
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.

If NULL is given, then the regular systam call table for the process is used.

Revision 1.125.2.19 / (download) - annotate - [select for diffs], Wed Dec 11 06:50:08 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.125.2.18: +3 -2 lines
Diff to previous 1.125.2.18 (colored) to branchpoint 1.125 (colored)

Sync with HEAD.

Revision 1.152 / (download) - annotate - [select for diffs], Sat Nov 16 07:40:42 2002 UTC (21 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.151: +3 -2 lines
Diff to previous 1.151 (colored)

Fix compilation errors introduced by recent trace_enter()/ktrsyscall() changes.

Provided by FUKAUMI Naoki <naoki at fukaumi dot org> in kern/19070.

Revision 1.144.2.1 / (download) - annotate - [select for diffs], Sat Nov 9 10:21:27 2002 UTC (21 years, 3 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.144: +4 -1 lines
Diff to previous 1.144 (colored) next main 1.145 (colored)

Pull up revision 1.146 (requested by thorpej in ticket #527):
* Add copyin_proc() and copyout_proc(), which are like copyin() and
  copyout(), except they can operate on any process, not just curproc.
* Use this in uiomove() to allow UIO_USERSPACE to non-curproc.

Revision 1.125.2.18 / (download) - annotate - [select for diffs], Fri Oct 18 05:11:41 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.17: +3 -3 lines
Diff to previous 1.125.2.17 (colored) to branchpoint 1.125 (colored)

Correct _kernel_proc_{un,}lock() prototypes.

Revision 1.136.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:47 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.136.2.4: +5 -10 lines
Diff to previous 1.136.2.4 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

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

Revision 1.125.2.17 / (download) - annotate - [select for diffs], Tue Sep 17 21:23:57 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.16: +4 -9 lines
Diff to previous 1.125.2.16 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.151 / (download) - annotate - [select for diffs], Fri Sep 13 14:16:48 2002 UTC (21 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.150: +2 -2 lines
Diff to previous 1.150 (colored)

Move humanize_number(9) to the ifdef _KERNEL section, because it conflicts
with humanize_number(3). In reality, the kernel version should be changed
to more closely match the userland version so that there are no prototype
conflicts.

Revision 1.150 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 5 months ago) by gehenna
Branch: MAIN
Changes since 1.149: +4 -9 lines
Diff to previous 1.149 (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.136.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:50:06 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.136.2.3: +13 -3 lines
Diff to previous 1.136.2.3 (colored) to branchpoint 1.136 (colored)

sync kqueue branch with HEAD

Revision 1.143.2.8 / (download) - annotate - [select for diffs], Thu Aug 29 00:57:01 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.7: +4 -3 lines
Diff to previous 1.143.2.7 (colored) next main 1.144 (colored)

catch up with -current.

Revision 1.125.2.16 / (download) - annotate - [select for diffs], Tue Aug 27 23:48:26 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.15: +2 -2 lines
Diff to previous 1.125.2.15 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.149 / (download) - annotate - [select for diffs], Sun Aug 25 22:28:40 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored)

Make uiomove()'s count argument a size_t rather than an int.

Revision 1.148 / (download) - annotate - [select for diffs], Sun Aug 25 20:01:12 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (colored)

Make hashinit() use unsigned quantities throughout.

Revision 1.125.2.15 / (download) - annotate - [select for diffs], Tue Aug 13 02:20:26 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.14: +1 -0 lines
Diff to previous 1.125.2.14 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.147 / (download) - annotate - [select for diffs], Wed Aug 7 05:16:28 2002 UTC (21 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.146: +2 -1 lines
Diff to previous 1.146 (colored)

Implement pmc(9) -- An interface to hardware performance monitoring
counters.  These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface.  Initially, the Intel XScale
counters are the only ones supported.

Revision 1.125.2.14 / (download) - annotate - [select for diffs], Thu Aug 1 02:47:00 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.13: +4 -1 lines
Diff to previous 1.125.2.13 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.143.2.7 / (download) - annotate - [select for diffs], Sat Jul 20 11:35:15 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.6: +4 -1 lines
Diff to previous 1.143.2.6 (colored)

catch up with -current.

Revision 1.146 / (download) - annotate - [select for diffs], Sat Jul 20 03:58:25 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.145: +4 -1 lines
Diff to previous 1.145 (colored)

* Add copyin_proc() and copyout_proc(), which are like copyin() and
  copyout(), except they can operate on any process, not just curproc.
* Use this in uiomove() to allow UIO_USERSPACE to non-curproc.

Revision 1.136.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:04 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.136.2.2: +21 -34 lines
Diff to previous 1.136.2.2 (colored) to branchpoint 1.136 (colored)

catch up with -current on kqueue branch

Revision 1.125.2.13 / (download) - annotate - [select for diffs], Fri Jun 21 00:00:29 2002 UTC (21 years, 8 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.125.2.12: +3 -3 lines
Diff to previous 1.125.2.12 (colored) to branchpoint 1.125 (colored)

Fix prototypes for trace_enter() and trace_exit().

Revision 1.143.2.6 / (download) - annotate - [select for diffs], Thu Jun 20 15:53:04 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.5: +7 -1 lines
Diff to previous 1.143.2.5 (colored)

catch up with -current.

Revision 1.125.2.12 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:18 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.11: +18 -34 lines
Diff to previous 1.125.2.11 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.145 / (download) - annotate - [select for diffs], Mon Jun 17 16:23:58 2002 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.144: +7 -1 lines
Diff to previous 1.144 (colored)

Systrace support.

Revision 1.143.2.5 / (download) - annotate - [select for diffs], Thu May 30 13:52:42 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.4: +12 -34 lines
Diff to previous 1.143.2.4 (colored)

Catch up with -current.

Revision 1.144 / (download) - annotate - [select for diffs], Tue May 21 01:38:26 2002 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.143: +12 -34 lines
Diff to previous 1.143 (colored)

Move kernel_lock manipulation info functions so that they will
show up in a profile.

Revision 1.143.2.4 / (download) - annotate - [select for diffs], Thu May 16 13:11:18 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.3: +3 -1 lines
Diff to previous 1.143.2.3 (colored)

The dev_t of /dev/zero is generated by config(8) as constant.

Revision 1.143.2.3 / (download) - annotate - [select for diffs], Thu May 16 12:47:25 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.2: +2 -2 lines
Diff to previous 1.143.2.2 (colored)

The dev_t of swap device is unchangeable.

Revision 1.143.2.2 / (download) - annotate - [select for diffs], Thu May 16 12:45:34 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143.2.1: +1 -5 lines
Diff to previous 1.143.2.1 (colored)

Remove a prototype to reserve entries for LKM.

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Thu May 16 12:44:42 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.143: +1 -4 lines
Diff to previous 1.143 (colored)

Remove variables to hold # of block/character device switches.

Revision 1.125.2.11 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:13 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.10: +14 -4 lines
Diff to previous 1.125.2.10 (colored) to branchpoint 1.125 (colored)

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

Revision 1.143 / (download) - annotate - [select for diffs], Tue Mar 26 23:17:09 2002 UTC (21 years, 11 months ago) by fredette
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.142: +3 -1 lines
Diff to previous 1.142 (colored)

When DDB is not defined but Debugger() is anyways, define
console_debugger() to be Debugger().  This is relevant on
the sun2 and sun3, where a monitor is always available.

Revision 1.142 / (download) - annotate - [select for diffs], Sun Mar 17 22:19:22 2002 UTC (21 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.141: +8 -1 lines
Diff to previous 1.141 (colored)

- merge all the hook insertion and deletion code so that we don't create
  a fourth copy.
- add exithook to be executed when a process exits.

Revision 1.136.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:22 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.136.2.1: +5 -4 lines
Diff to previous 1.136.2.1 (colored) to branchpoint 1.136 (colored)

Catch up with -current.

Revision 1.141 / (download) - annotate - [select for diffs], Mon Mar 4 02:24:37 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.140: +5 -4 lines
Diff to previous 1.140 (colored)

Add a extern declaration for the mountroot variable.

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:51 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.136: +15 -16 lines
Diff to previous 1.136 (colored)

Sync kqueue branch with -current.

Revision 1.125.2.10 / (download) - annotate - [select for diffs], Mon Dec 3 05:00:14 2001 UTC (22 years, 2 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.125.2.9: +1 -2 lines
Diff to previous 1.125.2.9 (colored) to branchpoint 1.125 (colored)

Garbage-collect realitexpire() prototype.

Revision 1.125.2.9 / (download) - annotate - [select for diffs], Sat Nov 24 19:55:46 2001 UTC (22 years, 3 months ago) by bjh21
Branch: nathanw_sa
Changes since 1.125.2.8: +3 -3 lines
Diff to previous 1.125.2.8 (colored) to branchpoint 1.125 (colored)

Make SYSCALL_DEBUG work again.

Revision 1.125.2.8 / (download) - annotate - [select for diffs], Sat Nov 17 18:45:56 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.7: +2 -1 lines
Diff to previous 1.125.2.7 (colored) to branchpoint 1.125 (colored)

Add struct lwp to the list of structure predeclarations.

Revision 1.125.2.7 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:52 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.6: +6 -2 lines
Diff to previous 1.125.2.6 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.140 / (download) - annotate - [select for diffs], Mon Nov 12 23:08:13 2001 UTC (22 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.139: +5 -1 lines
Diff to previous 1.139 (colored)

Protect printf() like functions and b{copy,zero,cmp} from being defined
in userland.

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:42 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

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

Revision 1.139 / (download) - annotate - [select for diffs], Mon Nov 5 21:38:14 2001 UTC (22 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

Make cn_isconsole check if cn_tab is NULL.

Revision 1.125.2.6 / (download) - annotate - [select for diffs], Mon Oct 22 20:42:12 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.5: +1 -6 lines
Diff to previous 1.125.2.5 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.138 / (download) - annotate - [select for diffs], Sun Oct 21 19:24:43 2001 UTC (22 years, 4 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.137: +1 -6 lines
Diff to previous 1.137 (colored)

Remove two cases of:
	#endif		<- from an #ifdef _KERNEL

	#ifdef _KERNEL

Revision 1.125.2.5 / (download) - annotate - [select for diffs], Mon Oct 8 20:11:50 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.4: +10 -10 lines
Diff to previous 1.125.2.4 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.136.4.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:15 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.136.4.1: +10 -10 lines
Diff to previous 1.136.4.1 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

Catch up with -current.

Revision 1.137 / (download) - annotate - [select for diffs], Fri Sep 28 12:14:27 2001 UTC (22 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.136: +10 -10 lines
Diff to previous 1.136 (colored)

don't include argument names in prototypes.

Revision 1.136.4.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:44 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.125.2.4 / (download) - annotate - [select for diffs], Thu Aug 30 23:37:44 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.3: +7 -7 lines
Diff to previous 1.125.2.3 (colored) to branchpoint 1.125 (colored)

LWP'ify KERNEL_PROC_[UN]LOCK().

Revision 1.125.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:12 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.2: +4 -4 lines
Diff to previous 1.125.2.2 (colored) to branchpoint 1.125 (colored)

Catch up with -current.

Revision 1.136 / (download) - annotate - [select for diffs], Sat Jul 7 17:07:26 2001 UTC (22 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Changes since 1.135: +1 -2 lines
Diff to previous 1.135 (colored)

Remove ovbcopy macro added in last commit.

I think we should sit back and have an actual discussion on all of
this and come to consensus before we make any more changes in all of this.

Revision 1.135 / (download) - annotate - [select for diffs], Sat Jul 7 16:35:21 2001 UTC (22 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored)

Add (parenthetical) macro protection for one of the ovbcopy macro args.

Revision 1.134 / (download) - annotate - [select for diffs], Sat Jul 7 14:45:46 2001 UTC (22 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.133: +2 -1 lines
Diff to previous 1.133 (colored)

have ovbcopy() macro, for cross-BSD compatibility only.

Revision 1.133 / (download) - annotate - [select for diffs], Sat Jul 7 05:22:10 2001 UTC (22 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.132: +0 -5 lines
Diff to previous 1.132 (colored)

I'm an idiot.

Revision 1.132 / (download) - annotate - [select for diffs], Sat Jul 7 05:15:56 2001 UTC (22 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.131: +6 -1 lines
Diff to previous 1.131 (colored)

Add memcmp, memcpy, memmove and memset prototypes, which should have
been here a long time ago.

XXX should this file be un-__P'ed in the new regime? It isn't used in
userland...

Revision 1.131 / (download) - annotate - [select for diffs], Sat Jul 7 04:14:43 2001 UTC (22 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

move the bcopy macro back to generating memcpy.

Here is why:

kernel bcopy and userland bcopy semantics were never the same. bcopy
in the kernel did not traditionally handle overlap.
ovbcopy in the kernel was the traditional "overlapping bcopy".

Lets take a step back here. The point of the macros was to provide
legacy interfaces so we could transition to mem* without disrupting
large parts of the code still being repeatedly merged, like the KAME
merges in net*/. Having purged the last ovbcopy from the kernel,
replacing them all with memmove, we didn't need ovbcopy any more so we
didn't need a macro.

Now, by leaving bcopy as memcpy, we make it clear that if you are
purging bcopys, you should replace them with memcpys. If we used
memmoves everywhere, it would lose very painstaking optimizations made
in the original code during which the ovbcopy/bcopy distinction was
held. Making bcopy into memmove is BAD BAD BAD.

It has been argued we should add an ovbcopy->memmove macro, but that
is precisely what we do not want -- if someone needs ovbcopy, what
they really want to write memmove, not ovbcopy. We don't want NEW code
with ovbcopy, having laboriously gotten rid of it.

In fact, the bcopy/bzero/bcmps in the kernel should all be purged. We
held off on doing net*/ to make the kame merge easier, and similarly
held off on some other places, but the time has come.

Anyway, for all these reasons, bcopy is changed back to memcpy.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Jul 6 15:59:23 2001 UTC (22 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.129: +4 -4 lines
Diff to previous 1.129 (colored)

"safe" the macros for bcopy bzero and bcmp, after a request from mrg

Revision 1.129 / (download) - annotate - [select for diffs], Thu Jul 5 21:51:10 2001 UTC (22 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

bcopy() is documented as allowing overlapping memory regions.  Define it
in terms of the standard name memmove() to account for this.
Fixes kern/13369 and the redundant lib/13370.

Revision 1.125.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:59 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.125.2.1: +9 -9 lines
Diff to previous 1.125.2.1 (colored) to branchpoint 1.125 (colored)

Catch up to -current.

Revision 1.128 / (download) - annotate - [select for diffs], Wed May 30 12:07:05 2001 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored)

use _KERNEL_OPT

Revision 1.127 / (download) - annotate - [select for diffs], Tue May 8 13:07:35 2001 UTC (22 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.126: +3 -3 lines
Diff to previous 1.126 (colored)

cpu_Debugger() is always available on the sun2.

Revision 1.111.2.3 / (download) - annotate - [select for diffs], Sun May 6 15:08:02 2001 UTC (22 years, 9 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.111.2.2: +7 -4 lines
Diff to previous 1.111.2.2 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Pull up revision 1.123 (requested by he):
  Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
  PWR_SOFTRESUME.  Apm calls powerhook with the values in normal interrupt
  priority level while others are protected with splhigh().

Revision 1.126 / (download) - annotate - [select for diffs], Mon Apr 30 01:13:21 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.125: +6 -6 lines
Diff to previous 1.125 (colored)

remove some lint

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

Initial commit of scheduler activations and lightweight process support.

Revision 1.97.2.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:17:39 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.4: +4 -1 lines
Diff to previous 1.97.2.4 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with HEAD.

Revision 1.125 / (download) - annotate - [select for diffs], Sat Jan 27 07:21:43 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.124: +4 -1 lines
Diff to previous 1.124 (colored)

Add a "sy_flags" to struct sysent, define a SYCALL_MPSAFE
system call flag (indicating that the kernel lock does not
need to be acquired when entering the kernel on that syscall).

Revision 1.97.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:24:03 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.3: +3 -1 lines
Diff to previous 1.97.2.3 (colored) to branchpoint 1.97 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.124 / (download) - annotate - [select for diffs], Mon Jan 15 20:19:59 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.123: +4 -2 lines
Diff to previous 1.123 (colored)

Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:19:44 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.2: +6 -3 lines
Diff to previous 1.97.2.2 (colored) to branchpoint 1.97 (colored)

Sync with HEAD.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Nov 26 11:09:00 2000 UTC (23 years, 3 months ago) by takemura
Branch: MAIN
Changes since 1.122: +7 -4 lines
Diff to previous 1.122 (colored)

Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:06:42 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.1: +58 -5 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored)

Sync with HEAD.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:37 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97: +87 -28 lines
Diff to previous 1.97 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.122 / (download) - annotate - [select for diffs], Sun Nov 19 00:56:39 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored)

Back out mistaken commits.

Revision 1.121 / (download) - annotate - [select for diffs], Sun Nov 19 00:54:50 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

Extend kinfo_proc2 with CPU id

Revision 1.120 / (download) - annotate - [select for diffs], Wed Nov 8 22:41:59 2000 UTC (23 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.119: +49 -1 lines
Diff to previous 1.119 (colored)

Add console magic sequence framework.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Nov 8 14:25:23 2000 UTC (23 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.118: +8 -3 lines
Diff to previous 1.118 (colored)

Allow for creation of both LIST and TAILQ based hashes by adding a `hash
type' argument to hashinit().

Revision 1.118 / (download) - annotate - [select for diffs], Thu Nov 2 21:24:16 2000 UTC (23 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.117: +3 -3 lines
Diff to previous 1.117 (colored)

Use "defined(sun3)" rather than "defined(_SUN3_) || defined(_SUN3X_)"

Revision 1.117 / (download) - annotate - [select for diffs], Sun Sep 24 12:32:31 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.116: +3 -1 lines
Diff to previous 1.116 (colored)

add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Aug 22 17:28:30 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.115: +47 -1 lines
Diff to previous 1.115 (colored)

Define the MI parts of the "big kernel lock" perimeter.  From
Bill Sommerfeld.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Aug 18 19:14:34 2000 UTC (23 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

nuke __P for generated syscall prototypes and sy_call_t

Revision 1.114 / (download) - annotate - [select for diffs], Wed Aug 9 03:23:11 2000 UTC (23 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.113: +5 -9 lines
Diff to previous 1.113 (colored)

Remove the "kprintf" gcc attribute permanently.  Use standard "printf"
format checking.  We are now at 1.5E, as the removal of %b will cause
third-party LKMs to break.

Revision 1.111.2.2 / (download) - annotate - [select for diffs], Fri Jul 14 18:10:51 2000 UTC (23 years, 7 months ago) by thorpej
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.111.2.1: +5 -5 lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored)

Update from trunk:
- Fix the likely cause of the "ps(1) hangs machine" problem.  Always
  vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jul 14 07:21:22 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.112: +5 -5 lines
Diff to previous 1.112 (colored)

- Fix the likely cause of the "ps(1) hangs machine" problem.  Always
  vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Tue Jul 4 16:05:32 2000 UTC (23 years, 7 months ago) by jdolecek
Branch: netbsd-1-5
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (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.112 / (download) - annotate - [select for diffs], Tue Jul 4 15:33:28 2000 UTC (23 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (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.109.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:10:28 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.109: +2 -3 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.111 / (download) - annotate - [select for diffs], Sat Jun 10 18:44:45 2000 UTC (23 years, 8 months ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.110: +2 -1 lines
Diff to previous 1.110 (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.110 / (download) - annotate - [select for diffs], Sun May 28 05:49:06 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.109: +1 -3 lines
Diff to previous 1.109 (colored)

Rather than starting init and creating kthreads by forking and then
doing a cpu_set_kpc(), just pass the entry point and argument all
the way down the fork path starting with fork1().  In order to
avoid special-casing the normal fork in every cpu_fork(), MI code
passes down child_return() and the child process pointer explicitly.

This fixes a race condition on multiprocessor systems; a CPU could
grab the newly created processes (which has been placed on a run queue)
before cpu_set_kpc() would be performed.

Revision 1.109 / (download) - annotate - [select for diffs], Fri May 26 21:20:33 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.108: +1 -3 lines
Diff to previous 1.108 (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.108 / (download) - annotate - [select for diffs], Wed May 24 08:14:01 2000 UTC (23 years, 9 months ago) by soren
Branch: MAIN
Changes since 1.107: +5 -1 lines
Diff to previous 1.107 (colored)

#include <opt_ddb.h>

Revision 1.107 / (download) - annotate - [select for diffs], Wed Mar 29 00:01:39 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.106: +3 -2 lines
Diff to previous 1.106 (colored)

Oops, use sort(1) and not sort(brain).

Revision 1.106 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:36 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.105: +7 -2 lines
Diff to previous 1.105 (colored)

Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Mar 23 06:31:52 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.104: +1 -3 lines
Diff to previous 1.104 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Mar 16 17:19:54 2000 UTC (23 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.103: +2 -1 lines
Diff to previous 1.103 (colored)

add hashdone() - frees memory previously allocated via hashinit()

Revision 1.103 / (download) - annotate - [select for diffs], Sun Feb 20 19:32:28 2000 UTC (24 years ago) by sommerfeld
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Add a fifth "divisor" argument to humanize_number; suitable values are
either 1024 or 1000.
Needed because frequencies use decimal rather than power-of-two SI
prefixes.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Feb 3 22:44:11 2000 UTC (24 years ago) by cgd
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.101: +4 -8 lines
Diff to previous 1.101 (colored)

collect all of the forward struct definitions in one place, and then
sort -u them.  (there were duplicates, some even duplicating those at the
top of the file!)

Revision 1.89.2.2 / (download) - annotate - [select for diffs], Tue Feb 1 22:55:30 2000 UTC (24 years ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.89.2.1: +9 -1 lines
Diff to previous 1.89.2.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

Pull up revision 1.101 (requested by fvdl):
  Close procfs security hole.  Fixes SA#2000-001.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Jan 25 01:15:29 2000 UTC (24 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.100: +9 -1 lines
Diff to previous 1.100 (colored)

Add prototypes for exec hooks.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Sat Jan 8 17:56:11 2000 UTC (24 years, 1 month ago) by he
Branch: netbsd-1-4
Changes since 1.89: +4 -3 lines
Diff to previous 1.89 (colored)

Pull up revision 1.100 (requested by assar):
  Add a typedef `sy_call_t' for the function type in `struct sysent',
  making it easier to reference this type.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Dec 28 23:16:49 1999 UTC (24 years, 2 months ago) by assar
Branch: MAIN
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 (colored)

add a typedef `sy_call_t' for the function type used in `struct
sysent'

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:35 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.95: +7 -2 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Pull up to last week's -current.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Nov 22 18:05:41 1999 UTC (24 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

previous is true even for sun3x

Revision 1.98 / (download) - annotate - [select for diffs], Mon Nov 22 16:53:59 1999 UTC (24 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.97: +6 -2 lines
Diff to previous 1.97 (colored)

sun3 has cpu_Debugger() and hence Debugger() available even in non-DDB case

Revision 1.97 / (download) - annotate - [select for diffs], Thu Oct 14 18:42:16 1999 UTC (24 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

remove the MI Debugger() added recently. It doesn't make sense in
it's current form.
make Debugger just an alias for cpu_Debugger

Revision 1.96 / (download) - annotate - [select for diffs], Tue Oct 12 17:08:57 1999 UTC (24 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.95: +2 -1 lines
Diff to previous 1.95 (colored)

rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()

Revision 1.95 / (download) - annotate - [select for diffs], Wed Sep 15 19:35:53 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored)

Prototype cpu_configure().

Revision 1.94 / (download) - annotate - [select for diffs], Fri Sep 10 00:03:52 1999 UTC (24 years, 5 months ago) by tron
Branch: MAIN
Changes since 1.93: +1 -7 lines
Diff to previous 1.93 (colored)

Remove commented out prototypes for bcopy(), bzero() and bcmp().

Revision 1.93 / (download) - annotate - [select for diffs], Fri Sep 10 00:02:06 1999 UTC (24 years, 5 months ago) by tron
Branch: MAIN
Changes since 1.92: +1 -7 lines
Diff to previous 1.92 (colored)

Remove duplicate definition of memchr(), memcmp() etc. which get defined
in "libkern.h". Fixes PR kern/8360 by Anders Hjalmarsson.

Revision 1.89.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:50:36 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.89.4.1: +11 -1 lines
Diff to previous 1.89.4.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

Sync w/ -current.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Jun 26 08:25:26 1999 UTC (24 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.91: +11 -1 lines
Diff to previous 1.91 (colored)

Add powerhooks, i.e., the ability to register a function that will be
called when the machine does a suspend or resume.
XXX Will go away when Jason's kevents come to life.

Revision 1.89.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:30:26 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.89: +10 -1 lines
Diff to previous 1.89 (colored)

Sync w/ -current.

Revision 1.91 / (download) - annotate - [select for diffs], Thu May 20 05:53:34 1999 UTC (24 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.90: +8 -1 lines
Diff to previous 1.90 (colored)

* add humanize_number() (a more generic version of format_bytes(),
  which the latter uses)
* add allocsys() - MI version of the MD function of the same name,
  and ALLOCSYS() - a vamped up VALLOC().

Revision 1.90 / (download) - annotate - [select for diffs], Sun May 9 13:57:44 1999 UTC (24 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.89: +3 -1 lines
Diff to previous 1.89 (colored)

prototype format_bytes()

Revision 1.89 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:29 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Changes since 1.88: +1 -11 lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Fri Mar 12 22:42:32 1999 UTC (24 years, 11 months ago) by perry
Branch: MAIN
Changes since 1.87: +1 -3 lines
Diff to previous 1.87 (colored)

exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145

Revision 1.87 / (download) - annotate - [select for diffs], Thu Jan 28 00:05:17 1999 UTC (25 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86 (colored)

Add [v]snprintf()

Revision 1.86 / (download) - annotate - [select for diffs], Tue Jan 26 17:05:41 1999 UTC (25 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.85: +11 -3 lines
Diff to previous 1.85 (colored)

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

Revision 1.85 / (download) - annotate - [select for diffs], Tue Nov 17 01:41:06 1998 UTC (25 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

provide lkmenodev prototype for LKM || _LKM

Revision 1.84 / (download) - annotate - [select for diffs], Wed Nov 11 06:34:43 1998 UTC (25 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Initial version of API for creating kernel threads (likely to change somewhat
in the future):
- New function, fork_kthread(), takes entry point, argument for entry point,
  and comment for new proc.  May be called by any context, will fork the
  thread from proc0 (requires slight changes to cpu_fork()).
- cpu_set_kpc() now takes a third argument, a void *arg to pass to the
  thread entry point.  Thread entry point now takes void * instead of
  struct proc *.
- Create the pagedaemon and reaper kernel threads using fork_kthread().

Revision 1.83 / (download) - annotate - [select for diffs], Thu Oct 29 21:22:33 1998 UTC (25 years, 4 months ago) by jonathan
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.82: +4 -1 lines
Diff to previous 1.82 (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.82 / (download) - annotate - [select for diffs], Sat Oct 3 19:25:37 1998 UTC (25 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.81: +9 -2 lines
Diff to previous 1.81 (colored)

Fixup big-endian syscall args.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Sep 29 21:03:03 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored)

Implement vsprintf().

Revision 1.80 / (download) - annotate - [select for diffs], Sun Aug 23 22:43:27 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

bitmask_snprintf() now takes a quad_t.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Aug 6 04:50:14 1998 UTC (25 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.78: +15 -13 lines
Diff to previous 1.78 (colored)

comment out the prototypes for bcopy, ovbcopy, bzero, and bcmp.
uncomment macros transforming into memcpy, memmove, memset and memcmp.
the prototypes should be deleted from the file some time soon.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:53 1998 UTC (25 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.77: +2 -7 lines
Diff to previous 1.77 (colored)

defopt DDB.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Jun 14 20:18:56 1998 UTC (25 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.76: +3 -1 lines
Diff to previous 1.76 (colored)

Move the setjmp()/longjmp() prototypes inside _KERNEL protection.  This is
necessary since the `label_t' type is defined for _KERNEL source only, and
there are userlevel sources (i.e. filesystem maintenance tools) that make use
of kernel source files which include this header; also, using the (different)
kernel implementations and prototypes of setjmp()/longjmp() would be wrong
for these programs.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:15 1998 UTC (26 years ago) by fvdl
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:14:01 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +7 -2 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:11:11 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +165 -1 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.75 / (download) - annotate - [select for diffs], Tue Feb 10 14:08:50 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.74: +5 -1 lines
Diff to previous 1.74 (colored)

- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Feb 7 02:45:02 1998 UTC (26 years ago) by chs
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

add flags arg to hashinit(), to pass to malloc().

Revision 1.73 / (download) - annotate - [select for diffs], Thu Feb 5 08:00:43 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.72: +6 -1 lines
Diff to previous 1.72 (colored)

initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly.  :-)

Revision 1.72 / (download) - annotate - [select for diffs], Fri Oct 24 17:37:47 1997 UTC (26 years, 4 months ago) by chuck
Branch: MAIN
Changes since 1.71: +2 -14 lines
Diff to previous 1.71 (colored)

remove vprintf proto from __powerpc__ ifdef [thus making vprintf
available on all platforms]
add prototype for memchr

Revision 1.71 / (download) - annotate - [select for diffs], Sun Oct 19 02:29:20 1997 UTC (26 years, 4 months ago) by mikel
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
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored)

fix some typos in comment about securelevel

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jul 28 23:25:06 1997 UTC (26 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Changes since 1.69: +6 -1 lines
Diff to previous 1.69 (colored)

Add prototypes for the SYSCALL_DEBUG functions

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jun 15 23:42:12 1997 UTC (26 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.68: +6 -1 lines
Diff to previous 1.68 (colored)

Add a short comment clarifying the purpose of swapdev and swapdev_vp.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jun 14 04:19:48 1997 UTC (26 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Add an extern declaration for dumpspec.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Apr 16 23:46:00 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +15 -1 lines
Diff to previous 1.66 (colored)

XXX Kludge for PowerPC - need a kernel vfprintf().

Revision 1.66 / (download) - annotate - [select for diffs], Sun Mar 30 17:29:41 1997 UTC (26 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.65: +4 -1 lines
Diff to previous 1.65 (colored)

PR/3402: Volker Schmidt: Add missing prototype for  hardpps.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Mar 26 22:38:40 1997 UTC (26 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored)

Move findroot/setroot stuff from configure() to cpu_rootconf().

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jan 31 03:04:31 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.63: +16 -1 lines
Diff to previous 1.63 (colored)

- Add external declarations for globals used by the setroot() code.
- Prototype the mountroothook functions here.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Tue Jan 14 21:27:28 1997 UTC (27 years, 1 month ago) by thorpej
Branch: thorpej-setroot
Changes since 1.63: +16 -1 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection.  Notable features:

	- All ports behave in a consistent manner regarding root
	  device selection.
	- No more "options GENERIC"; all kernels have the ability
	  to boot with RB_ASKNAME to select root device and file system
	  type.
	- Root file system type can be wildcarded; a machine-independent
	  function will try all possible file systems for the selected
	  root device until one succeeds.
	- If the root file system fails to mount, the operator will
	  be given the chance to select a new root device and file
	  system type, rather than having the machine simply panic.
	- nfs_mountroot() no longer panics if any part of the NFS
	  mount process fails; it now returns an error, giving the
	  operator a chance to recover.
	- New, more consistent, config(8) grammar.  The constructs:

		config netbsd swap generic
		config netbsd root on nfs

	  have been replaced with:

		config netbsd root on ? type ?
		config netbsd root on ? type nfs

	  Additionally, the operator may select or wildcard root file
	  system type in the kernel configuration file:

		config netbsd root on cd0a type cd9660

	  config(8) now requires that a "root" specification be
	  made.  "root" may be wired down or wildcarded.  "swap" and
	  "dump" specifications are optional, and follow previous
	  semantics.

	- config(8) has a new "file-system" keyword, used to configure
	  file systems into the kernel.  Eventually, this will be used
	  to generate the default vfssw[].

	- "options NFSCLIENT" is obsolete, and is replaced by
	  "file-system NFS".  "options NFSSERVER" still exists, since
	  NFS server support is independent of the NFS file system
	  client.

	- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
	  will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot().  Only SPARC, i386, and Alpha ports have been
tested at this time.  Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jan 9 16:57:14 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored)

Oops, forgot to commit this; declare db_onpanic.  (Thanks, Scott.)

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 18 05:18:04 1996 UTC (27 years, 3 months ago) by jonathan
Branch: MAIN
Changes since 1.61: +7 -2 lines
Diff to previous 1.61 (colored)

make <sys/systm.h> #include-idempotent.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 13 06:07:09 1996 UTC (27 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +3 -1 lines
Diff to previous 1.60 (colored)

Prototype bitmask_snprintf().

Revision 1.60 / (download) - annotate - [select for diffs], Wed Oct 16 11:27:25 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

make the fu{s,}word() and fuswintr() prototypes return an int instead
of a short so that we can detect errors.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Oct 12 23:06:02 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.58: +12 -10 lines
Diff to previous 1.58 (colored)

- Back out previous kprintf change.
- change uiomove() argument from caddr_t to void *; this was the last caddr_t
  in systm.h.
- remove parameter names from the b*() routines to make them look like the
  mem*() counterparts.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Oct 10 19:25:45 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.57: +24 -21 lines
Diff to previous 1.57 (colored)

- printf -> kprintf, sprintf ksprintf
- const poisoning for the copy routines.
- fu* su* fixes:
  XXX:
    1. These are poorly named [better names should have real sizes in them]
    2. Not all of them are in use implemented
    3. Interface is broken; no way to detect errors in fu*
    4. The kernel man 9 pages for copy, fetch and store leave a lot to be
       desired.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Sep 30 16:03:15 1996 UTC (27 years, 5 months ago) by ws
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

Add missing extern declaration of dumpsize

Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 20 22:11:38 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.55: +8 -1 lines
Diff to previous 1.55 (colored)

Add fwd struct declarations and protect include of libkern.h

Revision 1.55 / (download) - annotate - [select for diffs], Sun Sep 8 02:09:50 1996 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +5 -1 lines
Diff to previous 1.54 (colored)

Add some forward declarations.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:35 1996 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Implement poll(2).

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 5 15:47:07 1996 UTC (27 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored)

Remove duplicate declarations of LKM functions and macros.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 16 01:23:46 1996 UTC (27 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.51: +13 -1 lines
Diff to previous 1.51 (colored)

Added prototypes for memcmp, memcpy, memmove, and memset functions.
Added #ifdef'd out macros which map b* function calls to their mem*
equivalents.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jul 17 21:43:24 1996 UTC (27 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored)

Add compile-time and run-time control over automatic niceing

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 13:18:43 1996 UTC (27 years, 8 months ago) by briggs
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Bring in changes to eradicate compile warning if NTP. With permission from jtc.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jun 9 04:55:09 1996 UTC (27 years, 8 months ago) by briggs
Branch: MAIN
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored)

Add prototype for hardupdate() ifdef NTP.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 22 01:23:35 1996 UTC (27 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.48: +8 -1 lines
Diff to previous 1.48 (colored)

add prototypes from <sys/cpu.h> to the appropriate places

Revision 1.48 / (download) - annotate - [select for diffs], Tue Apr 9 20:55:38 1996 UTC (27 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)

fix extra spaces at ends of lines, etc.  (all spacing nits.)

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 3 20:46:47 1996 UTC (27 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.46: +10 -6 lines
Diff to previous 1.46 (colored)

Change kprintf attribute to be conditional on the pre-processor define
__KPRINTF_ATTRIBUTE__ so that our kernel compiles cleanly with versions
of gcc that do not support the kprintf format attribute.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Mar 31 21:36:40 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.45: +9 -7 lines
Diff to previous 1.45 (colored)

- Make lkmenodev() be the same type as enodev.
- Change printf attributes to __kprintf__ attributes.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Mar 17 02:43:09 1996 UTC (27 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.44: +5 -1 lines
Diff to previous 1.44 (colored)

Prototype kmstartup()

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 16 23:12:14 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.43: +12 -10 lines
Diff to previous 1.43 (colored)

The return attribute 'volatile' to indicate functions that do not
return does not work anymore under gcc-2.7.2. Change such functions
to use __attribute__((__noreturn__)). In addition add appropriate
__attribute__ adornments to printf like functions... This generated
another barrage of compiler warnings in printf bugs that I will
promptly fix.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 14 18:59:12 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.42: +1 -3 lines
Diff to previous 1.42 (colored)

filedesc.h, proc.h: Rename fdopen() to filedescopen() so that it does not
		    conflict with the floppy driver.
conf.h: Protect against multiple inclusions. The reason will become apparent
	soon.
systm.h: Bring Debugger() prototype into scope.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 13 21:08:09 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Kernel version of longjmp does not take the return value of setjmp as
an argument. It always returns 1.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 7 14:29:48 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.40: +4 -1 lines
Diff to previous 1.40 (colored)

exec_ecoff.h: add missing prototype for cpu_exec_ecoff_hook
sysctl.h: added missing prototype for sysctl_ntptime
systm.h: added missing prototypes for setjmp, longjmp.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Feb 10 00:13:28 1996 UTC (28 years ago) by christos
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Follow Charles' advise about the location of some of the prototypes.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 9 18:25:42 1996 UTC (28 years ago) by christos
Branch: MAIN
Changes since 1.38: +20 -6 lines
Diff to previous 1.38 (colored)

Filesystem prototype changes

Revision 1.38 / (download) - annotate - [select for diffs], Sun Feb 4 02:12:45 1996 UTC (28 years ago) by christos
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Fix some missing/wrong prototypes so that kern/* compiles again

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 19 21:40:36 1995 UTC (28 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

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

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 26 10:39:20 1995 UTC (28 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

prototype inittodr and resettodr

Revision 1.35 / (download) - annotate - [select for diffs], Wed May 31 20:41:55 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.34: +10 -2 lines
Diff to previous 1.34 (colored)

add a facility by which to register 'hooks' to be run at shutdown time.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 9 15:47:44 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Change bcopy() and bzero() prototypes to use size_t.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 8 02:48:20 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

copy*() should use size_t, not u_int or u_long, and especially not a
combination of the two.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 8 00:52:59 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.31: +8 -8 lines
Diff to previous 1.31 (colored)

copy*'s last argument is a u_long pointer, not a u_int pointer.
make [fs]*word take/return longs as appropriate.  actually, these
functions need to be rethought, in general.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 20 04:29:06 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

update for new syscall args description mechanism

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 29 06:45:40 1994 UTC (29 years, 8 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.29: +4 -3 lines
Diff to previous 1.29 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 27 19:32:15 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

new standard, minimally intrusive ID format

Revision 1.28 / (download) - annotate - [select for diffs], Thu May 12 10:30:46 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (colored)

Prototype log(), logpri(), and addlog(), in an appropriate place.

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 5 05:40:20 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.26: +176 -1 lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Fri Apr 29 23:16:54 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

change timeout/untimeout/wakeup/sleep/tsleep args to void *

Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 15 07:22:11 1994 UTC (30 years ago) by cgd
Branch: MAIN
CVS Tags: wnvm, nvm-base, nvm
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored)

define nsysent right next to the sysent table.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 15 06:55:19 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (colored)

oops, forgot the proc!

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 15 06:51:39 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

fix proto

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 15 06:38:33 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

add SYSCALL_DEBUG stuff for glass

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 9 20:54:51 1994 UTC (30 years ago) by mycroft
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (colored)

Format police.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 1 02:45:08 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (colored)

spl prototypes do not belong here (cause people might want to inline them)

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 30 13:21:15 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

repair seltrue prototype
make panic() a varargs function

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 15 20:23:30 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

delete duplicate proto for slattach

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 8 15:19:14 1994 UTC (30 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored)

Move some prototypes to a better location.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 17 00:12:30 1993 UTC (30 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 6 23:38:19 1993 UTC (30 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

generalize kernacc() to any protections in the function "kerncheckprot()",
and prototype it.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Fri Oct 1 01:43:16 1993 UTC (30 years, 5 months ago) by deraadt
Branch: magnum
Changes since 1.14.2.2: +1 -1 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

systm.h: seltrue takes a dev_t for it's first arg
disk.h: duplicate 4.4-like disklabel functions, unneeded

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Fri Sep 24 08:58:08 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.14.2.1: +1 -1 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Changes from trunk.
conf.h, disk.h, disklabel.h: strategy functions return void.  dump functions
take dev, blkno, maddr, and length.
dkstat.h: Add CP_INTR.
mount.h: Make fsid_t a structure with two longs inside, now that quad is gone.
proc.h: Replace p_[us]time with p_[usi]ticks.
systm.h: Don't declare spl*() or psuedo-device attach functions.  Declare
endtsleep().  Change declaration of panic().
types.h: Replace u_quad and quad with u_quad_t and quad_t, which use the GCC
`long long' type.  Modify qaddr_t accordingly.
vnode.h: Change va_size and va_bytes to u_quad_ts.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Sep 14 18:34:56 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

kernel.h:  from 4.4:  Several things moved to gmon.h.  New stathz and profhz.
proc.h:  from 4.4:  New SPROFIL.
resource.h:  from 4.4:  New struct loadavg.  averunnable and avenrun moved
here.
systm.h:  from 4.4:  Nuke startrtclock() and enablertclock().  Add initclocks()
and cpu_initclocks().  Rename gatherstats() to statclock().
Incorporate changes from main branch.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 3 23:53:09 1993 UTC (30 years, 5 months ago) by jtc
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

Inline max, min, imax, and imin if using GCC.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 4 23:30:58 1993 UTC (30 years, 8 months ago) by cgd
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.12: +1 -1 lines
Diff to previous 1.12 (colored)

change exit() to kexit(), and remove proto for fdopen()
so prototypes are "safe" with std*.h, etc.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 4 09:53:29 1993 UTC (30 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

prototype setregs(), so we don't go through this again...

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 1 19:02:56 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Use __dead, not volatile.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 1 04:05:21 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

Please remind me to shoot Andrew.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 27 05:59:08 1993 UTC (30 years, 8 months ago) by andrew
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

ANSIfications - lots of function prototyping.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 22 06:30:38 1993 UTC (30 years, 8 months ago) by glass
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

god damn fucking stupid ansi type promotion.....

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 6 23:05:26 1993 UTC (30 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
don't conflict w/ansi prototypes...

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 6 03:37:07 1993 UTC (30 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

prototype some things!  this is arguably not done very well,
but it was free from bde & rod!

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 18 18:20:39 1993 UTC (30 years, 9 months 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], Mon Apr 19 01:23:21 1993 UTC (30 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Add consistent multiple-inclusion protection.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 3 02:18:40 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

added changes from Steven Reiz <sreiz@aie.nl> (based on
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc.  (should still work
when gcc1.39 is in use.)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: patchkit-0-2-2
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

after 0.2.2 "stable" patches applied

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: 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 (30 years, 11 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>