Commit Graph

100800 Commits

Author SHA1 Message Date
tron
b145a3fa59 Embed "pmc_evid_t" and "pmc_ctr_t" into "if defined(_KERNEL)" and use
"__uint64_t" from "int_types.h". This fixes "lint" errors while
building "libc".
2002-08-07 09:34:54 +00:00
tsubai
e373d8b520 Re-correct previous. It's intentional. 2002-08-07 08:01:57 +00:00
hannken
bf7cb35ffa Convert to new device buffer queue interface.
Approved by: Ignatios Souvatzis <is@netbsd.org>
2002-08-07 07:29:13 +00:00
gmcgarry
21c1adacf3 Make file compile:
- garbage collect cpu_sysctl()
- fix pasto
- include uvm/uvm_extern.h
From FUKAUMI Naoki in PR 17850.
2002-08-07 07:21:08 +00:00
briggs
64a993291d Stubs for new pmc(9) interface. 2002-08-07 05:58:01 +00:00
chs
c86bd63e8e for ofb_enable_cache, turn on the BAT_M bit as well to prevent
the framebuffer from getting scrambled on MP systems.
2002-08-07 05:46:13 +00:00
briggs
d3cfa7ad3b Forward declare structures that are used here. 2002-08-07 05:38:47 +00:00
briggs
a27fd9df4d define pmc_evid_t, pmc_ctr_t. 2002-08-07 05:38:24 +00:00
chs
f65cb7133e mftb() has moved to cpu.h. 2002-08-07 05:20:46 +00:00
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