CVS log for src/sys/sys/systm.h
Up to [cvs.NetBSD.org] / src / sys / sys
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.306: download - view: text, markup, annotated - select for diffs
Sun May 12 10:34:56 2024 UTC (6 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.305: preferred, colored
Changes since revision 1.305: +10 -10
lines
sys/sys: remove CONSTCOND comment from do-while-0 loop
Lint doesn't need this comment anymore, as there is nothing surprising
or unusual about this idiom.
Revision 1.305: download - view: text, markup, annotated - select for diffs
Sat Sep 9 16:01:09 2023 UTC (14 months, 3 weeks ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.304: preferred, colored
Changes since revision 1.304: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 9 00:15:09 2023 UTC (14 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.303: preferred, colored
Changes since revision 1.303: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 8 23:25:39 2023 UTC (14 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.302: preferred, colored
Changes since revision 1.302: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon May 22 14:07:24 2023 UTC (18 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.301: preferred, colored
Changes since revision 1.301: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:36 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.300: preferred, colored; next MAIN 1.301: preferred, colored
Changes since revision 1.300: +3 -2
lines
Sync w/ HEAD.
Revision 1.301: download - view: text, markup, annotated - select for diffs
Wed Jun 16 11:55:10 2021 UTC (3 years, 5 months ago) by rin
Branches: 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-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.300: preferred, colored
Changes since revision 1.300: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:03 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.298: preferred, colored; next MAIN 1.299: preferred, colored
Changes since revision 1.298: +8 -1
lines
Sync with HEAD.
Revision 1.300: download - view: text, markup, annotated - select for diffs
Sun Mar 14 02:53:57 2021 UTC (3 years, 8 months ago) by rin
Branches: 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
Diff to: previous 1.299: preferred, colored
Changes since revision 1.299: +6 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 10 13:27:51 2021 UTC (3 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.298: preferred, colored
Changes since revision 1.298: +3 -1
lines
Add printf_nostamp(9), kernel printf() without prepending a timestamp.
Revision 1.298: download - view: text, markup, annotated - select for diffs
Fri Aug 28 12:43:24 2020 UTC (4 years, 3 months ago) by christos
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.297: preferred, colored
Changes since revision 1.297: +8 -6
lines
Fix uninitialized, caught by llvm. Tuck variables in blocks where they are
needed.
Revision 1.297: download - view: text, markup, annotated - select for diffs
Thu Aug 27 14:11:57 2020 UTC (4 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.296: preferred, colored
Changes since revision 1.296: +2 -2
lines
Sort includes, nix trailing whitespace, fix comment.
Revision 1.296: download - view: text, markup, annotated - select for diffs
Wed Aug 26 22:56:55 2020 UTC (4 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.295: preferred, colored
Changes since revision 1.295: +37 -7
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 30 16:20:03 2020 UTC (4 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.294: preferred, colored
Changes since revision 1.294: +2 -8
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:20 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.276.2.1: preferred, colored; branchpoint 1.276: preferred, colored; next MAIN 1.277: preferred, colored
Changes since revision 1.276.2.1: +151 -60
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.294: download - view: text, markup, annotated - select for diffs
Sat Apr 4 19:50:54 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.293: preferred, colored
Changes since revision 1.293: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:10 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.292: preferred, colored; next MAIN 1.293: preferred, colored
Changes since revision 1.292: +1 -14
lines
Sync with head.
Revision 1.293: download - view: text, markup, annotated - select for diffs
Sat Feb 8 07:07:07 2020 UTC (4 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.292: preferred, colored
Changes since revision 1.292: +1 -14
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 1 09:33:19 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.291: preferred, colored
Changes since revision 1.291: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 15 12:18:46 2019 UTC (5 years ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.290: preferred, colored
Changes since revision 1.290: +38 -1
lines
Instrument ufetch/ustore in kMSan, these were the last remaining functions.
Revision 1.290: download - view: text, markup, annotated - select for diffs
Fri Nov 15 08:11:36 2019 UTC (5 years ago) by maxv
Branches: MAIN
Diff to: previous 1.289: preferred, colored
Changes since revision 1.289: +3 -2
lines
Instrument copyout() in kCSan, for parity with kMSan.
Revision 1.289: download - view: text, markup, annotated - select for diffs
Thu Nov 14 16:23:53 2019 UTC (5 years ago) by maxv
Branches: MAIN
Diff to: previous 1.288: preferred, colored
Changes since revision 1.288: +18 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 5 20:19:18 2019 UTC (5 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.287: preferred, colored
Changes since revision 1.287: +14 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 10 13:45:14 2019 UTC (5 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.286: preferred, colored
Changes since revision 1.286: +76 -47
lines
Add KASAN instrumentation on ucas and ufetch.
Revision 1.286: download - view: text, markup, annotated - select for diffs
Tue Jul 23 17:39:36 2019 UTC (5 years, 4 months ago) by rin
Branches: MAIN
CVS tags: netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Diff to: previous 1.285: preferred, colored
Changes since revision 1.285: +7 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:57 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +114 -19
lines
Sync with HEAD
Revision 1.285: download - view: text, markup, annotated - select for diffs
Mon May 20 20:35:45 2019 UTC (5 years, 6 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.284: preferred, colored
Changes since revision 1.284: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat May 4 10:07:11 2019 UTC (5 years, 7 months ago) by maxv
Branches: MAIN
Diff to: previous 1.283: preferred, colored
Changes since revision 1.283: +9 -2
lines
Add KASAN instrumentation for kcopy and copystr.
Revision 1.283: download - view: text, markup, annotated - select for diffs
Thu Apr 11 17:43:45 2019 UTC (5 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: isaki-audio2-base,
isaki-audio2
Diff to: previous 1.282: preferred, colored
Changes since revision 1.282: +10 -1
lines
Add KASAN instrumentation for copyin/copyinstr/copyoutstr. No copyout for
now, because mm.c needs whitelisting.
Revision 1.282: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:28 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.281: preferred, colored
Changes since revision 1.281: +68 -17
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:59 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.275.2.5: preferred, colored; branchpoint 1.275: preferred, colored; next MAIN 1.276: preferred, colored
Changes since revision 1.275.2.5: +5 -1
lines
Synch with HEAD
Revision 1.281: download - view: text, markup, annotated - select for diffs
Mon Jan 7 13:09:47 2019 UTC (5 years, 10 months ago) by martin
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118
Diff to: previous 1.280: preferred, colored
Changes since revision 1.280: +5 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:07 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.275.2.4: preferred, colored; branchpoint 1.275: preferred, colored
Changes since revision 1.275.2.4: +14 -1
lines
Sync with HEAD, resolve a few conflicts
Revision 1.280: download - view: text, markup, annotated - select for diffs
Sun Dec 2 21:00:13 2018 UTC (6 years ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1226
Diff to: previous 1.279: preferred, colored
Changes since revision 1.279: +14 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:46 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.275.2.3: preferred, colored; branchpoint 1.275: preferred, colored
Changes since revision 1.275.2.3: +9 -1
lines
Sync with head
Revision 1.279: download - view: text, markup, annotated - select for diffs
Fri Oct 5 22:12:37 2018 UTC (6 years, 2 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-1126,
pgoyette-compat-1020
Diff to: previous 1.278: preferred, colored
Changes since revision 1.278: +9 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:58 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.275.2.2: preferred, colored; branchpoint 1.275: preferred, colored
Changes since revision 1.275.2.2: +3 -3
lines
Ssync with HEAD
Revision 1.272.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 23 17:33:15 2018 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.272: preferred, colored; next MAIN 1.273: preferred, colored
Changes since revision 1.272: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 18 01:25:09 2018 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-0930
Diff to: previous 1.277: preferred, colored
Changes since revision 1.277: +3 -3
lines
- 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 - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:47 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.275.2.1: preferred, colored; branchpoint 1.275: preferred, colored
Changes since revision 1.275.2.1: +2 -1
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.277: download - view: text, markup, annotated - select for diffs
Fri Aug 10 21:44:59 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:08 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +2 -1
lines
Sync with HEAD
Revision 1.276: download - view: text, markup, annotated - select for diffs
Mon May 28 21:04:41 2018 UTC (6 years, 6 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +2 -1
lines
add copyin_pid(), to copyin from a different user address space.
Revision 1.275: download - view: text, markup, annotated - select for diffs
Sun Feb 4 17:31:51 2018 UTC (6 years, 10 months ago) by maxv
Branches: 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
Diff to: previous 1.274: preferred, colored
Changes since revision 1.274: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:21 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.257.2.2: preferred, colored; branchpoint 1.257: preferred, colored; next MAIN 1.258: preferred, colored
Changes since revision 1.257.2.2: +17 -8
lines
update from HEAD
Revision 1.274: download - view: text, markup, annotated - select for diffs
Fri Oct 27 12:25:15 2017 UTC (7 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +1 -1
lines
Revert printf return value change.
Revision 1.273: download - view: text, markup, annotated - select for diffs
Fri Oct 27 09:59:17 2017 UTC (7 years, 1 month ago) by utkarsh009
Branches: MAIN
Diff to: previous 1.272: preferred, colored
Changes since revision 1.272: +2 -2
lines
[syzkaller] Change the return type of printf(9)
from 'void' to 'int' for extracting constants with syzkaller
Revision 1.266.4.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:41:01 2017 UTC (7 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.266.4.5: preferred, colored; branchpoint 1.266: preferred, colored; next MAIN 1.267: preferred, colored
Changes since revision 1.266.4.5: +2 -2
lines
Sync with HEAD
Revision 1.271.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:53 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.271: preferred, colored; next MAIN 1.272: preferred, colored
Changes since revision 1.271: +2 -2
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.272: download - view: text, markup, annotated - select for diffs
Thu Dec 22 16:05:15 2016 UTC (7 years, 11 months ago) by cherry
Branches: 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
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +2 -2
lines
physmem should be of type psize_t
Also, use PRIxPSIZE when printf(9)ing physmem.
Revision 1.266.4.5: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:24 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.266.4.4: preferred, colored; branchpoint 1.266: preferred, colored
Changes since revision 1.266.4.4: +3 -2
lines
Sync with HEAD
Revision 1.271: download - view: text, markup, annotated - select for diffs
Wed Jul 6 05:20:48 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: 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
Diff to: previous 1.270: preferred, colored
Changes since revision 1.270: +3 -2
lines
Add HASH_PSLIST (pslist(9)) type for hashinit()
Revision 1.266.4.4: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:39 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.266.4.3: preferred, colored; branchpoint 1.266: preferred, colored
Changes since revision 1.266.4.3: +7 -5
lines
Sync with HEAD
Revision 1.270: download - view: text, markup, annotated - select for diffs
Sat Jan 23 20:44:06 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Diff to: previous 1.269: preferred, colored
Changes since revision 1.269: +7 -5
lines
move more kernel stuff under #ifdef _KERNEL
Revision 1.266.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:18 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.266.4.2: preferred, colored; branchpoint 1.266: preferred, colored
Changes since revision 1.266.4.2: +2 -1
lines
Sync with HEAD (as of 26th Dec)
Revision 1.269: download - view: text, markup, annotated - select for diffs
Thu Oct 29 00:27:08 2015 UTC (9 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.268: preferred, colored
Changes since revision 1.268: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:17 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.266.4.1: preferred, colored; branchpoint 1.266: preferred, colored
Changes since revision 1.266.4.1: +2 -1
lines
Sync with HEAD
Revision 1.268: download - view: text, markup, annotated - select for diffs
Fri Aug 28 07:18:40 2015 UTC (9 years, 3 months ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +2 -1
lines
fix interrupt_* stubs. reported by skrll@n.o
Revision 1.266.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:32 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +7 -3
lines
Sync with HEAD
Revision 1.267: download - view: text, markup, annotated - select for diffs
Sat Mar 7 16:34:55 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +7 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:44 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.257.2.1: preferred, colored; branchpoint 1.257: preferred, colored
Changes since revision 1.257.2.1: +6 -8
lines
Rebase to HEAD as of a few days ago.
Revision 1.263.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:55 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.263: preferred, colored; next MAIN 1.264: preferred, colored
Changes since revision 1.263: +3 -2
lines
Rebase.
Revision 1.266: download - view: text, markup, annotated - select for diffs
Sun Aug 3 12:49:32 2014 UTC (10 years, 4 months ago) by wiz
Branches: 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
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +2 -2
lines
Fix typo in comment.
Revision 1.265: download - view: text, markup, annotated - select for diffs
Sun Aug 3 09:15:21 2014 UTC (10 years, 4 months ago) by apb
Branches: MAIN
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +2 -1
lines
BUILDINFO part 2: expose sysctl kern.buildinfo
Revision 1.264: download - view: text, markup, annotated - select for diffs
Thu Jul 17 14:55:32 2014 UTC (10 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +2 -2
lines
Expand null macros to `do {} while (0)', not to nothing.
Revision 1.250.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:18 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.250.2.3: preferred, colored; branchpoint 1.250: preferred, colored; next MAIN 1.251: preferred, colored
Changes since revision 1.250.2.3: +6 -10
lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:46:21 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.258: preferred, colored; next MAIN 1.259: preferred, colored
Changes since revision 1.258: +5 -8
lines
sync with head
Revision 1.263: download - view: text, markup, annotated - select for diffs
Thu Apr 3 15:22:57 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Branch point for: tls-earlyentropy
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +2 -1
lines
add cpu_bootconf()
Revision 1.262: download - view: text, markup, annotated - select for diffs
Wed Mar 26 18:03:47 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +1 -5
lines
remove {v,}sprintf
Revision 1.261: download - view: text, markup, annotated - select for diffs
Mon Mar 24 20:07:40 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +1 -2
lines
- create cpu_{g,s}etmodel() and hide cpu_model from direct access.
Revision 1.228.4.2.4.4: download - view: text, markup, annotated - select for diffs
Fri Feb 14 18:38:15 2014 UTC (10 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.228.4.2.4.3: preferred, colored; branchpoint 1.228.4.2: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228.4.2.4.3: +2 -1
lines
Change KASSERTMSG/KDASSERTMSG to use varadic arguments like HEAD.
panic -> vpanic, add panic wrapper to vpanic.
Revision 1.260: download - view: text, markup, annotated - select for diffs
Sat Feb 1 09:04:57 2014 UTC (10 years, 10 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.259: preferred, colored
Changes since revision 1.259: +3 -2
lines
Fix definition of SYCALL_ARG_PTR
Add SYCALL_ARG_PTR_P(sy)
Revision 1.228.4.2.4.3: download - view: text, markup, annotated - select for diffs
Thu Nov 14 17:34:02 2013 UTC (11 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.228.4.2.4.2: preferred, colored; branchpoint 1.228.4.2: preferred, colored
Changes since revision 1.228.4.2.4.2: +3 -1
lines
more things for xhci
Revision 1.259: download - view: text, markup, annotated - select for diffs
Sat Oct 26 18:31:29 2013 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.258: preferred, colored
Changes since revision 1.258: +2 -2
lines
change void<space> to void<tab> for device_printf
Revision 1.257.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:29 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +2 -3
lines
resync from head
Revision 1.258: download - view: text, markup, annotated - select for diffs
Mon Mar 18 13:36:23 2013 UTC (11 years, 8 months ago) by para
Branches: 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
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +2 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:58 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.250.2.2: preferred, colored; branchpoint 1.250: preferred, colored
Changes since revision 1.250.2.2: +2 -1
lines
sync with head
Revision 1.257: download - view: text, markup, annotated - select for diffs
Fri Aug 3 18:08:01 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +2 -1
lines
If any argument of a syscall is a pointer, set SYCALL_ARG_PTR as a flag.
Revision 1.250.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:53 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.250.2.1: preferred, colored; branchpoint 1.250: preferred, colored
Changes since revision 1.250.2.1: +38 -56
lines
sync with head
Revision 1.256: download - view: text, markup, annotated - select for diffs
Sun Nov 27 11:07:21 2011 UTC (13 years ago) by martin
Branches: 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
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +2 -2
lines
No <stdbool.h> if _STANDALONE
Revision 1.255: download - view: text, markup, annotated - select for diffs
Sun Nov 27 10:31:12 2011 UTC (13 years ago) by martin
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +4 -1
lines
If not kernel, include <stdbool.h>
Revision 1.254: download - view: text, markup, annotated - select for diffs
Sun Nov 27 03:52:38 2011 UTC (13 years ago) by jakllsch
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +2 -2
lines
Make KERNEL_LOCKED_P() work for !defined(MULTIPROCESSOR) && !defined(_MODULE).
Revision 1.253: download - view: text, markup, annotated - select for diffs
Sun Nov 27 03:24:00 2011 UTC (13 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +4 -1
lines
add KERNEL_LOCKED_P() macro
Revision 1.252: download - view: text, markup, annotated - select for diffs
Mon Nov 21 04:36:06 2011 UTC (13 years ago) by christos
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +32 -56
lines
change printf gcc attribute to __printflike(), requested by joerg.
Revision 1.250.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:51 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +2 -2
lines
sync with head
Revision 1.251: download - view: text, markup, annotated - select for diffs
Sat Nov 5 09:27:06 2011 UTC (13 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 30 10:23:03 2011 UTC (13 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 29 20:52:12 2011 UTC (13 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +15 -4
lines
- add missing attributes to varyadic print functions
- add vpanic()
Revision 1.248: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:54 2011 UTC (13 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +5 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:13 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.245: preferred, colored; next MAIN 1.246: preferred, colored
Changes since revision 1.245: +13 -11
lines
Sync with HEAD.
Revision 1.239.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:26 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.239: preferred, colored; next MAIN 1.240: preferred, colored
Changes since revision 1.239: +32 -13
lines
sync with head
Revision 1.245.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:05 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.245: preferred, colored; next MAIN 1.246: preferred, colored
Changes since revision 1.245: +13 -11
lines
Sync with HEAD
Revision 1.247: download - view: text, markup, annotated - select for diffs
Sat Jan 22 09:40:50 2011 UTC (13 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Diff to: previous 1.246: preferred, colored
Changes since revision 1.246: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 21 17:46:19 2011 UTC (13 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +12 -11
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 7 01:13:41 2011 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.228.4.2: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228.4.2: +9 -1
lines
Add critpollhooks.
Revision 1.245: download - view: text, markup, annotated - select for diffs
Thu Dec 30 16:49:25 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 30 12:46:34 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +3 -3
lines
update comment
Revision 1.243: download - view: text, markup, annotated - select for diffs
Sat Dec 11 22:27:53 2010 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +9 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:55 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.239: preferred, colored; next MAIN 1.240: preferred, colored
Changes since revision 1.239: +9 -1
lines
Sync with HEAD (-D20101022).
Revision 1.221.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:46 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.221.2.3: preferred, colored; branchpoint 1.221: preferred, colored; next MAIN 1.222: preferred, colored
Changes since revision 1.221.2.3: +9 -1
lines
sync with head
Revision 1.242: download - view: text, markup, annotated - select for diffs
Sun Sep 12 16:07:40 2010 UTC (14 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +2 -1
lines
add a forward struct declaration for the PPS_SYNC case
Revision 1.241: download - view: text, markup, annotated - select for diffs
Sun Aug 22 14:12:10 2010 UTC (14 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +3 -1
lines
Only define kernconfig_lock routines for _KERNEL
Fixes i386 build problem reported by Juergen Hannken-Illjes.
Revision 1.240: download - view: text, markup, annotated - select for diffs
Sat Aug 21 13:17:32 2010 UTC (14 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +6 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:43 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.221.2.2: preferred, colored; branchpoint 1.221: preferred, colored
Changes since revision 1.221.2.2: +21 -3
lines
sync with head
Revision 1.239: download - view: text, markup, annotated - select for diffs
Sun Jan 31 02:04:43 2010 UTC (14 years, 10 months ago) by pooka
Branches: 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
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +2 -2
lines
Pass root device as a parameter to domountroothook().
Revision 1.238: download - view: text, markup, annotated - select for diffs
Sun Dec 13 04:47:45 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +17 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 3 05:23:28 2009 UTC (15 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 6 21:07:05 2009 UTC (15 years, 2 months ago) by elad
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 22 17:05:21 2009 UTC (15 years, 3 months ago) by matt
Branches: 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
Diff to: previous 1.228.4.2.4.1: preferred, colored; branchpoint 1.228.4.2: preferred, colored
Changes since revision 1.228.4.2.4.1: +2 -2
lines
Use correct shift count (off by 1).
Revision 1.228.4.2.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 22 00:13:24 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.228.4.2: preferred, colored
Changes since revision 1.228.4.2: +17 -2
lines
Add some SYCALL_ defines to deal know what arguments are 64bit in nature.
Revision 1.232.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:23:04 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.232: preferred, colored; next MAIN 1.233: preferred, colored
Changes since revision 1.232: +7 -1
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.221.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:36 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.221.2.1: preferred, colored; branchpoint 1.221: preferred, colored
Changes since revision 1.221.2.1: +21 -10
lines
sync with head.
Revision 1.228.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:53 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.228.2.2: preferred, colored; branchpoint 1.228: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228.2.2: +2 -1
lines
Sync with HEAD.
Revision 1.235: download - view: text, markup, annotated - select for diffs
Sun Mar 29 10:58:28 2009 UTC (15 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +2 -1
lines
Add a cental banner() function to print the copyright and version info.
Revision 1.228.4.2: download - view: text, markup, annotated - select for diffs
Sun Mar 15 19:43:48 2009 UTC (15 years, 8 months ago) by snj
Branches: 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
Diff to: previous 1.228.4.1: preferred, colored; branchpoint 1.228: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228.4.1: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 3 18:34:32 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.228.2.1: preferred, colored; branchpoint 1.228: preferred, colored
Changes since revision 1.228.2.1: +6 -1
lines
Sync with HEAD.
Revision 1.228.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 26 20:38:00 2009 UTC (15 years, 9 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 23 20:27:59 2009 UTC (15 years, 9 months ago) by rmind
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 12 18:24:18 2009 UTC (15 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:31 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +7 -5
lines
Sync with HEAD.
Revision 1.214.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:41 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.214.6.3: preferred, colored; branchpoint 1.214: preferred, colored; next MAIN 1.215: preferred, colored
Changes since revision 1.214.6.3: +6 -4
lines
Sync with HEAD.
Revision 1.232: download - view: text, markup, annotated - select for diffs
Fri Dec 19 17:11:57 2008 UTC (15 years, 11 months ago) by pgoyette
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 16 22:35:38 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +1 -3
lines
replace bitmask_snprintf(9) with snprintb(3)
Revision 1.226.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:36 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.226.4.1: preferred, colored; branchpoint 1.226: preferred, colored; next MAIN 1.227: preferred, colored
Changes since revision 1.226.4.1: +3 -2
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.230: download - view: text, markup, annotated - select for diffs
Wed Nov 12 14:29:31 2008 UTC (16 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:28 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +2 -2
lines
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
Revision 1.226.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:18:09 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +4 -4
lines
Sync with HEAD.
Revision 1.223.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:37:10 2008 UTC (16 years, 1 month ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.223.2.2: preferred, colored; branchpoint 1.223: preferred, colored; next MAIN 1.224: preferred, colored
Changes since revision 1.223.2.2: +3 -3
lines
Sync with HEAD.
Revision 1.214.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:41:05 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.214.6.2: preferred, colored; branchpoint 1.214: preferred, colored
Changes since revision 1.214.6.2: +3 -3
lines
Sync with HEAD.
Revision 1.223.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:58 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.223.2.1: preferred, colored; branchpoint 1.223: preferred, colored
Changes since revision 1.223.2.1: +2 -2
lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
Revision 1.228: download - view: text, markup, annotated - select for diffs
Tue Sep 23 22:20:24 2008 UTC (16 years, 2 months ago) by pooka
Branches: 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
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 8 23:36:55 2008 UTC (16 years, 2 months ago) by gmcgarry
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +2 -2
lines
Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
Revision 1.226.2.2: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:52:16 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.226.2.1: preferred, colored; branchpoint 1.226: preferred, colored; next MAIN 1.227: preferred, colored
Changes since revision 1.226.2.1: +1 -3
lines
Revert local changes that were not meant to be in previous "sync with
head" commit.
Revision 1.226.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:55 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +3 -1
lines
Sync with head.
Revision 1.223.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:32:03 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +6 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.219.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:49 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.219.2.1: preferred, colored; branchpoint 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219.2.1: +6 -3
lines
sync with head
Revision 1.214.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:34 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.214.6.1: preferred, colored; branchpoint 1.214: preferred, colored
Changes since revision 1.214.6.1: +13 -10
lines
Sync with HEAD.
Revision 1.226: download - view: text, markup, annotated - select for diffs
Sat May 31 20:27:24 2008 UTC (16 years, 6 months ago) by dyoung
Branches: 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
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue May 20 09:28:39 2008 UTC (16 years, 6 months ago) by dogcow
Branches: MAIN
CVS tags: hpcarm-cleanup-nbase
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon May 19 17:06:02 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +3 -3
lines
Reduce ifdefs due to MULTIPROCESSOR slightly.
Revision 1.219.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:50 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +9 -9
lines
sync with head.
Revision 1.221.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:52 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +6 -6
lines
sync with head.
Revision 1.223: download - view: text, markup, annotated - select for diffs
Mon May 5 17:11:17 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +4 -6
lines
- 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 - view: text, markup, annotated - select for diffs
Sun Apr 27 22:38:12 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +3 -1
lines
Wrap kpreempt stuff in _KERNEL, since bool is only exposed in userspace
via stdbool.h.
Revision 1.221: download - view: text, markup, annotated - select for diffs
Sun Apr 27 11:37:48 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +4 -3
lines
- 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 - view: text, markup, annotated - select for diffs
Thu Apr 24 11:51:19 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +1 -2
lines
- 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 - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:13 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +16 -5
lines
Sync with HEAD.
Revision 1.219: download - view: text, markup, annotated - select for diffs
Tue Apr 1 19:49:31 2008 UTC (16 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +5 -5
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 25 23:21:42 2008 UTC (16 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: ad-socklock-base1
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +2 -2
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Mar 24 09:39:10 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.10: preferred, colored; next MAIN 1.180: preferred, colored
Changes since revision 1.179.2.10: +5 -1
lines
sync with head.
Revision 1.214.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:29 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.214: preferred, colored; next MAIN 1.215: preferred, colored
Changes since revision 1.214: +9 -1
lines
sync with head.
Revision 1.217: download - view: text, markup, annotated - select for diffs
Sun Mar 23 10:39:52 2008 UTC (16 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +4 -1
lines
when calculating some cache sizes, consider the amount of available kva.
PR/33185.
Revision 1.197.4.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:11 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.197.4.2: preferred, colored; branchpoint 1.197: preferred, colored; next MAIN 1.198: preferred, colored
Changes since revision 1.197.4.2: +15 -15
lines
sync with HEAD
Revision 1.216: download - view: text, markup, annotated - select for diffs
Mon Mar 17 21:16:03 2008 UTC (16 years, 8 months ago) by rmind
Branches: MAIN
CVS tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +2 -1
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:47 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.9: preferred, colored
Changes since revision 1.179.2.9: +8 -1
lines
sync with head.
Revision 1.215: download - view: text, markup, annotated - select for diffs
Mon Mar 17 08:27:50 2008 UTC (16 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +8 -1
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:24 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.200.4.3: preferred, colored; branchpoint 1.200: preferred, colored; next MAIN 1.201: preferred, colored
Changes since revision 1.200.4.3: +11 -22
lines
Sync with HEAD.
Revision 1.179.2.9: download - view: text, markup, annotated - select for diffs
Mon Feb 11 15:00:09 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.8: preferred, colored
Changes since revision 1.179.2.8: +3 -4
lines
sync with head.
Revision 1.214: download - view: text, markup, annotated - select for diffs
Wed Feb 6 22:12:42 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +3 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 23 19:27:48 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.203.6.3: preferred, colored; branchpoint 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203.6.3: +0 -11
lines
Sync with HEAD.
Revision 1.179.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:00 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.7: preferred, colored
Changes since revision 1.179.2.7: +14 -23
lines
sync with head
Revision 1.213: download - view: text, markup, annotated - select for diffs
Sun Jan 20 18:09:13 2008 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: bouyer-xeni386-nbase
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +1 -12
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 19 12:15:44 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.203.6.2: preferred, colored; branchpoint 1.203: preferred, colored
Changes since revision 1.203.6.2: +4 -0
lines
Sync with HEAD
Revision 1.212: download - view: text, markup, annotated - select for diffs
Tue Jan 15 14:26:41 2008 UTC (16 years, 10 months ago) by ad
Branches: MAIN
CVS tags: bouyer-xeni386-base
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +2 -1
lines
Don't use the block device to read crashdumps, if possible.
Revision 1.211: download - view: text, markup, annotated - select for diffs
Mon Jan 14 22:47:22 2008 UTC (16 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +3 -1
lines
wrap mp_online with #ifdef _KERNEL.
should fix an ndiscvt build failure reported by Greg Troxel on current-users@.
Revision 1.210: download - view: text, markup, annotated - select for diffs
Mon Jan 14 12:40:03 2008 UTC (16 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +2 -1
lines
add a per-cpu storage allocator.
Revision 1.197.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:20 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.197.4.1: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.4.1: +11 -29
lines
sync with HEAD
Revision 1.203.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:12:00 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.203.6.1: preferred, colored; branchpoint 1.203: preferred, colored
Changes since revision 1.203.6.1: +5 -8
lines
Sync with HEAD
Revision 1.209: download - view: text, markup, annotated - select for diffs
Sat Jan 5 12:53:56 2008 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +3 -4
lines
Don't pass 'curlwp' into trace_enter() and trace_exit().
Revision 1.208: download - view: text, markup, annotated - select for diffs
Sat Jan 5 12:30:47 2008 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +4 -6
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:10 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +7 -6
lines
Sync with HEAD
Revision 1.200.4.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:44 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.200.4.2: preferred, colored; branchpoint 1.200: preferred, colored
Changes since revision 1.200.4.2: +6 -5
lines
Sync with HEAD.
Revision 1.203.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:59 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203: +7 -6
lines
Sync with head.
Revision 1.207: download - view: text, markup, annotated - select for diffs
Tue Dec 25 18:33:49 2007 UTC (16 years, 11 months ago) by perry
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +2 -2
lines
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
Revision 1.206: download - view: text, markup, annotated - select for diffs
Sat Dec 22 16:19:35 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 22 11:38:55 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:14 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:36 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.200.4.1: preferred, colored; branchpoint 1.200: preferred, colored
Changes since revision 1.200.4.1: +1 -8
lines
Sync with HEAD.
Revision 1.179.2.7: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:34:58 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.6: preferred, colored
Changes since revision 1.179.2.6: +1 -8
lines
sync with head
Revision 1.197.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:39:15 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.197.2.4: preferred, colored; branchpoint 1.197: preferred, colored; next MAIN 1.198: preferred, colored
Changes since revision 1.197.2.4: +1 -8
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.203: download - view: text, markup, annotated - select for diffs
Thu Nov 22 22:56:16 2007 UTC (17 years ago) by plunky
Branches: 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
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +1 -8
lines
remove insque/remque from libkern, they are no longer used
Revision 1.200.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:49:33 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +2 -11
lines
Sync with HEAD.
Revision 1.200.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:56 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.200.2.1: preferred, colored; branchpoint 1.200: preferred, colored; next MAIN 1.201: preferred, colored
Changes since revision 1.200.2.1: +0 -10
lines
Sync with HEAD
Revision 1.179.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:35 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.5: preferred, colored
Changes since revision 1.179.2.5: +2 -11
lines
sync with head.
Revision 1.197.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:56 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.197.2.3: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.3: +1 -11
lines
Sync with HEAD.
Revision 1.202: download - view: text, markup, annotated - select for diffs
Tue Nov 13 22:14:34 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +1 -11
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 13 16:03:27 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +2 -1
lines
Sync with HEAD
Revision 1.197.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:54 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.197.2.2: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.2: +2 -1
lines
Sync with HEAD.
Revision 1.201: download - view: text, markup, annotated - select for diffs
Fri Nov 9 14:54:13 2007 UTC (17 years ago) by dsl
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:35:00 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +37 -11
lines
sync with HEAD
Revision 1.179.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:35 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.4: preferred, colored
Changes since revision 1.179.2.4: +37 -11
lines
sync with head.
Revision 1.197.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:22 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.197.2.1: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.1: +11 -11
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:27 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.196.2.4: preferred, colored; branchpoint 1.196: preferred, colored; next MAIN 1.197: preferred, colored
Changes since revision 1.196.2.4: +3 -2
lines
Sync with head.
Revision 1.197.6.3: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:33:16 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.197.6.2: preferred, colored; branchpoint 1.197: preferred, colored; next MAIN 1.198: preferred, colored
Changes since revision 1.197.6.2: +2 -1
lines
sync with head.
Revision 1.200: download - view: text, markup, annotated - select for diffs
Mon Oct 15 14:12:54 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
jmcneill-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 14 11:49:11 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.197.6.1: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.6.1: +10 -11
lines
sync with head.
Revision 1.199: download - view: text, markup, annotated - select for diffs
Thu Oct 11 19:45:26 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
vmlocking-base
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +10 -11
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 11 11:08:17 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.196.2.3: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.2.3: +5 -10
lines
- Always include the kernel_lock functions, for LKMs.
- Fix uniprocessor builds.
- Tidy up a bit.
Revision 1.196.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:45:12 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.196.2.2: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.2.2: +27 -1
lines
Sync with head.
Revision 1.197.6.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:28:40 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +27 -1
lines
sync with head.
Revision 1.197.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:29:30 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +27 -1
lines
Sync with HEAD.
Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Sep 24 20:01:03 2007 UTC (17 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +27 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 3 14:46:40 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.3: preferred, colored
Changes since revision 1.179.2.3: +9 -2
lines
sync with head.
Revision 1.196.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:21 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.196.2.1: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.2.1: +8 -1
lines
Sync with HEAD.
Revision 1.196.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:51:03 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.196: preferred, colored; next MAIN 1.197: preferred, colored
Changes since revision 1.196: +8 -1
lines
Sync with HEAD.
Revision 1.197.8.2: download - view: text, markup, annotated - select for diffs
Wed Aug 1 10:57:08 2007 UTC (17 years, 4 months ago) by christos
Branches: matt-mips64
Diff to: previous 1.197.8.1: preferred, colored; branchpoint 1.197: preferred, colored; next MAIN 1.198: preferred, colored
Changes since revision 1.197.8.1: +487 -0
lines
improve on poerhooks debugging. from Anon Ymous
Revision 1.197.8.1
Wed Aug 1 10:57:07 2007 UTC (17 years, 4 months ago) by christos
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.197: +0 -487
lines
file systm.h was added on branch matt-mips64 on 2007-08-01 10:57:08 +0000
Revision 1.197: download - view: text, markup, annotated - select for diffs
Wed Aug 1 10:57:07 2007 UTC (17 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base
Branch point for: yamt-x86pmap,
matt-mips64,
matt-armv6,
jmcneill-pm
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +8 -1
lines
improve on poerhooks debugging. from Anon Ymous
Revision 1.196.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:18 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +5 -1
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.194.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:00:55 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.194.2.1: preferred, colored; next MAIN 1.195: preferred, colored
Changes since revision 1.194.2.1: +2 -2
lines
Sync with HEAD.
Revision 1.196: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:42 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base,
mjf-ufs-trans-base,
mjf-ufs-trans,
hpcarm-cleanup
Branch point for: vmlocking,
nick-csl-alignment
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +2 -2
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.194.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:55:18 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +2 -2
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.179.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:16 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.2: preferred, colored
Changes since revision 1.179.2.2: +20 -49
lines
sync with head.
Revision 1.195: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:10 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 15 20:32:47 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:37 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +17 -19
lines
Merge newlock2 to head.
Revision 1.188.4.5: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:24 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.188.4.4: preferred, colored; branchpoint 1.188: preferred, colored; next MAIN 1.189: preferred, colored
Changes since revision 1.188.4.4: +1 -30
lines
Sync with head.
Revision 1.188.4.4: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:23:00 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.188.4.3: preferred, colored; branchpoint 1.188: preferred, colored
Changes since revision 1.188.4.3: +9 -5
lines
Checkpoint work in progress.
Revision 1.192: download - view: text, markup, annotated - select for diffs
Wed Jan 10 11:20:20 2007 UTC (17 years, 10 months ago) by elad
Branches: MAIN
CVS tags: newlock2-nbase,
newlock2-base
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +1 -2
lines
Make 'securelevel' internal to the secmodel.
Revision 1.191: download - view: text, markup, annotated - select for diffs
Sun Dec 31 10:35:53 2006 UTC (17 years, 11 months ago) by elad
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +1 -29
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:56 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179.2.1: preferred, colored
Changes since revision 1.179.2.1: +6 -3
lines
sync with head.
Revision 1.188.4.3: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:45 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.188.4.2: preferred, colored; branchpoint 1.188: preferred, colored
Changes since revision 1.188.4.2: +3 -1
lines
Checkpoint work in progress.
Revision 1.188.4.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:47 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.188.4.1: preferred, colored; branchpoint 1.188: preferred, colored
Changes since revision 1.188.4.1: +5 -2
lines
Sync with head.
Revision 1.188.4.1: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:40 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +11 -19
lines
Checkpoint work in progress.
Revision 1.188.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:47 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.188: preferred, colored; next MAIN 1.189: preferred, colored
Changes since revision 1.188: +5 -2
lines
sync with head
Revision 1.190: download - view: text, markup, annotated - select for diffs
Sat Sep 30 11:59:37 2006 UTC (18 years, 2 months ago) by yamt
Branches: 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
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +4 -1
lines
- KERNEL_LOCK_ASSERT_LOCKED: check cpu_biglock_count as well.
- implement KERNEL_LOCK_ASSERT_UNLOCKED.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Sun Sep 24 06:51:39 2006 UTC (18 years, 2 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:42 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183: +28 -8
lines
sync with head
Revision 1.184.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:47:26 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.184.2.2: preferred, colored; branchpoint 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184.2.2: +2 -2
lines
sync with head
Revision 1.188: download - view: text, markup, annotated - select for diffs
Wed Jul 26 20:50:56 2006 UTC (18 years, 4 months ago) by bjh21
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 26 12:54:29 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.184.2.1: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.1: +17 -7
lines
sync with head.
Revision 1.179.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:04 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +38 -10
lines
sync with head.
Revision 1.186.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:11:13 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.186: preferred, colored; next MAIN 1.187: preferred, colored
Changes since revision 1.186: +17 -7
lines
Sync with head.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:34:18 2006 UTC (18 years, 6 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +17 -7
lines
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 - view: text, markup, annotated - select for diffs
Wed May 10 17:02:41 2006 UTC (18 years, 6 months ago) by drochner
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.183.6.3: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.6.3: +2 -2
lines
avoid conflicts in the !HAVE_TIMECOUNTER case, and do some namespace
protection
Revision 1.183.6.3: download - view: text, markup, annotated - select for diffs
Mon Apr 24 05:11:24 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
Diff to: previous 1.183.6.2: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.6.2: +5 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:21 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.183.6.1: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.6.1: +11 -1
lines
Sync with head.
Revision 1.184.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:43 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +8 -1
lines
sync with head.
Revision 1.186.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 7 13:18:21 2006 UTC (18 years, 9 months ago) by tron
Branches: elad-kernelauth
Diff to: previous 1.186.2.1: preferred, colored; branchpoint 1.186: preferred, colored; next MAIN 1.187: preferred, colored
Changes since revision 1.186.2.1: +496 -0
lines
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 (18 years, 9 months ago) by tron
Branches: elad-kernelauth
FILE REMOVED
Changes since revision 1.186: +0 -496
lines
file systm.h was added on branch elad-kernelauth on 2006-03-07 13:18:21 +0000
Revision 1.186: download - view: text, markup, annotated - select for diffs
Tue Mar 7 13:18:20 2006 UTC (18 years, 9 months ago) by tron
Branches: 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
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +7 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 7 03:32:06 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:32 2006 UTC (18 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 4 14:27:09 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +14 -8
lines
Use new PPS API for the timecounter case.
XXX ifdef hell.
Revision 1.175.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 20 20:48:41 2006 UTC (18 years, 10 months ago) by riz
Branches: 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
Diff to: previous 1.175.4.1: preferred, colored; branchpoint 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175.4.1: +1 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 31 11:14:00 2005 UTC (18 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183: +4 -1
lines
uio_segflg/uio_lwp -> uio_vmspace.
Revision 1.175.4.1: download - view: text, markup, annotated - select for diffs
Thu Dec 29 00:57:09 2005 UTC (18 years, 11 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 26 18:41:36 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -3
lines
u_intN_t -> uintN_t
Revision 1.182: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:21 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +2 -2
lines
merge ktrace-lwp.
Revision 1.163.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:13 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.7: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163.2.7: +18 -6
lines
Sync with HEAD. Here we go again...
Revision 1.180.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 26 08:32:52 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180: +6 -1
lines
sync with head
Revision 1.181: download - view: text, markup, annotated - select for diffs
Sun Oct 23 00:09:14 2005 UTC (19 years, 1 month ago) by cube
Branches: 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
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +6 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 28 20:58:14 2005 UTC (19 years, 3 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-vop-base
Branch point for: yamt-vop
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 23 00:30:28 2005 UTC (19 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue May 31 16:10:47 2005 UTC (19 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +4 -4
lines
avoid a shadow.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Sun May 29 21:19:41 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -3
lines
Sprinkle const.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Tue May 17 04:14:58 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:38 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.174: preferred, colored; next MAIN 1.175: preferred, colored
Changes since revision 1.174: +117 -119
lines
sync with -current
Revision 1.174.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:56 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.174: preferred, colored; next MAIN 1.175: preferred, colored
Changes since revision 1.174: +117 -119
lines
sync with head.
Revision 1.163.2.7: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:48:06 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.6: preferred, colored
Changes since revision 1.163.2.6: +117 -119
lines
Sync with HEAD.
Revision 1.175: download - view: text, markup, annotated - select for diffs
Thu Feb 3 19:20:02 2005 UTC (19 years, 10 months ago) by perry
Branches: 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
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +117 -119
lines
de-__P
Revision 1.163.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:53:37 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.5: preferred, colored
Changes since revision 1.163.2.5: +8 -1
lines
Sync with HEAD.
Revision 1.174: download - view: text, markup, annotated - select for diffs
Sat Oct 23 21:27:33 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +8 -1
lines
don't reference kernel_lock directly.
Revision 1.163.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:50 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.4: preferred, colored
Changes since revision 1.163.2.4: +2 -2
lines
Fix the sync with head I botched.
Revision 1.163.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:31 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.3: preferred, colored
Changes since revision 1.163.2.3: +2 -2
lines
Sync with HEAD.
Revision 1.163.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 18 10:19:08 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.2: preferred, colored
Changes since revision 1.163.2.2: +3 -3
lines
Revert to passing struct proc for {exit,exec}hook.
Revision 1.163.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:31 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.163.2.1: preferred, colored
Changes since revision 1.163.2.1: +18 -16
lines
Sync with HEAD
Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon Jul 5 07:28:45 2004 UTC (20 years, 5 months ago) by pk
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue May 18 11:59:11 2004 UTC (20 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +7 -1
lines
use lockstatus() instead of L_BIGLOCK to check if we're holding a biglock.
fix PR/25595.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Wed Apr 21 20:31:50 2004 UTC (20 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 23 05:01:19 2004 UTC (20 years, 10 months ago) by simonb
Branches: 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
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 30 18:29:43 2003 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +1 -3
lines
Remove allocsys(); nothing uses it anymore.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Fri Oct 31 03:28:14 2003 UTC (21 years, 1 month ago) by simonb
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -2
lines
Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Oct 26 10:45:03 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +1 -3
lines
move ALLOCSYS() macro from <sys/systm.h> to kern_alloc.c - it's the
only place which uses it
Revision 1.166: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:34:17 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +2 -6
lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 8 06:49:22 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +2 -2
lines
prototype must not carry variable name
Revision 1.164: download - view: text, markup, annotated - select for diffs
Tue Jul 8 06:18:00 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +5 -5
lines
prototype must not have variable name
Revision 1.163.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:18 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:29 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:22 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 11:02:20 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +2 -1
lines
Make sure to include opt_foo.h if a defflag option FOO is used.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Apr 26 22:07:17 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2
lines
Management, not managment. Mostly from jmc@openbsd.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Tue Feb 4 01:21:06 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:52 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +5 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 24 01:42:52 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +9 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 18 09:53:21 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +14 -14
lines
Merge the nathanw_sa branch.
Revision 1.125.2.21: download - view: text, markup, annotated - select for diffs
Fri Jan 3 17:10:43 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.125.2.20: preferred, colored; branchpoint 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125.2.20: +19 -1
lines
Sync with HEAD.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Tue Dec 31 23:45:36 2002 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +11 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 31 17:48:04 2002 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +9 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 29 20:56:56 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.125.2.19: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.19: +2 -2
lines
Sync with HEAD.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat Dec 21 16:23:56 2002 UTC (21 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 11 06:50:08 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.125.2.18: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.18: +3 -2
lines
Sync with HEAD.
Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Nov 16 07:40:42 2002 UTC (22 years ago) by uebayasi
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 9 10:21:27 2002 UTC (22 years, 1 month ago) by tron
Branches: 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
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 18 05:11:41 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.17: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.17: +3 -3
lines
Correct _kernel_proc_{un,}lock() prototypes.
Revision 1.136.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:44:47 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.136.2.4: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.4: +5 -10
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 17 21:23:57 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.16: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.16: +4 -9
lines
Catch up to -current.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Sep 13 14:16:48 2002 UTC (22 years, 2 months ago) by christos
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +4 -9
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:50:06 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.136.2.3: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.3: +13 -3
lines
sync kqueue branch with HEAD
Revision 1.143.2.8: download - view: text, markup, annotated - select for diffs
Thu Aug 29 00:57:01 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.7: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.2.7: +4 -3
lines
catch up with -current.
Revision 1.125.2.16: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:48:26 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.15: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.15: +2 -2
lines
Catch up to -current.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Sun Aug 25 22:28:40 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -2
lines
Make uiomove()'s count argument a size_t rather than an int.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:01:12 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +2 -2
lines
Make hashinit() use unsigned quantities throughout.
Revision 1.125.2.15: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:20:26 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.14: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.14: +1 -0
lines
Catch up to -current.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Wed Aug 7 05:16:28 2002 UTC (22 years, 4 months ago) by briggs
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 1 02:47:00 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.13: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.13: +4 -1
lines
Catch up to -current.
Revision 1.143.2.7: download - view: text, markup, annotated - select for diffs
Sat Jul 20 11:35:15 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.6: preferred, colored
Changes since revision 1.143.2.6: +4 -1
lines
catch up with -current.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Sat Jul 20 03:58:25 2002 UTC (22 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +4 -1
lines
* 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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:52:04 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.136.2.2: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.2: +21 -34
lines
catch up with -current on kqueue branch
Revision 1.125.2.13: download - view: text, markup, annotated - select for diffs
Fri Jun 21 00:00:29 2002 UTC (22 years, 5 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.125.2.12: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.12: +3 -3
lines
Fix prototypes for trace_enter() and trace_exit().
Revision 1.143.2.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 15:53:04 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.5: preferred, colored
Changes since revision 1.143.2.5: +7 -1
lines
catch up with -current.
Revision 1.125.2.12: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:50:18 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.11: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.11: +18 -34
lines
Catch up to -current.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Jun 17 16:23:58 2002 UTC (22 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +7 -1
lines
Systrace support.
Revision 1.143.2.5: download - view: text, markup, annotated - select for diffs
Thu May 30 13:52:42 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.4: preferred, colored
Changes since revision 1.143.2.4: +12 -34
lines
Catch up with -current.
Revision 1.144: download - view: text, markup, annotated - select for diffs
Tue May 21 01:38:26 2002 UTC (22 years, 6 months ago) by thorpej
Branches: 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
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +12 -34
lines
Move kernel_lock manipulation info functions so that they will
show up in a profile.
Revision 1.143.2.4: download - view: text, markup, annotated - select for diffs
Thu May 16 13:11:18 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.3: preferred, colored
Changes since revision 1.143.2.3: +3 -1
lines
The dev_t of /dev/zero is generated by config(8) as constant.
Revision 1.143.2.3: download - view: text, markup, annotated - select for diffs
Thu May 16 12:47:25 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.2: preferred, colored
Changes since revision 1.143.2.2: +2 -2
lines
The dev_t of swap device is unchangeable.
Revision 1.143.2.2: download - view: text, markup, annotated - select for diffs
Thu May 16 12:45:34 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143.2.1: preferred, colored
Changes since revision 1.143.2.1: +1 -5
lines
Remove a prototype to reserve entries for LKM.
Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 12:44:42 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +1 -4
lines
Remove variables to hold # of block/character device switches.
Revision 1.125.2.11: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:49:13 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.10: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.10: +14 -4
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.143: download - view: text, markup, annotated - select for diffs
Tue Mar 26 23:17:09 2002 UTC (22 years, 8 months ago) by fredette
Branches: MAIN
Branch point for: gehenna-devsw
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 17 22:19:22 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +8 -1
lines
- 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 - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:22 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.1: +5 -4
lines
Catch up with -current.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Mar 4 02:24:37 2002 UTC (22 years, 9 months ago) by simonb
Branches: MAIN
CVS tags: newlock-base,
newlock
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +5 -4
lines
Add a extern declaration for the mountroot variable.
Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:04:51 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +15 -16
lines
Sync kqueue branch with -current.
Revision 1.125.2.10: download - view: text, markup, annotated - select for diffs
Mon Dec 3 05:00:14 2001 UTC (23 years ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.125.2.9: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.9: +1 -2
lines
Garbage-collect realitexpire() prototype.
Revision 1.125.2.9: download - view: text, markup, annotated - select for diffs
Sat Nov 24 19:55:46 2001 UTC (23 years ago) by bjh21
Branches: nathanw_sa
Diff to: previous 1.125.2.8: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.8: +3 -3
lines
Make SYSCALL_DEBUG work again.
Revision 1.125.2.8: download - view: text, markup, annotated - select for diffs
Sat Nov 17 18:45:56 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.7: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.7: +2 -1
lines
Add struct lwp to the list of structure predeclarations.
Revision 1.125.2.7: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:18:52 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.6: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.6: +6 -2
lines
Catch up to -current.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Mon Nov 12 23:08:13 2001 UTC (23 years ago) by christos
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +5 -1
lines
Protect printf() like functions and b{copy,zero,cmp} from being defined
in userland.
Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:42 2001 UTC (23 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +2 -2
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Mon Nov 5 21:38:14 2001 UTC (23 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +2 -2
lines
Make cn_isconsole check if cn_tab is NULL.
Revision 1.125.2.6: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:42:12 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.5: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.5: +1 -6
lines
Catch up to -current.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sun Oct 21 19:24:43 2001 UTC (23 years, 1 month ago) by simonb
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +1 -6
lines
Remove two cases of:
#endif <- from an #ifdef _KERNEL
#ifdef _KERNEL
Revision 1.125.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:50 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.4: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.4: +10 -10
lines
Catch up to -current.
Revision 1.136.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:15 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.136.4.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.4.1: +10 -10
lines
Catch up with -current.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Fri Sep 28 12:14:27 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +10 -10
lines
don't include argument names in prototypes.
Revision 1.136.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:44 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 30 23:37:44 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.3: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.3: +7 -7
lines
LWP'ify KERNEL_PROC_[UN]LOCK().
Revision 1.125.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:13:12 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.2: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.2: +4 -4
lines
Catch up with -current.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Sat Jul 7 17:07:26 2001 UTC (23 years, 5 months ago) by perry
Branches: MAIN
CVS tags: thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp,
kqueue
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +1 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 7 16:35:21 2001 UTC (23 years, 5 months ago) by tv
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -2
lines
Add (parenthetical) macro protection for one of the ovbcopy macro args.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Jul 7 14:45:46 2001 UTC (23 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -1
lines
have ovbcopy() macro, for cross-BSD compatibility only.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Jul 7 05:22:10 2001 UTC (23 years, 5 months ago) by perry
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +0 -5
lines
I'm an idiot.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Jul 7 05:15:56 2001 UTC (23 years, 5 months ago) by perry
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +6 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 7 04:14:43 2001 UTC (23 years, 5 months ago) by perry
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 6 15:59:23 2001 UTC (23 years, 5 months ago) by perry
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -4
lines
"safe" the macros for bcopy bzero and bcmp, after a request from mrg
Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Jul 5 21:51:10 2001 UTC (23 years, 5 months ago) by tv
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 21 20:09:59 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125.2.1: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.2.1: +9 -9
lines
Catch up to -current.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed May 30 12:07:05 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2
lines
use _KERNEL_OPT
Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue May 8 13:07:35 2001 UTC (23 years, 7 months ago) by fredette
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +3 -3
lines
cpu_Debugger() is always available on the sun2.
Revision 1.111.2.3: download - view: text, markup, annotated - select for diffs
Sun May 6 15:08:02 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.111.2.2: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.2.2: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 30 01:13:21 2001 UTC (23 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +6 -6
lines
remove some lint
Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:04 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.97.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:39 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.97.2.4: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.4: +4 -1
lines
Sync with HEAD.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sat Jan 27 07:21:43 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 18 09:24:03 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.97.2.3: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.3: +3 -1
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Jan 15 20:19:59 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -2
lines
Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:19:44 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.97.2.2: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.2: +6 -3
lines
Sync with HEAD.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:09:00 2000 UTC (24 years ago) by takemura
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 22 16:06:42 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.1: +58 -5
lines
Sync with HEAD.
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:37 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +87 -28
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Nov 19 00:56:39 2000 UTC (24 years ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3
lines
Back out mistaken commits.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun Nov 19 00:54:50 2000 UTC (24 years ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3
lines
Extend kinfo_proc2 with CPU id
Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Nov 8 22:41:59 2000 UTC (24 years, 1 month ago) by eeh
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +49 -1
lines
Add console magic sequence framework.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed Nov 8 14:25:23 2000 UTC (24 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +8 -3
lines
Allow for creation of both LIST and TAILQ based hashes by adding a `hash
type' argument to hashinit().
Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:24:16 2000 UTC (24 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +3 -3
lines
Use "defined(sun3)" rather than "defined(_SUN3_) || defined(_SUN3X_)"
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Sep 24 12:32:31 2000 UTC (24 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 22 17:28:30 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +47 -1
lines
Define the MI parts of the "big kernel lock" perimeter. From
Bill Sommerfeld.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Aug 18 19:14:34 2000 UTC (24 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -2
lines
nuke __P for generated syscall prototypes and sy_call_t
Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Aug 9 03:23:11 2000 UTC (24 years, 4 months ago) by tv
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +5 -9
lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 14 18:10:51 2000 UTC (24 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Diff to: previous 1.111.2.1: preferred, colored; branchpoint 1.111: preferred, colored
Changes since revision 1.111.2.1: +5 -5
lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 14 07:21:22 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -5
lines
- 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 - view: text, markup, annotated - select for diffs
Tue Jul 4 16:05:32 2000 UTC (24 years, 5 months ago) by jdolecek
Branches: netbsd-1-5
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 4 15:33:28 2000 UTC (24 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 22 17:10:28 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +2 -3
lines
Sync w/ netbsd-1-5-base.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Jun 10 18:44:45 2000 UTC (24 years, 6 months ago) by sommerfeld
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun May 28 05:49:06 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri May 26 21:20:33 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed May 24 08:14:01 2000 UTC (24 years, 6 months ago) by soren
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +5 -1
lines
#include <opt_ddb.h>
Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Mar 29 00:01:39 2000 UTC (24 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -2
lines
Oops, use sort(1) and not sort(brain).
Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:57:36 2000 UTC (24 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +7 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 23 06:31:52 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 16 17:19:54 2000 UTC (24 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -1
lines
add hashdone() - frees memory previously allocated via hashinit()
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Feb 20 19:32:28 2000 UTC (24 years, 9 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 3 22:44:11 2000 UTC (24 years, 10 months ago) by cgd
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -8
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 1 22:55:30 2000 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.1: +9 -1
lines
Pull up revision 1.101 (requested by fvdl):
Close procfs security hole. Fixes SA#2000-001.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jan 25 01:15:29 2000 UTC (24 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +9 -1
lines
Add prototypes for exec hooks.
Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 8 17:56:11 2000 UTC (24 years, 11 months ago) by he
Branches: netbsd-1-4
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 28 23:16:49 1999 UTC (24 years, 11 months ago) by assar
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -3
lines
add a typedef `sy_call_t' for the function type used in `struct
sysent'
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:35 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +7 -2
lines
Pull up to last week's -current.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Nov 22 18:05:41 1999 UTC (25 years ago) by jdolecek
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3
lines
previous is true even for sun3x
Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Nov 22 16:53:59 1999 UTC (25 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +6 -2
lines
sun3 has cpu_Debugger() and hence Debugger() available even in non-DDB case
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Oct 14 18:42:16 1999 UTC (25 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 12 17:08:57 1999 UTC (25 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 15 19:35:53 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -1
lines
Prototype cpu_configure().
Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Sep 10 00:03:52 1999 UTC (25 years, 3 months ago) by tron
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -7
lines
Remove commented out prototypes for bcopy(), bzero() and bcmp().
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Sep 10 00:02:06 1999 UTC (25 years, 3 months ago) by tron
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -7
lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 1 23:50:36 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.89.4.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.4.1: +11 -1
lines
Sync w/ -current.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Jun 26 08:25:26 1999 UTC (25 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +11 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 21 01:30:26 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +10 -1
lines
Sync w/ -current.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu May 20 05:53:34 1999 UTC (25 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +8 -1
lines
* 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 - view: text, markup, annotated - select for diffs
Sun May 9 13:57:44 1999 UTC (25 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -1
lines
prototype format_bytes()
Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:29 1999 UTC (25 years, 8 months ago) by mrg
Branches: 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
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -11
lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 12 22:42:32 1999 UTC (25 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +1 -3
lines
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jan 28 00:05:17 1999 UTC (25 years, 10 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -1
lines
Add [v]snprintf()
Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Jan 26 17:05:41 1999 UTC (25 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +11 -3
lines
make console_debugger() a macro - no need to waste a stackframe
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Nov 17 01:41:06 1998 UTC (26 years ago) by mrg
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2
lines
provide lkmenodev prototype for LKM || _LKM
Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Nov 11 06:34:43 1998 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 29 21:22:33 1998 UTC (26 years, 1 month ago) by jonathan
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 3 19:25:37 1998 UTC (26 years, 2 months ago) by eeh
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -2
lines
Fixup big-endian syscall args.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Sep 29 21:03:03 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -1
lines
Implement vsprintf().
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Aug 23 22:43:27 1998 UTC (26 years, 3 months ago) by pk
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2
lines
bitmask_snprintf() now takes a quad_t.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Aug 6 04:50:14 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +15 -13
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:53 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -7
lines
defopt DDB.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Jun 14 20:18:56 1998 UTC (26 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 1 02:24:15 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2
lines
Merge with Lite2 + local changes
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:14:01 1998 UTC (26 years, 9 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +7 -2
lines
Import 4.4BSD-Lite2
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:11:11 1998 UTC (26 years, 9 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +165 -1
lines
Import 4.4BSD-Lite for reference
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:08:50 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -1
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Feb 7 02:45:02 1998 UTC (26 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2
lines
add flags arg to hashinit(), to pass to malloc().
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Feb 5 08:00:43 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 24 17:37:47 1997 UTC (27 years, 1 month ago) by chuck
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -14
lines
remove vprintf proto from __powerpc__ ifdef [thus making vprintf
available on all platforms]
add prototype for memchr
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Oct 19 02:29:20 1997 UTC (27 years, 1 month ago) by mikel
Branches: 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
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4
lines
fix some typos in comment about securelevel
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jul 28 23:25:06 1997 UTC (27 years, 4 months ago) by christos
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -1
lines
Add prototypes for the SYSCALL_DEBUG functions
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Jun 15 23:42:12 1997 UTC (27 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -1
lines
Add a short comment clarifying the purpose of swapdev and swapdev_vp.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jun 14 04:19:48 1997 UTC (27 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1
lines
Add an extern declaration for dumpspec.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Apr 16 23:46:00 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +15 -1
lines
XXX Kludge for PowerPC - need a kernel vfprintf().
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Mar 30 17:29:41 1997 UTC (27 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -1
lines
PR/3402: Volker Schmidt: Add missing prototype for hardpps.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Mar 26 22:38:40 1997 UTC (27 years, 8 months ago) by gwr
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -1
lines
Move findroot/setroot stuff from configure() to cpu_rootconf().
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Jan 31 03:04:31 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -1
lines
- Add external declarations for globals used by the setroot() code.
- Prototype the mountroothook functions here.
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 14 21:27:28 1997 UTC (27 years, 10 months ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +16 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 9 16:57:14 1997 UTC (27 years, 11 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1
lines
Oops, forgot to commit this; declare db_onpanic. (Thanks, Scott.)
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Nov 18 05:18:04 1996 UTC (28 years ago) by jonathan
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +7 -2
lines
make <sys/systm.h> #include-idempotent.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Nov 13 06:07:09 1996 UTC (28 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -1
lines
Prototype bitmask_snprintf().
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Oct 16 11:27:25 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 12 23:06:02 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +12 -10
lines
- 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 - view: text, markup, annotated - select for diffs
Thu Oct 10 19:25:45 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +24 -21
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Sep 30 16:03:15 1996 UTC (28 years, 2 months ago) by ws
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -1
lines
Add missing extern declaration of dumpsize
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Sep 20 22:11:38 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -1
lines
Add fwd struct declarations and protect include of libkern.h
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Sep 8 02:09:50 1996 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -1
lines
Add some forward declarations.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Sep 7 12:41:35 1996 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
Implement poll(2).
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Sep 5 15:47:07 1996 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -1
lines
Remove duplicate declarations of LKM functions and macros.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Aug 16 01:23:46 1996 UTC (28 years, 3 months ago) by jtc
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +13 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 17 21:43:24 1996 UTC (28 years, 4 months ago) by explorer
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -1
lines
Add compile-time and run-time control over automatic niceing
Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 11 13:18:43 1996 UTC (28 years, 6 months ago) by briggs
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -1
lines
Bring in changes to eradicate compile warning if NTP. With permission from jtc.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jun 9 04:55:09 1996 UTC (28 years, 6 months ago) by briggs
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -1
lines
Add prototype for hardupdate() ifdef NTP.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Apr 22 01:23:35 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -1
lines
add prototypes from <sys/cpu.h> to the appropriate places
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Apr 9 20:55:38 1996 UTC (28 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5
lines
fix extra spaces at ends of lines, etc. (all spacing nits.)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Apr 3 20:46:47 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +10 -6
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 31 21:36:40 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -7
lines
- Make lkmenodev() be the same type as enodev.
- Change printf attributes to __kprintf__ attributes.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Mar 17 02:43:09 1996 UTC (28 years, 8 months ago) by pk
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -1
lines
Prototype kmstartup()
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Mar 16 23:12:14 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -10
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 14 18:59:12 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 13 21:08:09 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
Kernel version of longjmp does not take the return value of setjmp as
an argument. It always returns 1.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 7 14:29:48 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 10 00:13:28 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1
lines
Follow Charles' advise about the location of some of the prototypes.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Feb 9 18:25:42 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +20 -6
lines
Filesystem prototype changes
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Feb 4 02:12:45 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
Fix some missing/wrong prototypes so that kern/* compiles again
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Sep 19 21:40:36 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2
lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 26 10:39:20 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1
lines
prototype inittodr and resettodr
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed May 31 20:41:55 1995 UTC (29 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +10 -2
lines
add a facility by which to register 'hooks' to be run at shutdown time.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 9 15:47:44 1995 UTC (29 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
lines
Change bcopy() and bzero() prototypes to use size_t.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Mar 8 02:48:20 1995 UTC (29 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6
lines
copy*() should use size_t, not u_int or u_long, and especially not a
combination of the two.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:52:59 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -8
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 20 04:29:06 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5
lines
update for new syscall args description mechanism
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:45:40 1994 UTC (30 years, 5 months ago) by cgd
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -3
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jun 27 19:32:15 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
new standard, minimally intrusive ID format
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu May 12 10:30:46 1994 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3
lines
Prototype log(), logpri(), and addlog(), in an appropriate place.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu May 5 05:40:20 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +176 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 23:16:54 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -1
lines
change timeout/untimeout/wakeup/sleep/tsleep args to void *
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 15 07:22:11 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: wnvm,
nvm-base,
nvm
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -1
lines
define nsysent right next to the sysent table.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Feb 15 06:55:19 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -1
lines
oops, forgot the proc!
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Feb 15 06:51:39 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -1
lines
fix proto
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 15 06:38:33 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1
lines
add SYSCALL_DEBUG stuff for glass
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Feb 9 20:54:51 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -1
lines
Format police.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 1 02:45:08 1994 UTC (30 years, 10 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1
lines
spl prototypes do not belong here (cause people might want to inline them)
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jan 30 13:21:15 1994 UTC (30 years, 10 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1
lines
repair seltrue prototype
make panic() a varargs function
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jan 15 20:23:30 1994 UTC (30 years, 10 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1
lines
delete duplicate proto for slattach
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jan 8 15:19:14 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -1
lines
Move some prototypes to a better location.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Dec 17 00:12:30 1993 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1
lines
From magnum branch:
Remove Jolitz's netisr kluge. Make sure cpl == 0 really means base priority.
Other minor cleanup.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Oct 6 23:38:19 1993 UTC (31 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1
lines
generalize kernacc() to any protections in the function "kerncheckprot()",
and prototype it.
Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 1 01:43:16 1993 UTC (31 years, 2 months ago) by deraadt
Branches: magnum
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.2: +1 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 24 08:58:08 1993 UTC (31 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +1 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 14 18:34:56 1993 UTC (31 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 3 23:53:09 1993 UTC (31 years, 3 months ago) by jtc
Branches: MAIN
CVS tags: magnum-base
Branch point for: magnum
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -1
lines
Inline max, min, imax, and imin if using GCC.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 4 23:30:58 1993 UTC (31 years, 5 months ago) by cgd
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1
lines
change exit() to kexit(), and remove proto for fdopen()
so prototypes are "safe" with std*.h, etc.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jul 4 09:53:29 1993 UTC (31 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1
lines
prototype setregs(), so we don't go through this again...
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 1 19:02:56 1993 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1
lines
Use __dead, not volatile.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 1 04:05:21 1993 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1
lines
Please remind me to shoot Andrew.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jun 27 05:59:08 1993 UTC (31 years, 5 months ago) by andrew
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1
lines
ANSIfications - lots of function prototyping.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jun 22 06:30:38 1993 UTC (31 years, 5 months ago) by glass
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1
lines
god damn fucking stupid ansi type promotion.....
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 6 23:05:26 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1
lines
make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
don't conflict w/ansi prototypes...
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 6 03:37:07 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1
lines
prototype some things! this is arguably not done very well,
but it was free from bde & rod!
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 18 18:20:39 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1
lines
make kernel select interface be one-stop shopping & clean it all up.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 19 01:23:21 1993 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1
lines
Add consistent multiple-inclusion protection.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 3 02:18:40 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-alpha-1,
netbsd-0-8
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 21 18:04:42 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: patchkit-0-2-2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
after 0.2.2 "stable" patches applied
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>