Commit Graph

983 Commits

Author SHA1 Message Date
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
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
itojun
8e7a88a3ff integer overflow. from silvio@qualys.com 2002-08-06 22:51:45 +00:00
gmcgarry
3647e0d293 Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.
For now, only pmax implements CPU_BOOTED_KERNEL.  Need to revisit.
2002-08-04 01:41:23 +00:00
thorpej
3912e469dd Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device.  While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00
mycroft
79d0ee0424 Remove VNODE_OP_NOINLINE, which is already in TX3912. 2002-07-09 14:54:39 +00:00
abs
eb73becae2 Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
2002-07-05 13:40:10 +00:00
ross
789df24a75 a "no" token was added recently, so we must now quote any "no" symbols
no => "no"
2002-06-22 00:01:10 +00:00
christos
3b50728cf4 MD systrace gluons. 2002-06-17 16:32:57 +00:00
lukem
fde6ae6f04 Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
yamt
a3da5d94f3 constify. 2002-06-08 16:34:06 +00:00
yamt
560a78f6da constify. 2002-06-08 16:20:24 +00:00
yamt
737ffe3619 make auto const variables static. 2002-06-08 16:03:55 +00:00
yamt
fed3639fa8 make auto const variables static.
(and space->tab)
2002-06-08 16:02:02 +00:00
simonb
6b6e4f4f60 Simplify include files that just include <mips/locore.h>. 2002-06-05 06:18:34 +00:00
drochner
d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
lukem
06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
greg
5004b7788d Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port. 2002-05-30 01:44:59 +00:00
wiz
79deb5d12d Comment out token after #endif. 2002-05-16 19:40:53 +00:00
thorpej
204183c0fa * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
thorpej
dada8613e1 Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00
uch
ba21cf86c0 obsolete intrcnt[]. 2002-05-15 15:19:54 +00:00
takemura
9373835df6 BUGFIX: SigmarionII can't resume.
Added config_hook_call_reverse() to call the hardpower hook of CMU
(Vr clock mask unit) before the hardpower hook of MQ200 video controller.
2002-05-12 07:41:22 +00:00
takemura
0428a3de8e Just deleted junk lines. 2002-05-11 14:23:51 +00:00
takemura
108ae8567c BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
2002-05-11 14:10:04 +00:00
takemura
fda2f03cb3 Enabeled OHCI USB controller on MobilePro 800. 2002-05-11 08:56:39 +00:00
takemura
8178b68188 Added ukphy to use USB ethernet adopters. 2002-05-06 13:42:29 +00:00
takemura
7cd3e3bad5 Fixed line order. It was strange. 2002-05-04 09:37:24 +00:00
takemura
519f3fbad5 Fixed PC Card slot support. 2002-05-04 08:12:18 +00:00
takemura
a9e34d1ccf Added lib/libsa/files.c to avoid link error. 2002-05-04 07:40:59 +00:00
takemura
28389b6cb5 Fixed debug messages. 2002-05-04 05:13:28 +00:00
takemura
0d9fe6e48c Enabled USB support for MC-R700. 2002-05-03 11:45:04 +00:00
takemura
9582b7c775 Enable USB support for MC-R700. 2002-05-03 11:37:48 +00:00
takemura
f8cb4c37a0 Fixed debug print. 2002-05-03 07:31:23 +00:00
shin
37b76b7ea4 (forgot to commit this file...)
* make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 23:24:55 +00:00
shin
0201440bd2 * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 12:36:47 +00:00
atatat
d1b3852365 Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
augustss
7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
thorpej
eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
takemura
e63e3c0ed4 Added bus probing to avoid bus error. 2002-04-14 07:59:56 +00:00
takemura
c9cb463127 Print bad address in interrupt handler. 2002-04-14 07:34:20 +00:00
takemura
ab452aef6c Fixed 8bpp problem of mq200. 2002-04-14 06:07:40 +00:00
takemura
090be59325 Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
        arch/hpcsh/dev/hd64461/hd64461video.c   Rev. 1.7 to 1.8
        arch/hpcmips/dev/plumvideo.c            Rev. 1.23 to 1.24
        arch/hpcmips/tx/tx3912video.c           Rev. 1.24 to 1.25
2002-04-13 09:29:53 +00:00
gmcgarry
6e066ba77a Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
shin
dee24b4393 renumber IT310 staff. 2002-04-09 13:20:30 +00:00
shin
c368b8692b add Fujitsu INTERTOP CX310 support. 2002-04-07 04:34:33 +00:00
lukem
d213d804f7 Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
shin
ae418cfcb0 enable NFSSERVER. 2002-03-26 05:26:37 +00:00
shin
a257a8dad5 if root device is md, change KLOADER_KERNEL_PATH to "/mnt/netbsd". 2002-03-25 13:47:26 +00:00
shin
142e7ef1a1 vrpiu needs wsmouse. 2002-03-25 13:24:18 +00:00