Commit Graph

55525 Commits

Author SHA1 Message Date
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
lukem
3471ac6647 return (0) if size or count == 0 before check for _DIAGASSERT(buf != NULL).
this is ok according to SUS.
1999-09-16 12:45:34 +00:00
takemura
db2b0adebd Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00
takemura
2f85eb6142 Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:13:17 +00:00
leo
f7fd8ced64 Remove FP-emulation from the TT-kernel. All TT's should have an FPU. 1999-09-16 12:00:04 +00:00
leo
b9b9cc8cb9 Make this compile again. 1999-09-16 11:58:49 +00:00
lukem
b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00