jhb
9dbacca2be
- Use <x86/mptable.h> instead of duplicating its definitions.
...
- Switch to mmaping the table from RAM instead of reading it out of
/dev/mem via read(2).
2013-12-11 21:21:03 +00:00
neel
13949c50fa
Divine the array size by using 'nitems(array)' instead of using magic numbers.
...
Suggested by: Garrett Cooper
2012-12-21 04:44:40 +00:00
neel
8bbd053d88
The MPtable specification allows for an 8-bit "BUS ID" and "I/O APIC ID".
...
Since the 'busses[]' and 'apics[]' arrays are indexed by these 8-bit IDs
make sure that they have enough space to accomodate up to 256 entries.
Submitted by: Ravi Shamanna
Obtained from: NetApp
2012-12-21 01:31:56 +00:00
pjd
8cedef5e19
Add an missing argument to open(2). If O_CREAT flag is specified,
...
file permission has to be specified as well.
2012-01-04 07:04:43 +00:00
ed
599a60039e
Mark all global variables static for mptable(1).
...
While there, remove basetableEntryTypes, which became unused in r71209.
2011-11-06 16:47:50 +00:00
uqs
e644199c18
mdoc: consistently spell our email addresses <foo@FreeBSD.org>
...
Reviewed by: ru
2010-05-19 08:57:53 +00:00
jhb
ed5edbc4c6
Fix a typo.
...
Submitted by: Jakub Lach jakub_lach of mailplus pl
2010-02-19 14:27:32 +00:00
ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
obrien
d5130a84f6
Remove the useless "version" number output.
...
We don't give a version number each userland binary.
2005-02-06 12:54:54 +00:00
peter
cd06141230
Make this build and work on amd64 (sledge at least).
2003-09-30 04:09:21 +00:00
imp
f6787e2d57
Don't need to redundantly redeclare optreset.
2003-06-07 18:33:18 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
alfred
a50fa1c037
revert rev 1.3: restore MAN1 directive to unbreak world
2001-03-24 01:17:51 +00:00
bde
5ca1a4a8d7
Fixed style bugs (use normal formatting for assignment, and don't override
...
the correct default for MAN1).
2001-03-23 13:47:46 +00:00
rwatson
2067928f4e
o Remove BINMODE=0550 -- no need to restrict execution rights as the
...
authorization check is on /dev/{,k}mem.
o Update man page to reflect requirement that gid kmem privileges must
be held, not root. (submitted by: peter)
2001-03-22 04:27:46 +00:00
peter
a6e9fcc15c
Deal with table parsing bugs caused by out-of-order record entries.
...
Complain about out-of-order entries. This fixes the 'mp extended
table HOSED!" report on the DL360 we have here with the "fixed" compaq
bios rom to fix the table length off-by-one error.
2001-01-18 07:42:02 +00:00
obrien
c2ee1dcc02
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
msmith
7cc46da4c6
Update the mptable manpage to remove mention of kernel options (which
...
there aren't going to be shortly).
2000-09-22 21:10:41 +00:00
msmith
5113d5ee0d
Stop printing out the Nfoo options help, since these tunables are about to
...
go away.
2000-09-22 21:07:24 +00:00
tegge
70fee7556a
Remove 3 off by 128 errors.
2000-08-06 01:17:39 +00:00
phantom
435dda9695
$FreeBSD$ tags moved to bottom of license aggmt.
1999-10-30 16:05:26 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
nik
559bbb333e
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:12:29 +00:00
imp
3aec1640df
getopt(3) returns -1 not EOF.
1999-05-23 23:24:26 +00:00
charnier
6e321f37d4
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
bde
4410603cb4
Don't #include implementation header <machine/types.h> directly.
...
#include <sys/types.h> before the headers that depend on it.
1998-02-24 01:11:47 +00:00
charnier
e22797c8f4
Use err(3). Add missing parameter for printf() (reviewed by steve).
1997-09-25 06:47:33 +00:00
fsmp
e0e2f7c58c
Changed the Ints labels for the IO APIC from "INT#" to "PIN#" to better
...
reflect its logical usage. Ie., there is NOT a 1-to-1 correspondence
between IRQ numbers and APIC pin numbers as there is with the 8259 ICU.
1997-09-06 04:11:53 +00:00
fsmp
466450db24
Removed suggested "options AUTO_START", no longer used.
...
Noticed by: Vincent Poy <vince@mail.MCESTATE.COM>
1997-08-26 05:12:45 +00:00
fsmp
6941d278c7
Removed the SMP_TIMER_NC suggestion.
...
This is (almost) defunct, start to phase it out...
1997-07-22 18:52:20 +00:00
fsmp
cd2a620cb0
Removed SMP_PRIVPAGES from options list.
...
This functionality is now automatic.
1997-06-23 20:23:44 +00:00
fsmp
cc349843cc
Made 'options NINTR' greater of 24 and calculated value.
...
This coincides with changing kernel default to 64.
1997-05-22 22:55:05 +00:00
fsmp
d0fcfa02e6
Document APIC_IO as mandatory.
...
Document SMP_AUTOSTART as working.
1997-05-10 17:46:57 +00:00
fsmp
522ce8c7ae
fixed minor typo, bumped to version 2.0.9
1997-04-30 23:54:55 +00:00
fsmp
a4d9955380
add a userland program for SMP support
...
mptable examines and displays the MP table of an SMP motherboard.
1997-04-29 03:06:35 +00:00