summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mptable/mptable.c
Commit message (Collapse)AuthorAgeFilesLines
* Divine the array size by using 'nitems(array)' instead of using magic numbers.neel2012-12-211-5/+7
| | | | Suggested by: Garrett Cooper
* The MPtable specification allows for an 8-bit "BUS ID" and "I/O APIC ID".neel2012-12-211-3/+3
| | | | | | | | 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
* Add an missing argument to open(2). If O_CREAT flag is specified,pjd2012-01-041-1/+1
| | | | file permission has to be specified as well.
* Mark all global variables static for mptable(1).ed2011-11-061-25/+16
| | | | While there, remove basetableEntryTypes, which became unused in r71209.
* Fix a typo.jhb2010-02-191-1/+1
| | | | Submitted by: Jakub Lach jakub_lach of mailplus pl
* Remove the useless "version" number output.obrien2005-02-061-5/+1
| | | | We don't give a version number each userland binary.
* Make this build and work on amd64 (sledge at least).peter2003-09-301-39/+39
|
* Don't need to redundantly redeclare optreset.imp2003-06-071-1/+0
|
* Deal with table parsing bugs caused by out-of-order record entries.peter2001-01-181-31/+41
| | | | | | 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.
* Add `_PATH_DEVZERO'.obrien2000-12-091-2/+3
| | | | Use _PATH_* where where possible.
* Stop printing out the Nfoo options help, since these tunables are about tomsmith2000-09-221-26/+0
| | | | go away.
* Remove 3 off by 128 errors.tegge2000-08-061-5/+5
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* getopt(3) returns -1 not EOF.imp1999-05-231-2/+2
|
* Don't #include implementation header <machine/types.h> directly.bde1998-02-241-5/+2
| | | | #include <sys/types.h> before the headers that depend on it.
* Use err(3). Add missing parameter for printf() (reviewed by steve).charnier1997-09-251-46/+30
|
* Changed the Ints labels for the IO APIC from "INT#" to "PIN#" to betterfsmp1997-09-061-4/+4
| | | | | 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.
* Removed suggested "options AUTO_START", no longer used.fsmp1997-08-261-12/+2
| | | | Noticed by: Vincent Poy <vince@mail.MCESTATE.COM>
* Removed the SMP_TIMER_NC suggestion.fsmp1997-07-221-3/+4
| | | | This is (almost) defunct, start to phase it out...
* Removed SMP_PRIVPAGES from options list.fsmp1997-06-231-5/+2
| | | | This functionality is now automatic.
* Made 'options NINTR' greater of 24 and calculated value.fsmp1997-05-221-6/+7
| | | | This coincides with changing kernel default to 64.
* Document APIC_IO as mandatory.fsmp1997-05-101-5/+5
| | | | Document SMP_AUTOSTART as working.
* fixed minor typo, bumped to version 2.0.9fsmp1997-04-301-3/+3
|
* add a userland program for SMP supportfsmp1997-04-291-0/+1160
mptable examines and displays the MP table of an SMP motherboard.
OpenPOWER on IntegriCloud