Commit Graph

409 Commits

Author SHA1 Message Date
provos
2f7a0aaac8 add SYSTRACE; approved perry. 2002-10-06 02:11:54 +00:00
elric
d19d268a95 assign majors for raw and cooked cgd's. 2002-10-04 18:28:24 +00:00
thorpej
d52d005f78 Use CFATTACH_DECL(). 2002-10-02 04:27:51 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej
71404bb533 Don't include <sys/map.h>. 2002-09-25 22:21:01 +00:00
martti
81e8d78cd4 Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK" 2002-09-25 11:49:48 +00:00
martti
3b553bac54 Added (commented out) IPFILTER_DEFAULT_BLOCK. 2002-09-20 10:39:48 +00:00
lukem
3ea2e21f82 enable USERCONF by default; it's small and extremely useful to have available. 2002-09-18 02:43:53 +00:00
tsutsui
6ea9721865 Add (missed) entries for md(4). 2002-09-14 11:16:16 +00:00
gehenna
77a6b82b27 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.
2002-09-06 13:18:43 +00:00
thorpej
139cdc3125 Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
variables unsigned, and update places where their values are printed.
2002-08-25 20:21:33 +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
simonb
fef76c7e26 Use a __HAVE_BOOTINFO_H define to check for bootinfo support instead of
speading port names in arch-dependant code.
2002-08-05 02:13:14 +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
jdolecek
adaf086af4 do not install apbus.h, apcall.h, romcall.h 2002-07-11 19:04:19 +00:00
gmcgarry
4b0692e70a Don't invoke MachFPInterrupt() if we're using SOFTFLOAT. 2002-07-07 00:22:18 +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
junyoung
3d826105dc alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 14:37: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
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
simonb
cf5f852d1c Standardise on the name "MIPS_SR_BEV" instead of a couple of different
#defines for the same status bit.
2002-06-01 12:27:03 +00:00
thorpej
c49ac7a5a6 Use __mips__ instead of mips. 2002-05-31 21:43:49 +00:00
thorpej
e50420de38 Statements must follow labels. 2002-05-31 21:40:49 +00:00
thorpej
144cc23985 Use __mips__ instead of mips. 2002-05-31 21:19:03 +00:00
lukem
854c067af6 Update to <sys/bootblock.h>'s shared_bbinfo.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 14:12:23 +00:00
thorpej
4daab7072a Don't access a scsipi channel's periph table directly; use
scsipi_lookup_periph().
2002-05-16 02:50:53 +00:00
jdolecek
4dd6651e00 CLEANFILES should be set regardless of target 2002-05-05 15:57:15 +00:00
jdolecek
b9308c4120 also don't do the machine symlinks for 'cleandir' target 2002-05-05 15:42:26 +00:00
tsutsui
27c8560138 Make sure whole DPRINTF()s are actually disabled on normal build.
It seems compiler does not remove text strings in while(0) statement
on its optimization.
2002-04-30 01:07:26 +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
tsutsui
e5c1c88d93 Add version strings by newvers_stand.sh to secondary boot. 2002-04-18 14:54:38 +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
tsutsui
a1124f0f2a Enable spifi SCSI. 2002-04-14 07:37:58 +00:00
tsutsui
55c1bc5448 Expand MEMORY_DISK_ROOT_SIZE to 2.5Mbytes. 2002-04-14 02:30:22 +00:00
tsutsui
97538862ad Add -b option for contiguous secondary boot on ustarfs. 2002-04-13 08:14:07 +00:00
tsutsui
b29a332627 Add ustarfs support and changedisk_hook(). 2002-04-13 08:04:41 +00:00
tsutsui
3369f7b337 Add some ioctl() definitions to eject floppy. 2002-04-13 07:56:02 +00:00
tsutsui
894a4f24e2 Add getchar(). 2002-04-13 07:53:53 +00:00
tsutsui
d5dd9411f6 bcopy() -> memcpy() 2002-04-13 07:34:41 +00:00
tsutsui
10720920d5 bzero() -> memset() 2002-04-13 07:34:17 +00:00
tsutsui
c69f6fde96 Rename halt() -> rom_halt(), and declare it in romcall.h. 2002-04-13 02:43:43 +00:00
tsutsui
5e64969e37 Build SA libs with -mmemcpy and set LIBSA_USE_MEMSET and LIBSA_USE_MEMCPY. 2002-04-13 02:30:30 +00:00
tsutsui
9d95be4e68 Add -mmemcpy to CFLAGS. 2002-04-13 02:29:08 +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