Commit Graph

48273 Commits

Author SHA1 Message Date
David E. O'Brien
fc81cf82e9 1. `movl' is for use with 32-bit operands. Do NOT use it with 16-bit
operands.  `movw' could be used, but instead let the assembler decide
   the right instruction to use.
2. AT&T asm syntax requires a leading '*' in front of the operand for
   indirect calls and jumps.
2000-05-10 01:24:23 +00:00
David E. O'Brien
589607c435 AT&T asm syntax requires a leading '*' in front of the operand for indirect
calls and jumps.
2000-05-10 01:21:15 +00:00
David E. O'Brien
1da6875a18 Note the syntax for specifying an operand's size is documented in
src/contrib/gcc/config/i386/i386.md.
2000-05-10 01:17:14 +00:00
David E. O'Brien
25f0103084 When using _asm{} in GCC, one must specify the operand's size if one
specifies the instruction's operation size.  GCC will default to 32-bit
operands reguardless of the prototype (ie, formal parameters' type)
of an inline function.
2000-05-10 01:15:55 +00:00
David E. O'Brien
86e3cfcd92 Note that in rev. 1.48, a 32-bit move was specified with 16-bit operands.
This is incorrect.
2000-05-10 01:08:08 +00:00
David E. O'Brien
7ff3366e73 Do not specify the size to move. Allow the assembler to figure it out. 2000-05-10 01:06:39 +00:00
David E. O'Brien
a77751d7ee Support non-i386 architectures. 2000-05-10 01:05:11 +00:00
Jun-ichiro itojun Hagino
73b30f0cdf correct possible security issue(s) in name resolution, due to use of
pre-4.9.7 BIND resolver code.
ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details.

Reviewed by:	ume
2000-05-10 00:47:20 +00:00
Darren Reed
68b16578ca Fix bug in dealing with "hlen == 1 and opt > 1" 2000-05-09 23:35:24 +00:00
Paul Saab
e0ab5cb523 Tidy up the offset calculations.
Submitted by:	bde
2000-05-09 22:20:14 +00:00
Bill Paul
2aea9e28cb When setting up an iomem resources, remember to set the MEM_ASSIGNED bit
so that pccardd actually does something to set up the memory range.
2000-05-09 22:01:16 +00:00
Bruce Evans
9114579d7a Regenerated (fixed the calculation of sy_nargs in sysent tables). 2000-05-09 21:52:02 +00:00
Bruce Evans
563ae30721 Don't forget to back up svr4_syscallnames.c. Don't depend on side effects
to generate it.
2000-05-09 21:40:01 +00:00
John Baldwin
065aa0a04f Actually, overriding DISTFILES at all is just a bad idea, so remove the
variable all together.

PR:		misc/14104
Submitted by:	Don Croyle <croyle@gelemna.ft-wayne.in.us>
2000-05-09 21:21:42 +00:00
Bruce Evans
6b972e0bdd Fixed the calculation of sy_nargs in sysent tables. We attempted to do
this in awk using the hack of counting args of type off_t twice and args
of all other types once.  This is too simple to work.  It gave benignly
wrong results on alphas (off_t shouldn't be counted twice) and for
svr4_sys_mmap64() on i386's (off64_t should be counted twice).  It gave
fatally wrong results for i386's with 64-bit longs (longs should be
counted twice).  The correct value for sy_nargs is easier to determine
from the size of the args struct anyway, except for complications to
make the generated code almost readable.

Improved formatting of sysent tables by lining up the comments where
possible.
2000-05-09 21:18:30 +00:00
Nick Hibma
de7a23ed98 Regen. 2000-05-09 20:45:14 +00:00
Nick Hibma
65642d59be Add Alcor Keyboard with built-in hub and its keyboard. 2000-05-09 20:43:37 +00:00
Tim Vanderhoek
b17407bbe3 Small grammar gnit. 2000-05-09 20:35:13 +00:00
Wilko Bulte
1f2c1783b5 Add reference to new name DIGITAL Server 330x for AlphaServer 800 2000-05-09 20:30:04 +00:00
Warner Losh
3ddaf7e529 This appears to have been repo-copied to lpd a while ago and never
deleted here.  Diff shows there is only one change to this file, which
matches the repo histories.
2000-05-09 19:41:18 +00:00
Poul-Henning Kamp
192c06ea1b Change the "bdev-whiner" to whine when open is attempted and extend
the deadline a month.
2000-05-09 18:53:57 +00:00
Mike Pritchard
b68d89eb4c Spelling fix: despatching -> dispatching. This makes the
spelling consistent throughout the man page.

PR:		docs/18467
Submitted by:	Alexander N. Kabaev <ak03@gte.com>
2000-05-09 18:52:26 +00:00
Mike Pritchard
9dca1aebb4 Correct a patch name and use the correct macro for displaying it.
PR:		docs/18468
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
2000-05-09 18:44:34 +00:00
Doug White
325bde0fb7 Remove metion of the 'magic options.' Apparently PXE doesn't require the
special options on 0.99c (it mumbles something about 'PXE server not found'
but works anyway), and it won't work at all with PXE 2.0.
2000-05-09 18:28:07 +00:00
John Baldwin
f548daf09f Move UKBD_DFLT_KEYMAP into the options file since USB is machine
independent.  This allows the ukbd0 driver to compile on the Alpha.

Approved by:	o`brien (in principle)
2000-05-09 18:23:38 +00:00
Bruce Evans
29270d20bc Fixed the return type for exit() and the args struct tag several NOPROTO
syscalls including exit().  These entries were unused, so the bugs had no
effect, but the the args struct tag will be used to calculate sy_nargs
correctly.  exit() was wrong in all emulators.
2000-05-09 18:23:16 +00:00
Matthew Hunt
0486ee6f1f Correct "it's" to "its".
PR:		18469
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
2000-05-09 18:08:52 +00:00
Bruce Evans
8bc3445472 Fixed the return type and args struct tag for exit(). They were wrong in
all emulators.  These entries were unused, so the bug had no effect, but
the the args struct tag will be used to calculate sy_nargs correctly.
2000-05-09 18:08:51 +00:00
Bruce Evans
c35cf93676 Fixed the return type and args struct tag for exit(). They were wrong in
all emulators.  These entries were unused, so the bug had no effect, but
the the args struct tag will be used to calculate sy_nargs correctly.
2000-05-09 17:54:30 +00:00
Matthew Dillon
d2ba455c2c Some ioctl routines assume that the ioctl buffer is aligned, but a
char[] declaration makes no such guarentee.  A union is used to force
    alignment of the char buffer.
2000-05-09 17:43:21 +00:00
David E. O'Brien
0cc9df7d62 Change floating point exception type to match the i386 one.
Submitted by:	Mark Abene <phiber@radicalmedia.com>
2000-05-09 17:43:20 +00:00
Paul Saab
88c7d46bdc Add missing include machine/in_cksum.h.
Submitted by:	n_hibma
2000-05-09 16:56:51 +00:00
Sheldon Hearn
befd5c23b2 The printenv(1) command is now a builtin(1) in csh(1). 2000-05-09 15:02:03 +00:00
Sheldon Hearn
68acfb0617 Update the builtin(1) manpage to reflect changes since the csh(1)
to tcsh(1) upgrade.  The following commands were added as builtins:

	bindkey
	builtins
	complete
	echotc
	filetest
	hup
	log
	ls-F
	printenv
	sched
	settc
	setty
	telltc
	uncomplete
	where

The printf builtin was removed.
2000-05-09 14:59:06 +00:00
Sheldon Hearn
f167d7fb3e Fix miscellaneous mdoc macro argument limit infringements.
PR:		18465
Reported by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Yoshihiro Takahashi
f9602de6f7 Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
Sheldon Hearn
19f84caa23 Work around the mdoc argument limit in the Nd name description.
PR:		18465
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 13:01:04 +00:00
Nick Hibma
8760f39d55 Create a separate target for the 'modules'. Without this the modules
are only rebuilt if the kernel has changed as well.

While there make 'all' and 'modules' a PHONY target.
2000-05-09 10:39:38 +00:00
Bruce Evans
4aee570d90 Regenerated (fixed the type of mmap()'s padding arg). 2000-05-09 08:35:51 +00:00
Bruce Evans
aa4b7eae22 Fixed the declaration of mmap(). The crufty padding arg had the wrong
type.  This gave an inconsistent amount of crufty padding on i386's with
64-bit longs (8 bytes instead of 4).  On alphas it gives a consistent
amount of crufty padding (8 bytes) in addition to the 4 bytes of normal
padding caused by passing int args as register_t's.

Fixed the args struct tag for the NOPROTO syscalls (netbsd_lchown() and
netbsd_msync()).  The tag is currently unused for NOPROTO syscalls, so
the bug has no effect, but it will be used even in the NOPROTO case to
calculate sy_nargs correctly.
2000-05-09 08:31:06 +00:00
Sheldon Hearn
123b196a08 Fix nits in previous commit: hard sentence break and grammar. 2000-05-09 08:09:31 +00:00
Matt Jacob
15e0583c79 Some prettifying for the quirk comments.
Add a SA_QUIRK_NO_MODESEL type and use it for the OnStream real SCSI
device (not the broken one). This one is still broken in that it can't
be set to the same fixed block size it reports [ unflattering comments
about this company elided ].

If we're unable to set buffered mode on, complain, but drive on. It's
not a fatal error to not be in buffered mode.
2000-05-09 04:54:10 +00:00
Tim Vanderhoek
5bbd5cc8f4 Exit if we read two EOFs from the keyboard input stream. Why two and not
one?  Just 'cause.

PR:		misc/14932
2000-05-09 04:13:49 +00:00
Tim Vanderhoek
64e8edb884 Don't segv if viewing "#" and there is no prev-file (long-standing).
Staticize a variable that was meant to be static (broken in r.1.11).

PR:		bin/11370 Henry Whincup <henry@techiebod.com> (for the segv)
2000-05-09 03:53:13 +00:00
Tim Vanderhoek
eee0e29c1d .Xr vgl 3 ,
PR:		kern/14566
2000-05-09 02:52:39 +00:00
Matt Jacob
f66ed5ddfa Change references/comments about 'secondary' to reflect that while we'd
like to see the true SRM bus number be passed to us, instead, we get FreeBSD's
PCI bus instance number (Brzzt! Wrong Answer!).

Also, once we've seen the MCPCIA that has the EISA bus on it, call
dec_kn300_cons_init just before configuring devices on this bus.
2000-05-09 02:20:44 +00:00
Matt Jacob
b7f041a89d Unhide dec_kn300_cons_init and don't make it something we call early.
We'll call it later when, in the natural order of things, we configure
the MCPCIA that has the EISA bus that a serial console and/or VGA and/or
keyboard.
2000-05-09 02:19:04 +00:00
Peter Wemm
7a5388bfbf Fix some whitespace brokeness.. (usio and ctx) 2000-05-09 01:15:55 +00:00
Matt Jacob
6d1d7d4c87 Fix some breakage about how we build WWNs. Do some other fabric related
changes: consider a new PDB entry different if Class 3 service parameter
roles change (!!!). Do some checking as we're getting a port database
that traps whether things change while we're doing so. Handle N-port
and F-ports correctly. Fix the fabric login loop to retain a login/binding
if things haven't changed (I mean, why logout a device only to log it back
in). No longer accept, after fabric logins, garbage if we can't get a PDB
entry that matches the device we've just logged into- if it doesn't, log
it out as it is very unlikely to still be what we thought it was. Get rid
of some of the debounce loops because we could get stuck there.
2000-05-09 01:14:43 +00:00
Matt Jacob
a200278c54 roll platform minor 2000-05-09 01:09:46 +00:00