Commit Graph

55581 Commits

Author SHA1 Message Date
lukem 8b94063948 if bfd_write is invoked with ptr == NULL and (size * nitems) == 0, don't bother calling fwrite(); just return (0) 1999-09-17 13:38:19 +00:00
lukem 0f075b205f don't call fwrite() will a NULL buffer 1999-09-17 13:13:32 +00:00
lukem e0f82c3ae3 revert previous; if we examine SUS more closely we find that unless explictly specified, use of a NULL pointer is undefined 1999-09-17 13:03:46 +00:00
itojun b3d9b0130c eliminate unnecessary splnet(). 1999-09-17 12:26:04 +00:00
tsubai 7bf9aa0fdf s/ _MMEYE_H_/ _MMEYE_MMEYE_H_/ 1999-09-17 12:16:37 +00:00
is 6cf532dd3d Synchronize with fixed libc version:
If unsigned dividend > INT_MAX, or signed dividend == INT_MIN, be careful
to not overflow the divisor when shifting it to the left.
1999-09-17 11:42:56 +00:00
is 942ecedabb Clarify description of ``-c''. (See PR 4511) 1999-09-17 10:20:01 +00:00
kleink c46d95a329 The previous assertion change was incorrect: the preg argument is permitted to
be NULL (part of the interface definition!) unless errcode is REG_ATOI, which
is a non-portable extension.

Also, remove assertions from the local regatoi() function, as they are either
redundant or will never fail due to the buffer allocation for that argument in
regerror().
1999-09-17 09:33:34 +00:00
kleink 279f31c6ee Partially revert previous change: the assertions made in utility functions
defined with file scope only are redundant, and will never fail.
1999-09-17 09:25:34 +00:00
kleink ba7f64cc15 Revert previous change: the assertion
* is made in a utility function with file scope only, and
* will never fail.
1999-09-17 09:18:15 +00:00
lukem e97b67a374 remove diagnostic check for name==NULL; it's ok to call pw_error() in this case 1999-09-17 01:28:12 +00:00
msaitoh adc175c443 check SCI(F)CONSOLE 1999-09-17 01:23:00 +00:00
msaitoh 4a175ef57d options SCICONSOLE
options SCIFCONSOLE
1999-09-17 01:21:40 +00:00
ad 54943e8584 - Collapse forward and reverse cases in rasops_copyrows() into one
- Pull in opt_rasops.h so we know if clipping is enabled
- Some KNF
1999-09-17 00:22:07 +00:00
lukem 8a0f61568f since clnt_p*error() are expected to print an error message, print one if they're called with dodgy args. ;) 1999-09-17 00:21:12 +00:00
ad da0cbab431 Clean up attribute allocation some more. 1999-09-17 00:09:34 +00:00
lukem 2393f50e9e return NS_UNAVAIL if args are dodgy 1999-09-16 23:43:52 +00:00
msaitoh 9af0f68f52 - set nkpde from IOM_RAM_SIZE
- remove MMEYE_LED
1999-09-16 22:52:11 +00:00
augustss 97a24aa488 Make defines follow the standard. 1999-09-16 21:53:58 +00:00
msaitoh 4014b40eb8 cleanup 1999-09-16 21:39:24 +00:00
msaitoh 3323319940 add "device fdc {drive = -1}" for pcmcia 1999-09-16 21:31:29 +00:00
msaitoh 5a99c25885 sync with mmeye 1999-09-16 21:23:40 +00:00
msaitoh 29a76c3593 fix mask_irq() and unmask_irq() for SH7750 1999-09-16 21:22:40 +00:00
msaitoh fd0dba8d22 sync with bscreg.h 1999-09-16 21:20:20 +00:00
msaitoh 31f498776d add "device fdc {drive = -1}" for pcmcia 1999-09-16 21:18:55 +00:00
msaitoh f921a6e9c5 sync with tmureg.h 1999-09-16 21:17:46 +00:00
msaitoh 9211d6bed4 sync with sci*.h and tmureg.h 1999-09-16 21:17:26 +00:00
msaitoh d9a70fd1dc cleanup 1999-09-16 21:15:36 +00:00
kim 6c6c0c0d5c Make this compile on Solaris... 1999-09-16 19:57:54 +00:00
augustss f30ff2bf0f Fix typo. 1999-09-16 19:49:04 +00:00
augustss c5e6ea113e Update MIDI man page a little. 1999-09-16 19:47:49 +00:00
drochner 61ab682f29 set baudrate before talking to the keyboard (in non-console case)
from Konrad Schroder per PR port-alpha/8422
1999-09-16 19:39:05 +00:00
augustss a4457e18b3 More DIAGNOSTIC paranoia. 1999-09-16 19:20:34 +00:00
christos 75d8e5904a Regen 1999-09-16 18:19:11 +00:00
christos 36140f8037 fix olseek botch 1999-09-16 18:18:28 +00:00
jdolecek 61cf56ebf2 introduce new variable wsdisplay_defaultscreens (initialized to
WSDISPLAY_DEFAULTSCREENS or 0 if it's not defined) and use it instead
of WSDISPLAY_DEFAULTSCREENS as approptiate, so that number of screens
added on bootup is patchable

move printing of info about added screen into separate routine and
print just one message for all screens added in wsdisplay_common_attach(),
such as:
	wsdisplay0: screen 1-7 added (80x25, vt100 emulation)

while here, do minor const poisoning

Reviewed by: drochner
Tested by: jdolecek
1999-09-16 18:16:51 +00:00
sommerfeld 5aeebf1cf3 Resynch with libkern 1999-09-16 17:08:04 +00:00
sommerfeld 8a665c09ef Let this build without _DIAGNOSTIC 1999-09-16 17:03:46 +00:00
matt 458fefc5ad Compile the kernel for SHARKs optimized for strongarm. 1999-09-16 16:49:49 +00:00
msaitoh 99ca8c39f5 unused file (we have an asm version) 1999-09-16 15:04:13 +00:00
chs b9604a3f30 make this compile again after PMAP_NEW cleanup. 1999-09-16 14:52:06 +00:00
msaitoh 7977bd843d enclose tlbflush(), disable_intr() and enable_intr() with #ifder _KERNEL 1999-09-16 14:42:27 +00:00
minoura 15a7aff6f8 Sync (hp300). 1999-09-16 14:40:21 +00:00
takemura 6f19920b47 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-16 14:37:47 +00:00
minoura da2dab0c10 Finish PMAP_NEW.
- Wrong argument to pmap_kremove (vm_machdep.c:pagemove()).
 - Uninitialized variable (pmap.c:pmap_kremove <- this should be fixed long ago...)
1999-09-16 14:35:42 +00:00
msaitoh 224d34b5e1 remove sh3/include/mmeye.h 1999-09-16 13:32:24 +00:00
lukem 5727f01056 bump for __diagassert(). 1999-09-16 12:54:26 +00:00
msaitoh ffbd08b126 remove extra Id 1999-09-16 12:48:35 +00:00
msaitoh 814f6b8936 add NetBSD RCS ID 1999-09-16 12:48:06 +00:00
kleink 02fd6c4586 KISS 1999-09-16 12:47:31 +00:00