Commit Graph

100591 Commits

Author SHA1 Message Date
briggs ba45c803fd PERFCTRS is now defflagged in conf/files. 2002-08-07 05:18:21 +00:00
briggs 0b956d0b8b 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.
2002-08-07 05:14:47 +00:00
briggs 5b1917a886 Regen for pmc_get_info, pmc_control. 2002-08-07 04:54:29 +00:00
simonb d436dc19f3 Fix a typo in a comment. 2002-08-07 04:53:18 +00:00
briggs a67324a44a New syscalls: sys_pmc_get_info and sys_pmc_control. 2002-08-07 04:52:53 +00:00
briggs 6f6fd08e8a Add stubs to new system calls for performance monitoring interface. 2002-08-07 04:51:12 +00:00
briggs 81f3050a76 Document new performance monitoring interface. 2002-08-07 04:48:55 +00:00
enami 8be6c4876d Rearrange code to avoid core dump and just return an error instead
when parsing a locale string previously returned by setlocale.
2002-08-07 04:42:42 +00:00
lukem b17115c44a hpcsh does not have X at the moment 2002-08-07 04:35:45 +00:00
thorpej c67cc2a5b8 Add iopaau, swdmover (commented out), and dmoverio. 2002-08-07 03:41:43 +00:00
thorpej d6003ab996 Use -mcpu=xscale. 2002-08-07 03:40:01 +00:00
thorpej e83b2dfbd8 Define __ARMEL__ if little-endian, as gcc 3.x does. 2002-08-07 03:35:51 +00:00
thorpej 7a6acd854a * Add -march=armv5, -march=armv5t, -march=armv5te, which are internally
treated like -march=armv4t, but which generate __ARM_ARCH_5__,
  __ARM_ARCH_5T__, and __ARM_ARCH_5TE__ defines, respecitively.
* Add -mcpu=xscale, which is internally treated like -mcpu=strongarm,
  but which generates __ARM_ARCH_5TE__ and __XSCALE__ defines.

These command-line options and definitions are consistent with gcc 3.x,
and allow NetBSD Makefiles to use them in a forward-compatible way, and
also give hand-tuned source code (e.g. assembly) a chance of tuning for
XScale.
2002-08-07 03:27:39 +00:00
fredb 8bb4151f34 Minor tweak for clarity. 2002-08-07 02:50:22 +00:00
fredb 0dee98e0b8 The mac68k installation kernels are INSTALL and INSTALLSBC, not GENERIC
and GENERICSBC.
2002-08-07 02:49:03 +00:00
itojun c1f124cb75 typo 2002-08-07 00:18:21 +00:00
matt a2e9fe106d Correct __va_list typedef for GCC 3.* to match the GCC 3.* definition. 2002-08-07 00:11:59 +00:00
simonb fdfab8da56 Fix a typo in a comment. 2002-08-06 23:51:43 +00:00
augustss 61a3b5e422 Pull in tea5757.c for the mr driver. Fixes kern/17864. 2002-08-06 23:09:10 +00:00
itojun 8e7a88a3ff integer overflow. from silvio@qualys.com 2002-08-06 22:51:45 +00:00
itojun 8fc9db2b63 buffer len check. from silvio@qualys.com 2002-08-06 22:50:37 +00:00
itojun e5b5171ab5 integer overflow. from silvio@qualys.com 2002-08-06 22:46:11 +00:00
itojun 05d221783a integer overflow. reported by silvio@qualys.com 2002-08-06 22:44:38 +00:00
thorpej 26bc8b27f4 - pmap_remove(): unmap the PTEs *after* we have finished with the
page tables.
- pmap_enter(): if making a mapping for the same PA rw->ro, write-back
  the cache before doing so.
- pmap_clearbit(): if revoking REF on a page, make sure to wbinv the
  cache if the page has write permission, else inv the cache if the page's
  PTE is valid (XXX we actually wbinv in this case, as well, due to lack
  of idcache_inv_range()).  Only flush the TLB if the PTE changed.
2002-08-06 21:43:51 +00:00
kim 462f87e7fd Missing comma in aenfmt array initialization. 2002-08-06 20:47:44 +00:00
jwise ad8bd5db78 Fix mandoc glitch in description of `eui64' command. 2002-08-06 19:29:35 +00:00
thorpej 0886c8cc0f Rearrange the exit path so that we don't do a idcache_wbinv_all *twice*
when a process exits.
2002-08-06 19:20:29 +00:00
thorpej 62d83d05b1 * Pass proc0 to switch_exit(), to make this a little more like the
nathanw_sa branch.
* In switch_exit(), set the outgoing-proc register to NULL (rather than
  proc0) so that we actually use the "exiting process" optimization in
  cpu_switch().
2002-08-06 17:44:35 +00:00
drochner b4bf2c6df9 add manpage for the PC87366 superI/O chip, temperature monitor part,
driver
2002-08-06 16:44:50 +00:00
soren 69e08c5b46 Make SYNOPSIS accurate about required headers.
Fixes PR lib/11021 from wiz.
2002-08-06 16:08:47 +00:00
soren f734289f1c Typo, PR misc/17629 from HAMAJIMA Katsuomi. 2002-08-06 15:42:55 +00:00
soren 4d83b9e44b Fix mistake in algorithm description.
PR misc/17796 by Stefan Meinlschmidt.
2002-08-06 15:26:04 +00:00
hannken 80fb19da39 Convert to new device buffer queue interface.
Approved by: Paul Kranenburg <pk@netbsd.org>
2002-08-06 14:44:15 +00:00
pooka a463a940f5 document FORK_CLEANFILES 2002-08-06 14:00:03 +00:00
soren 4ef5847406 Update for etc/skel removals. 2002-08-06 13:58:44 +00:00
pooka 2bc5807797 Add FORK_CLEANFILES flag to fork1(), which makes the new process start out
with a clean descriptor set (ie. not copied or shared from parent).

for rfork()
2002-08-06 13:58:08 +00:00
soren 4b843a85e4 dot.mailrc hasn't ever actually been maintained, unlike /etc/mail.rc . 2002-08-06 13:55:03 +00:00
soren f3893ccbed It's been a long time since it was nice to have this installed by default. 2002-08-06 13:45:08 +00:00
wiz 1715ae66f5 Fix .Fn arguments. 2002-08-06 13:02:52 +00:00
wiz 05981609c2 Add a missing brace. 2002-08-06 13:01:04 +00:00
wiz 4068c80842 Fix Fn argument. 2002-08-06 12:58:45 +00:00
wiz 0161d54450 Fix Fn (separate arguments). 2002-08-06 12:54:18 +00:00
wiz 6bce40bcab The argument of .Fn should look like this:
.Fn function_name "int first" "char *second"
not like this:
.Fn function_name "int first, char *second".
2002-08-06 12:44:34 +00:00
wiz af9ce6b208 Fix mdoc. Closes lib/17855. 2002-08-06 12:35:39 +00:00
grant 3273a7757a add X note comment for INSECURE option.
addresses port-i386/17853 from hclsmith@yahoo.ca.
2002-08-06 12:09:42 +00:00
agc b35288ab0c Add a function is_local_user(), and use it in moduser(), to check that
the user is not found through NIS.

Completes fix of PR 17849, from Grant Beattie (grant@netbsd.org).

Also, don't cast return type of pw_abort(3) to void, as it already is void.
2002-08-06 11:56:26 +00:00
tron 08e919d1e0 Remove unused variable "err". 2002-08-06 11:39:53 +00:00
agc 569d79bd84 Remove the /etc/ptmp file via pw_abort(3) if the pw_mkdb(3) call fails.
Addresses part of PR 17849 from Grant Beattie, grant@netbsd.org.
2002-08-06 09:03:55 +00:00
shin b0d22e8404 fix CPU_ROOT_DEVICE implementation. 2002-08-06 06:54:36 +00:00
shin d4552e01aa compilation fix. 2002-08-06 06:52:49 +00:00