Commit Graph

45057 Commits

Author SHA1 Message Date
ross 6fafd0bb60 Do critical sections a better way. 2001-03-15 22:49:27 +00:00
enami bb839b38fa - Wrap long line.
- Consistently use #define<TAB> instead of #define<SPACE>.
2001-03-15 22:26:03 +00:00
enami f0643cdf2a Fix indentation and white space usage. 2001-03-15 22:20:12 +00:00
ross ac906a109d LP64 a kprintf(9) 2001-03-15 21:59:09 +00:00
abs c51634b970 Regen after adding Hauppauge WinTV USB FM 2001-03-15 20:10:08 +00:00
abs 4bd593f038 Add Hauppauge WinTV USB FM 2001-03-15 20:09:50 +00:00
tsubai e679c63257 Accept 8000Hz (XXX). 2001-03-15 19:55:16 +00:00
tsubai 5eab0287fb Use write-through caching for video ram. (Disabled by default, for now.) 2001-03-15 19:48:04 +00:00
tsubai 4382a59d64 Add ulinear16 support.
Return EINVAL if specified rate is not available.
2001-03-15 19:42:42 +00:00
manu 1208df7bdf Fixed brk() emulation. We now keep track of the processes' idea of the
break value. See http://mail-index.netbsd.org/tech-kern/2001/03/15/0000.html
for more details.
2001-03-15 19:18:20 +00:00
bouyer 8c5e25e486 1010 has clock quadrupler but without PPL, so use SF_CHIP_DBLR. 2001-03-15 17:41:28 +00:00
bouyer 2b318d4800 Note that SF_CHIP_QUAD is for clock quadrupler with busy wait for PPL.
SF_CHIP_DBLR is for clock doubler or quadrupler.
2001-03-15 17:38:59 +00:00
uch 054158f994 HD64461 UART module support. 2001-03-15 17:30:55 +00:00
uch 106c0aee60 setup bootinfo.bi_cnuse at bootloader phase. 2001-03-15 17:24:45 +00:00
tsubai 123c25cc93 Remove PAGER_MAP_SIZE definition -- use default value. Instead, decrease
VM_MAX_KERNEL_BUF.
2001-03-15 16:06:59 +00:00
tsutsui 585b6f2b0a Fix tyop in comments. 2001-03-15 13:45:00 +00:00
is 4925cee33b It's one more if the max. coll. bit is set. 2001-03-15 13:27:31 +00:00
is 56ae0825ba Thats collisions, not errors! 2001-03-15 13:23:23 +00:00
chs ac3bc537bd eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>
2001-03-15 06:10:32 +00:00
mrg ef26546e15 lock the kernel around calling interrupt stubs. 2001-03-15 03:20:43 +00:00
mrg 122b3a0e67 sprinkle KERNEL_LOCK() and KERNEL_PROC_LOCK() where they're missing. add
SYSCALL_DEBUG support to trap.c.
2001-03-15 03:01:39 +00:00
drochner ba30691de0 This file needs <machine/types.h> to DTRT wrt __HAVE_OLD_DISKLABEL.
disklabel(5) doesn't tell to include it explicitely (as other platforms),
so include <sys/types.h> implicitely
2001-03-14 16:39:33 +00:00
christos 2142a2c4ea populate OSABI list 2001-03-14 16:27:15 +00:00
ichiro 38bf48d59a Implement uplcom_intr().
use interrupt pipe of USB serial adapter
2001-03-14 15:53:01 +00:00
toshii c08eec9f47 Use hpc/hpc/disksubr.c. 2001-03-14 14:47:40 +00:00
toshii 300d398485 Move references to arm/arm/disksubr*.c from files.arm to
files.{arm26,arm32,dnard}.
2001-03-14 14:39:45 +00:00
drochner 35067a1717 this driver doesn't work on my thinkpad, so disable the match for the
IBM/0x00dd subsystem ID too
2001-03-14 11:38:55 +00:00
mjacob 272082c697 ansify code 2001-03-14 06:58:25 +00:00
onoe 9b1d7974ba make compilable again without FW_DEBUG. 2001-03-14 06:46:17 +00:00
mjacob ecdaf852b2 Clean up licence a bit. ANSIfy. 2001-03-14 05:47:56 +00:00
mjacob c67c3d855d Clean up and update copyright (remove advertising clause). Clean
up header guard.  Clean up structure definition for at2_entry so
it's correct rather than derived from at_entry- this is important
for unswizzling purposes. Add a whole bunch of unswizzle macros-
they're not quite right yet but at least they're a start. Note that
we now have, for at_entry, a 16 bit firmware handle as part of what
had been at_reserved- this is to correlate ATIOs with CTIOs- and
this must be carried along as part of a tag value to use with all
CTIOs we send in relation to this ATIO. ANSIfy.
2001-03-14 05:46:50 +00:00
mjacob 98381c7a2d ANSIfy source. 2001-03-14 05:44:46 +00:00
mjacob 8d81f18e84 Handles are now 16 bits. ANSIfy. 2001-03-14 05:44:21 +00:00
mjacob 765a49664e Roll core minor. ANSify. 2001-03-14 05:14:36 +00:00
mjacob 6112b6b2e7 Clean up some comments. Expand usage of cd_reserved. Expand cd_tagval
to 32 bits so it can haul along this furshlugginer handle for parallel
SCSI as well as a regular vanilla 8 bit SCSI tag.
2001-03-14 05:10:38 +00:00
mjacob 928cef6eb8 Clean up license && copyright a tad. ct_reserved should now be more
properly called ct_syshandle.
2001-03-14 05:01:54 +00:00
mjacob 5d68eec9d1 Handles are now u_int16_t instead of u_int32_t. ANSIfy (NetBSD was the holdout). 2001-03-14 04:55:21 +00:00
mjacob 4a005e2d38 Update copyright date. ANSIfy isp.c (NetBSD was the holdout of all
the platforms this code runs on). Handles are now u_int16_t, so adjust
code as required.
2001-03-14 04:54:13 +00:00
christos 6e6957a277 regen 2001-03-14 01:41:29 +00:00
christos 47ae449748 PR/12405: Wolfgang Rupprecht: Add another abocom card (linksys pcm200) 2001-03-14 01:41:09 +00:00
eeh b612a766a7 Handle overtemp intr. 2001-03-14 00:52:19 +00:00
bjh21 c3c5158d00 Change the value of tf_pc in undefined-instruction handlers on arm32. It now
always points to the undefined instruction in question.  It's up to the
handler to advance it to the next instruction if it wants execution to
continue there.  This is how things have always worked on arm26.
2001-03-13 23:56:48 +00:00
bjh21 ce3ad2275b Update FPU detection to use remove_coproc_handler(). 2001-03-13 23:51:48 +00:00
sommerfeld d02dde9937 Change ffs_dirpref() to pay attention to the amount of available free
space before deciding which cylinder group should contain a new directory
inode.

Fixes kern/11983; works around some, but not all, of the side effects
of kern/11989.

Tested by me for well over a month on my laptop; preliminary versions of
the fix were tested by Frank van der Linden and Herb Peyerl.
2001-03-13 21:16:23 +00:00
bjh21 a7ba6bb441 Update for new linked-list undefined-instruction handler. 2001-03-13 21:00:13 +00:00
bjh21 aebf9049d4 Update to use install_coproc_handler_static(), since install_coproc_handler()
isn't safe this early.

XXX hpcarm should use db_machine_init() to do this.
2001-03-13 20:52:48 +00:00
bjh21 c72a18bddc Separate out the SIGTRAP (gdb breakpoint) generator from undefinedinstruction()
so it's no longer a special case.
2001-03-13 20:22:02 +00:00
bjh21 db1f089718 Initialise the undefined-instruction handler at startup. 2001-03-13 20:20:43 +00:00
scw bb17ec14d3 Conditionalise inclusion of opt_compat_svr4.h for the benefit of LKMs. 2001-03-13 18:47:19 +00:00
bouyer c7871f80bf Looks like "VSCom PCI-800H" should be in fact "Titan PCI-800H". 2001-03-13 17:23:52 +00:00