History log of /freebsd-10-stable/usr.sbin/mptable/mptable.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 244530 21-Dec-2012 neel

Divine the array size by using 'nitems(array)' instead of using magic numbers.

Suggested by: Garrett Cooper


# 244526 20-Dec-2012 neel

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


# 229466 04-Jan-2012 pjd

Add an missing argument to open(2). If O_CREAT flag is specified,
file permission has to be specified as well.


# 227224 06-Nov-2011 ed

Mark all global variables static for mptable(1).

While there, remove basetableEntryTypes, which became unused in r71209.


# 204085 19-Feb-2010 jhb

Fix a typo.

Submitted by: Jakub Lach jakub_lach of mailplus pl


# 141385 06-Feb-2005 obrien

Remove the useless "version" number output.
We don't give a version number each userland binary.


# 120590 30-Sep-2003 peter

Make this build and work on amd64 (sledge at least).


# 115972 07-Jun-2003 imp

Don't need to redundantly redeclare optreset.


# 71209 18-Jan-2001 peter

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.


# 69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


# 66264 22-Sep-2000 msmith

Stop printing out the Nfoo options help, since these tunables are about to
go away.


# 64291 05-Aug-2000 tegge

Remove 3 off by 128 errors.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 47442 23-May-1999 imp

getopt(3) returns -1 not EOF.


# 33774 23-Feb-1998 bde

Don't #include implementation header <machine/types.h> directly.
#include <sys/types.h> before the headers that depend on it.


# 29850 25-Sep-1997 charnier

Use err(3). Add missing parameter for printf() (reviewed by steve).


# 29161 06-Sep-1997 fsmp

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.


# 28775 26-Aug-1997 fsmp

Removed suggested "options AUTO_START", no longer used.

Noticed by: Vincent Poy <vince@mail.MCESTATE.COM>


# 27613 22-Jul-1997 fsmp

Removed the SMP_TIMER_NC suggestion.
This is (almost) defunct, start to phase it out...


# 26850 23-Jun-1997 fsmp

Removed SMP_PRIVPAGES from options list.
This functionality is now automatic.


# 26020 22-May-1997 fsmp

Made 'options NINTR' greater of 24 and calculated value.
This coincides with changing kernel default to 64.


# 25669 10-May-1997 fsmp

Document APIC_IO as mandatory.
Document SMP_AUTOSTART as working.


# 25326 30-Apr-1997 fsmp

fixed minor typo, bumped to version 2.0.9


# 25265 29-Apr-1997 fsmp

add a userland program for SMP support
mptable examines and displays the MP table of an SMP motherboard.