Commit Graph

34476 Commits

Author SHA1 Message Date
bde
1b85247808 Don't put operands in clobber lists, since this is dubious for old
versions of gcc and broken for current versions of egcs.  The asm
here (for translate_bytes()) is now an interesting example of one
that needs to be volatile to work.

Fixed missing "memory" in the clobber list for translate_bytes().

Submitted by:	"John S. Dyson" <dyson@iquest.net> but rewritten by me
1999-01-09 13:27:37 +00:00
bde
c861b9578d Don't put operands in clobber lists, since this is dubious for old
versions of gcc and broken for current versions of egcs.

Cleaned up the asm statement for do_cpuid() a little.

Submitted by:	"John S. Dyson" <dyson@iquest.net> but rewritten by me
1999-01-09 13:07:18 +00:00
bde
4b3b6394ab Don't put operands in clobber lists, since this is dubious for old
versions of gcc and broken for current versions of egcs.

Submitted by:	"John S. Dyson" <dyson@iquest.net> but rewritten by me
1999-01-09 13:00:27 +00:00
kjc
bf5953d386 cleanup: remove part of the code for 2.1.
add two functions to get the MAC address of the card.

Obtained from: ALTQ
1999-01-09 12:56:17 +00:00
obrien
fadc302836 revert to rev 1.29. (floppy drives will be gotten rid of another way) 1999-01-09 06:03:54 +00:00
obrien
a1dd973537 Add MLINKS for devstat kernel interfaces. 1999-01-09 05:09:21 +00:00
grog
1cbf1b1ee8 - Format corrections for troff output
- Comment out the description of the unimplemented replace command
- Explain in even stronger language that resetconfig is not for
  everyday use

  Motivated by:  Marko Schütz <marko@ki.informatik.uni-frankfurt.de>

- Correct the description of the start command (no longer used to
  start vinum, just specific objects)

  Motivated by: dg

- Remove .TH N commands, which conflict badly with the doc macros,
  causing strange headings in nroff output and endless loops in troff.
  The current version produces warning messages with some screen
  sizes, and will be fixed when I have time.

  Bug-report: docs/9328 (nroff)
  Reported-by: joerg (troff)

- Add gotcha info for the setupstate keyword and the use of label and
  resetconfig.

- Add bug entry for the warning messages introduced by fixing
  docs/9328.

- Add references to web pages on Vinum
1999-01-09 03:00:01 +00:00
yokota
3f78783b9d Add the new keyboard driver and video card driver. They will be
used by console drivers.

(They are not yet activated yet.  Wait for announcement later.)
1999-01-09 02:44:50 +00:00
msmith
fc4e8e72e8 kzip the loader, this shrinks it to about 60% of its original size.
Note that this is a stopgap with dependancies on the a.out tools.
1999-01-09 02:38:40 +00:00
msmith
cb728cac10 Extend bd_print() so that it displays slices and partitions on disks. 1999-01-09 02:36:19 +00:00
msmith
5d74568db6 Add a description for 'lsdev' so that it shows up in the '?' display 1999-01-09 02:34:48 +00:00
jkh
8a38df1d91 back out previous commit - it's only part of the required process so
we might as well automate both steps at once and just leave this off
by default.

Pointed out by:		Steve Kargl <sgk@troutmask.apl.washington.edu>
1999-01-09 01:17:41 +00:00
imp
be2617f143 Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PE
file types.  Also add bit interpretation from NetBSD to give more
details about the file.
1999-01-09 00:43:27 +00:00
jkh
d042ecd2a7 Adios, kzip - you don't work on ELF kernels. 1999-01-09 00:32:00 +00:00
jkh
f81c0fee57 Sneakily make linux=YES by default and hope that nobody notices. 1999-01-08 23:47:28 +00:00
abial
afc4bb5487 Replace kget with version which obtains its info from newly added
sysctl machdep.uc_devlist, instead of /dev/kmem.
1999-01-08 21:09:42 +00:00
abial
99524d66db Fix faulty logic in handling userconfig_script, INTRO_USERCONFIG and
RB_CONFIG.

Now, the code should do the right thing in the following cases, when
kernel is compiled with INTRO_USERCONFIG:

* when booted without userconfig_script and without RB_CONFIG, present
  intro screen, and wait for user input.

* when booted with userconfig_script and without RB_CONFIG, DON'T present
  intro screen unless explicitly asked in userconfig_script, basing on
  assumption that if a user loads userconfig_script, (s)he already
  decided what parameters to configure. Proceed with booting.

* when booted without userconfig_script, and with RB_CONFIG, enter
  configuration utility and wait for user input.

* when booted with userconfig_script, and with RB_CONFIG, execute all
  commands from userconfig_script, and DON'T leave the config utility,
  but wait for user input.

And finally, regardless of the combination of the above parameters,
when intro screen is invoked either first or next times, and user
chooses to go back to CLI interface, unblock the quit command.
1999-01-08 21:00:26 +00:00
bde
95eb12d002 Fixed some style bugs. Clarified a comment. 1999-01-08 19:51:02 +00:00
bde
f61c42edc1 Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partially
unspammed them in the SMP case.
1999-01-08 19:17:49 +00:00
jkh
12d7f73ee4 Don't allow pointer underrun in loop.
Spotted by:	John W. DeBoskey <jwd@unx.sas.com>
1999-01-08 18:37:34 +00:00
eivind
f708b467c2 Split DIAGNOSTIC -> DIAGNOSTIC, INVARIANTS, and INVARIANT_SUPPORT as
discussed on -hackers.

Introduce 'KASSERT(assertion, ("panic message", args))' for simple
check + panic.

Reviewed by:	msmith
1999-01-08 17:31:30 +00:00
eivind
1bac95e89e USUBCLASS_MODEM -> USUBCLASS_ABSTRACT_CONTROL_MODEL
Matches the header file change, and makes this compile.
1999-01-08 17:25:37 +00:00
bde
28f8b24cb6 Moved declarations related to copying and zeroing to the right place. 1999-01-08 16:29:59 +00:00
kato
003929163d Sync with sys/i386/isa/sio.c and syscons.c revisions 1.221 and 1.289,
respectively.
1999-01-08 16:09:23 +00:00
kato
363838f218 Sync with sys/i386/i386/userconfig.c revision up to 1.120. 1999-01-08 16:05:27 +00:00
kato
c55acc95d8 Sync with sys/i386/i386/machdep.c revision 1.320. 1999-01-08 16:04:20 +00:00
eivind
eb843c7a17 Instead of providing bad instructions here, point people at the
appropriate docs.

Prodded by:	Sheldon Hearn <axl@iafrica.com>'s message in -current
1999-01-08 16:04:18 +00:00
hm
4bf4780617 add generation of ISDN (i4b) devicefiles 1999-01-08 16:03:57 +00:00
eivind
e079899d1d Add a warning about the copyright restraints. 1999-01-08 16:03:12 +00:00
kato
12eadbae98 Oops, remove duplicate line. 1999-01-08 16:03:11 +00:00
kato
a17ae08e07 Sync with sys/i386/conf/majors.i386 revision 1.60. 1999-01-08 16:02:03 +00:00
kato
877ca3c322 Sync with sys/i386/conf/Makefile.i386 revision 1.133. 1999-01-08 15:59:41 +00:00
luoqi
a5e826f102 Allocate kernel page table object (kptobj) before any kmem_alloc calls.
On a system with a large amount of ram (e.g. 2G), allocation of per-page
data structures (512K physical pages) could easily bust the initial kernel
page table (36M), and growth of kernel page table requires kptobj.
1999-01-08 14:20:54 +00:00
yokota
bcde079720 Update #ifdef directive.
# I forgot this bit when I committed VESA KLD update a few days ago ;-<
1999-01-08 12:57:06 +00:00
davidn
7f23232c65 Remove bogus file locking in main(). 1999-01-08 10:52:38 +00:00
n_hibma
6031c7805f Ignore return value for strip. Avoids make world going pop
because of

strip maybe_stripped
strip: maybe_stripped: File format not recognized
*** Error code 1

in I/usr/src/gnu/usr.bin/binutils/strip
1999-01-08 10:33:12 +00:00
jkh
6459b71543 close doc race. 1999-01-08 09:13:00 +00:00
brian
82fde6296b Don't use the next phone number after the ``|'' if the
dial & login are successful.
Submitted by:   Toshiomi Moriki <Toshiomi.Moriki@ma1.seikyou.ne.jp>
PR:             9382
1999-01-08 09:04:58 +00:00
jkh
7af17211ce Copy only the boot1 and boot2 (if exists) files into mfs/boot since
we don't need the others there.
1999-01-08 05:33:11 +00:00
jkh
ddac4f20ca DTRT with gzip'd alpha kernels.
Submitted by:	dfr
1999-01-08 00:33:21 +00:00
jkh
b129238b19 Changes for alpha support.
Submitted by:	dfr
1999-01-08 00:32:19 +00:00
jkh
bcc10fc6f1 Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
n_hibma
af8f6b60b4 Major synchronisation with NetBSD USB code 1999-01-07 23:31:46 +00:00
n_hibma
ca1ae944c9 Major synchronisation with NetBSD USB code 1999-01-07 23:07:57 +00:00
n_hibma
9896b86a8c Clean up, nothing major 1999-01-07 23:01:11 +00:00
n_hibma
f380ac96cf Name change suggested by Justin (QUEUE->UNTIL) 1999-01-07 22:27:53 +00:00
dt
6bf48a44f0 Make pmap_ts_referenced check more than 1 pv_entry. (One should be carefull
when move elements to the tail of a list in a loop...)
1999-01-07 22:15:51 +00:00
imp
b185bfaaf4 Minor adjustments to prior commits:
o break at end of sentences
	o add $id$
	o change date

Noticed by: the ever watchful bde
1999-01-07 22:09:05 +00:00
julian
b8d69589f3 Changes to the LINUX_THREADS support to only allocate extra memory for
shared signal handling when there is shared signal handling being
used.

This removes the main objection to making the shared signal handling
a standard ability in rfork() and friends and 'unconditionalising'
this code. (i.e. the allocation of an extra 328 bytes per process).

Signal handling information remains in the U area until such a time as
it's reference count would be incremented to > 1. At that point a new
struct is malloc'd and maintained in KVM so that it can be shared between
the processes (threads) using it.

A function to check the reference count and move the struct back to the U
area when it drops back to 1 is also supplied. Signal information is
therefore now swapable for all processes that are not sharing that
information with other processes. THis should addres the concerns raised
by Garrett and others.

Submitted by:	"Richard Seaman, Jr." <dick@tar.com>
1999-01-07 21:23:50 +00:00
mjacob
ad799c74df Like the problems just fixed in scsi_da.c, make sure
to release the probe ccb before taking down the periph.
Also, don't do cdscheduling if you're not going to
attach the device after all.
Reviewed by:	ken@freebsd.org
1999-01-07 20:20:57 +00:00