Commit Graph

22927 Commits

Author SHA1 Message Date
fsmp
2cd754efcd Tighten up asm code for TEST_PRIO and other misc. things.
Use some new defines in place of "magic numbers".
1997-07-15 02:51:20 +00:00
fsmp
dcd393b384 Tighten up asm code for EOI access. 1997-07-15 02:49:21 +00:00
fsmp
e8a415386f New defines to eliminate "magic numbers" in various places. 1997-07-15 02:47:54 +00:00
fsmp
dd0a098be8 Minor cleanup. 1997-07-15 02:46:37 +00:00
obrien
4e77e69f12 Add description of the link{0,1,2} flags 1997-07-14 23:42:57 +00:00
wpaul
f99d6c64a8 Unbreak this file some more:
CFLAGS=+-I${.CURDIR}/../../sys -> CFLAGS+= -I${.CURDIR}/../../sys

Asked about on BSDnet:#FreeBSD by: philw@dream.webmaster.com (Phillip White)
1997-07-14 19:57:50 +00:00
ache
75986f527f Add Latin American keyboard
PR: 2863
1997-07-14 18:29:56 +00:00
guido
069c57b5d7 Unbreak it. Apparently I forgot to do a make clean when testing :-(
Unfortunately, Makefile is not included in .depend.
1997-07-14 15:10:34 +00:00
msmith
9e71915834 Fix vi-mode searching broken with the NetBSD changes update.
PR:		bin/4064
Submitted by:	Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-07-14 13:21:08 +00:00
kato
5341bfa761 Synchronize with sys/i386/isa/syscons.c revision 1.224. 1997-07-14 12:35:04 +00:00
kato
89fcbcfce6 Synchronize with sys/i386/boot/biosboot/serial.S revision 1.9. 1997-07-14 12:34:01 +00:00
kato
3b6e37b89f Added CPU_BLUELIGHTNING_FPU_OP_CACHE and CPU_BLUELIGHTNING_3X.
Forgotten-by:	me.
1997-07-14 12:33:06 +00:00
kato
6d5ca200db Synchronize with sys/i386/conf/options.i386 revision 1.50. 1997-07-14 12:31:27 +00:00
peter
18d0d6f155 Hack to work around the large username field... scan for the largest
username present on the system at startup and use that for the field width.
It's not ideal but (I think) better than it was before.  The width is
limited to within 8..16.
1997-07-14 09:06:46 +00:00
julian
2525533d28 two tiny typo's 1997-07-14 04:53:52 +00:00
julian
a85cb80472 remove annoying debug message 1997-07-14 04:30:22 +00:00
yokota
15a89c532d scgetc() referred to `spcl' in different ways when a key is pressed
and released.  It should use `spcl' consistently in both cases,
otherwise shift/control/alt state may not be correctly set/reset.

(Even with this fix, you can still make syscons confused and fail to
change internal state if you really want to, by installing a really
arcane and artificial keymap.)

PR: i386/4030
Reviewed by: sos
1997-07-14 03:36:50 +00:00
brian
e3faa34d53 Allow a "hangup" capability.
You can now "ATZ" your modem when it's closed.

Submitted by:	peter@citylink.dinoex.sub.org (Peter Much)
1997-07-14 01:41:35 +00:00
jkh
9ba2a5db74 Remove some bogus malloc family declarations. 1997-07-13 23:45:34 +00:00
asami
941ff0acbb Remove bogus ("char *") malloc(), calloc() and realloc().
Found by:	jkh and the new world patch
1997-07-13 21:29:17 +00:00
bde
20aa44a88c 32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit
counters.  `4' in GPROF4 and gprof4 now means 8.  gprof4 needs to be
recompiled to match the kernel.
1997-07-13 16:38:39 +00:00
bde
1771415dae Always mark st_ctime for update upon successful completion of
chown().  Previously, it wasn't marked for null chown()'s.  We
permit null chown()s as a special case of "appropriate privilege"
- everyone has enough priviilege to not change ids (this is a better
argument than the one I gave for rev.1.13, that null changes aren't
really changes).  However, POSIX.1 requires the update independently
of whether anything has changed.

Clear both the setuid and the setgid bits upon successful completion
of non-null chown()s by non-root.  Previously, the setuid bit was
only changed for non-null changes of the uid, etc.  POSIX.1 requires
clearing both unless the call was made by a process with "appropriate
privilege", in which case altering the bits is implementation-defined.
We define appropriate privilege as `process is root, or the change
is null', and the implementation-defined behaviour as not altering
the bits.   There is no interpretation that permits clearing only
one of the bits.

Reviewed by:	jdp
1997-07-13 16:26:40 +00:00
bde
4112123248 Use the correct size for a sector in the search for a label in
readdisklabel().  Sectors may be larger than DEV_BSIZE.
1997-07-13 15:53:20 +00:00
bde
9ef092d81d Removed semicolon from the end of a #define. 1997-07-13 15:43:54 +00:00
bde
c21548a94c Fixed comment about i_spare. 1997-07-13 15:40:31 +00:00
bde
ce6649a544 Added CPU_DIRECT_MAPPED_CACHE. 1997-07-13 15:26:54 +00:00
bde
a213c5f584 Saved a few bytes by omitting frame pointers, using byte-sized
instructions more (many cases were already intended to be byte-sized
but were missing prefixes so gas assembled them bogusly), and
rearranging a loop to test at the end.
1997-07-13 15:24:15 +00:00
bde
b3990a1b1f Removed "hack to prevent overflow of a 32bit block number". Lite2 has a
better hack in ffs_vfsops.c.  The hack here restricted the maximum file
size to 2^39 bytes (512GB).  fs_bsize * 2^31 - 1 (16TB for the default
blocksize of 8K) would have been better.  There is no good way to remove
this limit on old BSD4.4 file systems.
1997-07-13 15:13:07 +00:00
bde
a70c3f0a2c Fixed minor bugs related to the addition of gammaf.
The major bug, that gamma is documented as really being gamma, is
still unfixed.
1997-07-13 14:45:28 +00:00
bde
829ef63654 Don't define HOST_DATA_START_ADDR, since gdb works without it the
previous definition doesn't work on BSD4.4Lite[2] derived systems
without the changes in rev.1.27 of kern_proc.c.
1997-07-13 14:31:54 +00:00
peter
486333fcfd kill the undead 1997-07-13 14:26:00 +00:00
bde
84834b817c Create fifos using mkfifo() instead of attempting to create them using
mknod().
1997-07-13 14:07:48 +00:00
jkh
20d1b8751a Back out ld.so.conf change until the question is resolved. 1997-07-13 13:22:15 +00:00
kato
bd5e9c8cd5 Synchronize with sys/i386/isa/clock.c revision 1.89. 1997-07-13 12:14:18 +00:00
kato
4eb0c582ad Synchronize with following changes:
>  Revision  Changes    Path
>  1.11      +127 -1    src/sys/i386/boot/biosboot/bios.S
>  1.20      +6 -2      src/sys/i386/boot/biosboot/boot.h
>  1.24      +32 -5     src/sys/i386/boot/biosboot/io.c
1997-07-13 12:13:02 +00:00
guido
9b98d67c6f Remove -I/sys 1997-07-13 11:51:42 +00:00
guido
9bdf968dee Remove -I/sys and add -I${.CURDIR}/../../sys 1997-07-13 11:51:28 +00:00
bde
112cf7fc76 The m4 doc sources aren't in Lite* or FreeBSD, and Lite2 removed this
unused Makefile.
1997-07-13 07:58:56 +00:00
bde
dec6f3aeb8 devname.c moved to libc before Lite1 and isn't in ps in Lite2. 1997-07-13 07:43:41 +00:00
jkh
74df5988ae Commit a long-forgotten tweak for building tags in /usr/src/sys. 1997-07-13 07:36:20 +00:00
bde
20786833ba Fixed quoting of backslash. 1997-07-13 07:28:06 +00:00
sef
5c5c3ffeb2 Fix a problem introduced with a recent change that caused a hang with
unreachable hosts.  Note that most of this consists of telling SIGINT
and SIGALRM to interrupt the system call, instead of restarting them.
Also try to get rid of some potential races Bruce didn't like; hopefully
they aren't a problem (potential or otherwise) now.

Reviewed by:	julian
1997-07-13 06:16:44 +00:00
fsmp
eb632f277f new code to control other CPUs: stop_cpus()/restart_cpus()/_Xstopcpu
this code is controlled by smptests.h: TEST_CPUSTOP, OFF by default

new code for handling mixed-mode 8259/APIC programming without 'ExtInt'
this code is controlled by smptests.h: TEST_ALTTIMER, ON by default
1997-07-13 01:22:48 +00:00
fsmp
accf58cb2b Cleanup old stop_cpus/restart_cpus() cruft.
new code for handling mixed-mode 8259/APIC programming without 'ExtInt'
new code to control other CPUs: stop_cpus()/restart_cpus()/_Xstopcpu
1997-07-13 01:18:51 +00:00
fsmp
623a2c46bd Many new test defines, including:
- TEST_CPUSTOP		adds stop_cpus()/restart_cpus(), OFF by default
 - TEST_ALTTIMER	new method for attaching 8259 PIC to APIC
			this method avoids 'ExtInt' programming, ON by default
 - TIMER_ALL		sends 8259/8254 timer INTs to all CPUs, ON by default
 - ASMPOSTCODExxx	code to display bytes to POST hardware, OFF by default
1997-07-13 01:15:30 +00:00
fsmp
6199fe70f1 Cleanup old stop_cpus/restart_cpus() cruft.
Leave TEST_TEST1 for now.
1997-07-13 01:07:57 +00:00
jkh
0bf85b62d4 OK, *this* is how the ports stuff should have been built to begin
with. ;-)
1997-07-13 00:54:22 +00:00
brian
253d097eb2 Support "host:port" as first arg. 1997-07-12 19:26:49 +00:00
brian
aa8643ed6c Allow service names in "set server" 1997-07-12 19:22:34 +00:00
peter
a6c3d5ca85 Add an alias for master.passwd -> master.passwd.byname to the list
of convenience map aliases.
1997-07-12 14:34:26 +00:00