Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
John Baldwin
2efbc4a68d
Pass the size of the top-level table to map when mapping the table instead
...
of the size of the pointer.
Reported by: Coverity
Coverity CID: 1147171
2014-03-10 16:07:45 +00:00
John Baldwin
a61a3b338f
- 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
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
David E. O'Brien
d9a447559b
Sync with HEAD.
2013-02-08 16:10:16 +00:00
Neel Natu
d72323d1d9
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 Natu
5b87feb64a
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
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Pawel Jakub Dawidek
24bc5224c6
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 Schouten
60bd06dafc
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
Ulrich Spörlein
62486687ed
mdoc: consistently spell our email addresses <foo@FreeBSD.org>
...
Reviewed by: ru
2010-05-19 08:57:53 +00:00
John Baldwin
73401fbaa0
Fix a typo.
...
Submitted by: Jakub Lach jakub_lach of mailplus pl
2010-02-19 14:27:32 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
David E. O'Brien
0446a99e41
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 Wemm
8c489d725d
Make this build and work on amd64 (sledge at least).
2003-09-30 04:09:21 +00:00
Warner Losh
498c24eea5
Don't need to redundantly redeclare optreset.
2003-06-07 18:33:18 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Alfred Perlstein
d85036cec8
revert rev 1.3: restore MAN1 directive to unbreak world
2001-03-24 01:17:51 +00:00
Bruce Evans
f1f3ee06b3
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
Robert Watson
2f7aab1c26
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 Wemm
4a3e427f20
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
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Mike Smith
40c4544803
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
Mike Smith
531454fd6d
Stop printing out the Nfoo options help, since these tunables are about to
...
go away.
2000-09-22 21:07:24 +00:00
Tor Egge
386fd02622
Remove 3 off by 128 errors.
2000-08-06 01:17:39 +00:00
Alexey Zelkin
9b8ef6b73a
$FreeBSD$ tags moved to bottom of license aggmt.
1999-10-30 16:05:26 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Nik Clayton
414a35e60a
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
Warner Losh
b790f1b6de
getopt(3) returns -1 not EOF.
1999-05-23 23:24:26 +00:00
Philippe Charnier
f12a14713b
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
Bruce Evans
7ffc1f408b
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
Philippe Charnier
ec175ced96
Use err(3). Add missing parameter for printf() (reviewed by steve).
1997-09-25 06:47:33 +00:00
Steve Passe
fb42160f6f
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
Steve Passe
737e5e8da5
Removed suggested "options AUTO_START", no longer used.
...
Noticed by: Vincent Poy <vince@mail.MCESTATE.COM>
1997-08-26 05:12:45 +00:00
Steve Passe
0363191b8e
Removed the SMP_TIMER_NC suggestion.
...
This is (almost) defunct, start to phase it out...
1997-07-22 18:52:20 +00:00
Steve Passe
233f81dc6b
Removed SMP_PRIVPAGES from options list.
...
This functionality is now automatic.
1997-06-23 20:23:44 +00:00
Steve Passe
22a876c691
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
Steve Passe
fa2887ae7f
Document APIC_IO as mandatory.
...
Document SMP_AUTOSTART as working.
1997-05-10 17:46:57 +00:00
Steve Passe
9d35fde7d6
fixed minor typo, bumped to version 2.0.9
1997-04-30 23:54:55 +00:00
Steve Passe
2b33a0f919
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