Commit Graph

21136 Commits

Author SHA1 Message Date
bde
507a88b451 Removed unused #includes. 1997-04-09 15:44:47 +00:00
bde
7789b67b25 Regenerate (removed unused #includes in linux_sysent.c). 1997-04-09 15:37:04 +00:00
bde
2dad6cdce1 Removed unused #includes. 1997-04-09 15:34:09 +00:00
bde
0bbbf42ba9 Include <sys/buf.h> instead of <sys/vnode.h>. kern_sysctl.c no
longer has anything to do with vnodes and never had anything to do
with buffers, but it needs the definitions of B_READ and B_WRITE
for use with the bogus useracc() interface and was getting them
bogusly due to excessive cleanups in rev.1.49.
1997-04-09 15:23:09 +00:00
se
49ba77ffa0 Mask out revision register in consistency test of class register. 1997-04-09 11:34:50 +00:00
jkh
fc13633668 Reorganize the donor's gallery to include people who've donated
parts to replace freefall.freebsd.org (so that we can use what's currently
there to replace spatter).
1997-04-09 10:34:31 +00:00
se
40e14fad0f Fix spelling of align and interrupt in comments. 1997-04-09 09:16:27 +00:00
se
a783c063ee Fix consistency test to not fail on pre PCI 2.0 motherboards 1997-04-09 09:15:03 +00:00
mpp
8b2ae1155b Document wakeup_one(). 1997-04-09 05:39:32 +00:00
mpp
760778bbe9 Provide examples of how to remove file names that begin with
a dash in non-getopt implementations.  E.g.:
	rm /home/mpp/-filename
	rm ./-filename

Requested by: bde
1997-04-09 05:04:43 +00:00
hanai
0e31a95d50 Catch up with the original.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-04-09 03:05:58 +00:00
mpp
d1efa8f258 Ensure that the remote host name is Nul terminated.
Closes PR# 2589.
1997-04-08 20:36:36 +00:00
mpp
dd5458250f Improve the wording in the NOTES section. Closes PR# 3223. 1997-04-08 20:27:48 +00:00
mpp
cda9b3f2fa Fix a xref.
Obtained from: NetBSD-bus PR# 3464
1997-04-08 20:01:15 +00:00
ache
e71376d204 Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
davidn
2bd0c6c536 Fix for expiration date test. Closes PR#3224. 1997-04-08 12:32:17 +00:00
kato
a380647df5 Added lnc driver. 1997-04-08 12:01:11 +00:00
peter
81248009f2 Missing newline caused too much text to be fed to the macro.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3228
1997-04-08 10:45:10 +00:00
peter
b9fe2f81dd setsid is declared in <unistd.h>, which is self sufficient (doesn't need
prior <sys/types.h>)

Fixes PR#3229, from Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-04-08 10:43:47 +00:00
kato
172bebd714 Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card.
Cascade mode of DMA is disabled when PC98 is defined because PC-98
doesn't support it.
1997-04-08 10:33:24 +00:00
hanai
a4ebddd7b0 Fix the typo about the DEC's NICs
Submitted by: morimitsu@jrdvms.enet.dec.com
1997-04-08 02:28:58 +00:00
hanai
fde6484035 Catch up with the original. 1997-04-08 02:23:27 +00:00
hanai
aa1ac2ed22 Catch up with the original. 1997-04-08 02:13:06 +00:00
hanai
6cd622a905 Catch up with the original.
Submitted by: mihoko@pa.yokogawa.co.j
1997-04-08 02:10:38 +00:00
hanai
14cadb3311 Catch up with the original.
Submitted by: Takashi Saeki <saeki@saskg.semicon.sony.co.jp>
1997-04-08 02:07:24 +00:00
jfieber
f25019011e Latest release is 2.2.1, not 2.1.7. 1997-04-08 00:47:59 +00:00
jdp
edd23b4912 Mention the RELENG_2_2_1_RELEASE for getting FreeBSD-2.2.1. 1997-04-08 00:14:00 +00:00
gibbs
0c6c55f688 Fix an infinite loop caused by calling ahc_run_done queue while the
driver is waiting a bus settle delay.  There should really be a facility
for the controller driver to "freeze" its queue during recovery operations
which would make all of this gymnastics unnecessary.
1997-04-07 18:32:47 +00:00
guido
5b77d8f791 Fix race
Obtained from: Keith Bostic
1997-04-07 18:01:10 +00:00
bde
506312bdd0 Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- ../libtxi was useless.
- there were too many redefinitions and too many different names for the
  same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
1997-04-07 17:21:19 +00:00
bde
7e4f8a5504 Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- -I../libtxi was useless.
- there were too many redefinitions and too many different names for the
  same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
1997-04-07 16:52:53 +00:00
bde
8d6ed2803c Include ${CURDIR}/../Makefile.inc as in most other `.mk' files. This
is most useful for centralizing the definitions of paths to contrib
directories.

Removed useless subshell and evil-hiding @ in the the rule for
initializing the info dir.
1997-04-07 16:46:40 +00:00
peter
e225ab4fac Lower the spl() of the new process from splhigh() right away, since
nothing else will lower it until either much later, or never(?) for
kernel processes.

This basically re-fixes what Bruce fixed in rev 1.29 of kern_fork.c,
which was broken again now the child does not execute back up the fork()
calling tree.
1997-04-07 11:42:09 +00:00
kato
a3b6c4ba1c Synchronize with sys/i386/i386{machdep.c,trap.c} revisions 1.236 and
1.91, respectively.
1997-04-07 11:00:48 +00:00
kato
95df505618 Synchronize with sys/i386/isa/clock.c revision 1.80. 1997-04-07 10:53:14 +00:00
jmg
b328a04930 terminfo_extensions.doc:
o)	fix some typos
	o)	add missing comments from terminfo's man page

termcap.5
	o)	fix some types
	o)	add a reference to terminfo_extensions.doc
1997-04-07 10:24:13 +00:00
peter
6c0a1b1ef6 Remove explicit zero of p_vmspace on creation, it's now in the startzero
section of the proc struct.
1997-04-07 09:38:39 +00:00
peter
26af825031 Move p_vmspace into the startzero section since we've just changed things
and may as well get it over and done with.
1997-04-07 09:35:15 +00:00
peter
0acb9783e3 Use UPAGES_HOLE instead of UPAGES in case it's changed some time.
Rename the PT* index KSTK* #defines to UMAX*, since we don't have a kernel
stack there any more..

These are used to calculate VM_MAXUSER_ADDRESS and USRSTACK, and really
do not want to be changed with UPAGES since BSD/OS 2.x binary compatability
depends on it.
1997-04-07 09:30:22 +00:00
peter
421f37c593 Define UPAGES_HOLE at 2 (same as current UPAGES) in case UPAGES changes
later.  This is used to calculate the top of user address space.
1997-04-07 09:27:21 +00:00
ache
7b1360495d Restore PATH_LOCALE functionality using issetugid() call now 1997-04-07 08:54:38 +00:00
peter
42b08e7316 Clean up some dead wood. Kill the page table page for mapping the
proc0/idlePTD/bootstrap stack into place in user space.  We save 4K.
Remove p0upa, it is now unneeded.
1997-04-07 08:38:19 +00:00
peter
a31720765f Attempt to patch up gdb so that it has a chance of working with the new
UPAGES layout.. it was entirely too comfortable with reading and writing
the U area before.  I've changed it to use PT_GETREGS/PT_PUTREGS
ptrace ops instead of READ_U etc.  The code to read the registers from
core dumps is a bandaid at best.  It seems to have problems reading
core dumps from dynamic linked executables still, but at least static
dumps work.

I desperately need help from a gdb/bfd expert. :-)  HELP!!
1997-04-07 08:08:20 +00:00
peter
ecf50a7463 The biggie: Get rid of the UPAGES from the top of the per-process address
space. (!)

Have each process use the kernel stack and pcb in the kvm space.  Since
the stacks are at a different address, we cannot copy the stack at fork()
and allow the child to return up through the function call tree to return
to user mode - create a new execution context and have the new process
begin executing from cpu_switch() and go to user mode directly.
In theory this should speed up fork a bit.

Context switch the tss_esp0 pointer in the common tss.  This is a lot
simpler since than swithching the gdt[GPROC0_SEL].sd.sd_base pointer
to each process's tss since the esp0 pointer is a 32 bit pointer, and the
sd_base setting is split into three different bit sections at non-aligned
boundaries and requires a lot of twiddling to reset.

The 8K of memory at the top of the process space is now empty, and unmapped
(and unmappable, it's higher than VM_MAXUSER_ADDRESS).

Simplity the pmap code to manage process contexts, we no longer have to
double map the UPAGES, this simplifies and should measuably speed up fork().

The following parts came from John Dyson:

Set PG_G on the UPAGES that are now in kernel context, and invalidate
them when swapping them out.

Move the upages object (upobj) from the vmspace to the proc structure.

Now that the UPAGES (pcb and kernel stack) are out of user space, make
rfork(..RFMEM..) do what was intended by sharing the vmspace
entirely via reference counting rather than simply inheriting the mappings.
1997-04-07 07:16:06 +00:00
peter
237ff29ca4 No longer use an i386tss as the basis of our pcb - it wasn't particularly
convenient and makes life difficult for my next commit.  We still need
an i386tss to point to for the tss slot in the gdt, so we use a common
tss shared between all processes.

Note that this is going to break debugging until this series of commits
is finished.  core dumps will change again too. :-(  we really need
a more modern core dump format that doesn't depend on the pcb/upages.

This change makes VM86 mode harder, but the following commits will remove
a lot of constraints for the VM86 system, including the possibility of
extending the pcb for an IO port map etc.

Obtained from: bde
1997-04-07 06:45:18 +00:00
hanai
3296644b21 New translation which corresponds to the 1.11 -> 1.12 change of
original.
Submitted by: mihoko@pa.yokogawa.co.jp
1997-04-07 04:56:51 +00:00
hanai
eadb11741d Catch up with the original. 1997-04-07 04:09:47 +00:00
bde
3fde995907 Documented new serial console flags.
Removed dead serial console options.

Reorganised sio and serial console options.

Added undocumented options CLUSTERDEBUG and NPX_DEBUG.
1997-04-07 01:26:34 +00:00
dfr
62c0dbe488 Document how to debug LKMs with kgdb.
Reviewed by:	J Wunsch <j@uriah.heep.sax.de>
1997-04-06 23:03:27 +00:00
wosch
9a5b826b63 Add BSD family tree to UNIX history section. 1997-04-06 21:53:59 +00:00