Pedro F. Giffuni
1de7b4b805
various: general adoption of SPDX licensing ID tags.
...
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
2017-11-27 15:37:16 +00:00
Baptiste Daroussin
d9a4f21fa7
Stop suggesting -grope argument when -grope argument was actually given
2015-10-22 21:13:35 +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
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
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
John Baldwin
73401fbaa0
Fix a typo.
...
Submitted by: Jakub Lach jakub_lach of mailplus pl
2010-02-19 14:27:32 +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
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
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
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Warner Losh
b790f1b6de
getopt(3) returns -1 not EOF.
1999-05-23 23:24:26 +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