Commit Graph

27848 Commits

Author SHA1 Message Date
John Birrell
bb8a420424 This function compiles with the standard, so say so.
Add a note about not touching errno and warn about previous drafts
of the standard which changed the level of indirection to the thread
argument. POSIX had a bit of trouble deciding what to do. So anyone
coding to both draft 4 and draft 10 (the final draft) will get burnt
by this function. I did. Grrr.
1998-04-03 09:11:15 +00:00
Andrey A. Chernov
0c168a81b5 Cosmetique changes in vidcontrol all screens knob 1998-04-02 15:33:49 +00:00
Andrey A. Chernov
1d060622ba Implement vidcontrol knob which allows to set passed flags/modes
for all virtual screens (via for loop)
1998-04-02 15:17:52 +00:00
Ollivier Robert
88edbb05c3 Fix bug in rarpd:
Explanation of the bug: when processing its first request, rarpd
     opens a routing socket to send requests to the arp table. It keeps
     that socket open afterwards, while waiting for new RARP requests.

     Meanwhile, the data received on the routing socket fill up until
     they are about 8Kbytes in size. Any additional data is lost.

     When rarpd receives its next RARP request, it tries to access the
     ARP table via a routing socket call, then waits for the answer to
     its own request. This answer is lost because the received data is
     already filled: when looking for the reply, rarpd receives only
     8kbytes worth of data, then loops waiting forever.

     Someone please test it on -STABLE and commit it. We can close the PR
     when testing on STABLE is done.

PR:		bin/5669
Submitted by:	Pierre Beyssac <pb@fasterix.freenix.org>
1998-04-02 13:20:15 +00:00
KATO Takenori
18352eee9a Sync with sys/i386/isa/wd.c revision 1.152. 1998-04-02 11:06:59 +00:00
Daniel O'Callaghan
2b96268f45 Correct spelling. 1998-04-02 09:28:09 +00:00
Poul-Henning Kamp
4ff16568be Try to fix poll & select after I broke them. 1998-04-02 07:22:17 +00:00
Warner Losh
47b630b949 Add aback in a line a accidentally killed in my last commit.
Submitted by:	Bill Fenner
1998-04-02 04:33:18 +00:00
Eivind Eklund
a0eea1d6ed Scaffolding for High Availability code. The actual code will probably
come tomorrow.

Submitted by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-04-02 04:25:41 +00:00
Eivind Eklund
512f816a5d Shut up GCC. 1998-04-02 02:10:47 +00:00
Eivind Eklund
3aa4b74433 Make this compile (and seemingly work). 1998-04-02 01:12:55 +00:00
Daniel O'Callaghan
5c1bad3122 PR: bin/6193
Submitted by:	Max Euston <meuston@jmrodgers.com>
Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
1998-04-01 21:34:10 +00:00
Tor Egge
5758c2de94 Add two workarounds for broken MP tables:
- Attempt to handle PCI devices where the interrupt is
	  an ISA/EISA interrupt according to the mp table.

	- Attempt to handle multiple IO APIC pins connected to
	  the same PCI or ISA/EISA interrupt source.  Print a
	  warning if this happens, since performance is suboptimal.
	  This workaround is only used for PCI devices.

With these two workarounds, the -SMP kernel is capable of running on
my Asus P/I-P65UP5 motherboard when version 1.4 of the MP table is disabled.
1998-04-01 21:07:37 +00:00
Tor Egge
300e9a7696 Declare some variables modified by interrupt handlers as volatile. 1998-04-01 20:38:28 +00:00
Jordan K. Hubbard
72d450cd6e MF22: NOSHARED=YES 1998-04-01 15:19:23 +00:00
Philippe Charnier
a88c04c647 Use .An/.Aq. 1998-04-01 06:29:16 +00:00
Philippe Charnier
54425adcfb .Use .An. 1998-04-01 06:26:40 +00:00
Philippe Charnier
facbd4876f .Sh AUTHOR -> .Sh AUTHORS. 1998-04-01 06:24:20 +00:00
Philippe Charnier
cc3e67c760 Use .An/.Aq. 1998-04-01 06:22:28 +00:00
Philippe Charnier
22211963c4 Exit(-1) -> exit(1). 1998-04-01 06:16:17 +00:00
Philippe Charnier
7f6a039d03 Add prototypes, usage(). Add Id. 1998-04-01 06:15:37 +00:00
Philippe Charnier
847f3e6362 Add Id. 1998-04-01 06:14:35 +00:00
Philippe Charnier
5068b469d9 Use .An/.Aq. 1998-04-01 06:14:16 +00:00
Philippe Charnier
4d524c2efc Use Id instead of Header. 1998-04-01 06:13:47 +00:00
John Birrell
8999cfc9b5 Temporary fix for problems that occur if CFLAGS=-g is added to
/etc/make.conf. The tools can't handle generating debug code where
we fiddle with the ELF segments.
1998-04-01 03:24:19 +00:00
Warner Losh
c03e877a88 A fairly rare possible buffer overflow:
Theo fixed this and tqbf reported it
Obtained from: OpenBSD
1998-04-01 00:32:18 +00:00
Poul-Henning Kamp
460608e768 Fix an off by 1<<32 error. 1998-03-31 10:47:01 +00:00
Poul-Henning Kamp
75da0aa298 Add a dummy timecounter until we find the real thing(s). 1998-03-31 10:44:56 +00:00
KATO Takenori
e40c3a225b Cosmetic. Move a blank line. 1998-03-31 09:37:44 +00:00
KATO Takenori
2dbeac88d1 Sync with sys/i386/i386/trap.c revision 1.125 and sys/i386/isa/clock.c
revision 1.118.
1998-03-31 07:53:13 +00:00
Philippe Charnier
69c4ee1e17 Use .An/.Aq.PR: 1998-03-31 06:52:28 +00:00
Jean-Marc Zucconi
c61333539c Add an ioctl to retrieve the next writable address.
Defer the WRITE SESSION command until the first write command, so that
it works like the prepare track command, allowing the device to be
closed after the command.
1998-03-31 01:56:29 +00:00
Jean-Marc Zucconi
2dc703e48c Document the WORMIOCFIRSTWRITABLEADDR ioctl. 1998-03-31 01:55:11 +00:00
John Birrell
c911e0775c Add `hdrs' to the beforeinstall for libss so that the headers are
available for install.

I thought that was what beforeinstall was supposed to do. Sigh.
1998-03-30 23:10:39 +00:00
KATO Takenori
2d6b7367bc - Use existing file (psm.c) though the driver does not work under
PC-98 arch.
- Merge the change in sys/i386/conf/files.i386 revision from 1.187 to
1.188.
1998-03-30 12:36:16 +00:00
KATO Takenori
95e9ae97a6 Merge the change in sys/i386/boot/rawboot/Makefile revision from 1.7
to 1.8.

Forgotten by:	kato
1998-03-30 12:24:12 +00:00
KATO Takenori
ea73828adc Added missing #include's. 1998-03-30 12:10:02 +00:00
Poul-Henning Kamp
90455566ee Pickup _time_second instead of _time 1998-03-30 10:10:29 +00:00
Poul-Henning Kamp
c8e2201fa2 Chnage the profiling printout to reflect that they are not
struct timeval anymore.
1998-03-30 10:09:05 +00:00
Poul-Henning Kamp
227ee8a188 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
Andrey A. Chernov
20344e1582 Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
Andrey A. Chernov
76ee2baecf Run adjkerntz -a at 05:01 too 1998-03-30 09:17:25 +00:00
Jordan K. Hubbard
219443164f Use the correct templates file.
PR:		6135
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-03-30 08:29:28 +00:00
Warner Losh
58ee96c06e fkey61 is the same thing as del, kinda. Make sure that we really swap del and
bs.

Reported by: Chuck Robey
1998-03-30 04:25:42 +00:00
John Polstra
98ad0dae72 Give up on a.out support in binutils. It has too many problems to
be worth much effort.  Install all i386 binutils programs in
"/usr/libexec/elf".  Disable a.out support in libbfd.  It's too
dangerous to leave it in.  Some of the utilities think they can
handle a.out, but they generate bad object files.
1998-03-30 02:21:27 +00:00
John Polstra
dc84a8ccd6 Add c++filt. 1998-03-30 02:19:09 +00:00
David E. O'Brien
680426be8f Add NTFS partition type.
Add "." at the end of some sentances.
Also print "flag 80" in English.
Give hint that "sysid" for FreeBSD is 165 decimal.
Ensure active partition specified by user is 1-4.
1998-03-29 23:41:51 +00:00
John Dyson
006b9b7df9 Correct a significant problem with the softupdates port. Allow fsync
to work properly within the softupdates framework, and thereby eliminate
some unfortunate panics.
1998-03-29 18:23:44 +00:00
KATO Takenori
7f3e28046d Sync with sys/i386/isa/if_ed.c revision 1.138. 1998-03-29 12:48:46 +00:00
KATO Takenori
ebec4c06c1 Sync with sys/i386/i386/trap.c revision 1.124. 1998-03-29 12:48:01 +00:00