aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mptable/mptable.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-10-241-5/+0
| | | | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957 (cherry picked from commit eba230afba4932f02a1ca44efc797cf7499a5cb0)
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-07-251-1/+1
| | | | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-1/+3
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=326276
* Stop suggesting -grope argument when -grope argument was actually givenBaptiste Daroussin2015-10-221-1/+2
| | | | Notes: svn path=/head/; revision=289767
* Pass the size of the top-level table to map when mapping the table insteadJohn Baldwin2014-03-101-1/+1
| | | | | | | | | | of the size of the pointer. Reported by: Coverity Coverity CID: 1147171 Notes: svn path=/head/; revision=262978
* - Use <x86/mptable.h> instead of duplicating its definitions.John Baldwin2013-12-111-315/+145
| | | | | | | | - Switch to mmaping the table from RAM instead of reading it out of /dev/mem via read(2). Notes: svn path=/head/; revision=259229
* Divine the array size by using 'nitems(array)' instead of using magic numbers.Neel Natu2012-12-211-5/+7
| | | | | | | Suggested by: Garrett Cooper Notes: svn path=/head/; revision=244530
* The MPtable specification allows for an 8-bit "BUS ID" and "I/O APIC ID".Neel Natu2012-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 Notes: svn path=/head/; revision=244526
* Add an missing argument to open(2). If O_CREAT flag is specified,Pawel Jakub Dawidek2012-01-041-1/+1
| | | | | | | file permission has to be specified as well. Notes: svn path=/head/; revision=229466
* Mark all global variables static for mptable(1).Ed Schouten2011-11-061-25/+16
| | | | | | | While there, remove basetableEntryTypes, which became unused in r71209. Notes: svn path=/head/; revision=227224
* Fix a typo.John Baldwin2010-02-191-1/+1
| | | | | | | Submitted by: Jakub Lach jakub_lach of mailplus pl Notes: svn path=/head/; revision=204085
* Remove the useless "version" number output.David E. O'Brien2005-02-061-5/+1
| | | | | | | We don't give a version number each userland binary. Notes: svn path=/head/; revision=141385
* Make this build and work on amd64 (sledge at least).Peter Wemm2003-09-301-39/+39
| | | | Notes: svn path=/head/; revision=120590
* Don't need to redundantly redeclare optreset.Warner Losh2003-06-071-1/+0
| | | | Notes: svn path=/head/; revision=115972
* Deal with table parsing bugs caused by out-of-order record entries.Peter Wemm2001-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. Notes: svn path=/head/; revision=71209
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-2/+3
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* Stop printing out the Nfoo options help, since these tunables are about toMike Smith2000-09-221-26/+0
| | | | | | | go away. Notes: svn path=/head/; revision=66264
* Remove 3 off by 128 errors.Tor Egge2000-08-061-5/+5
| | | | Notes: svn path=/head/; revision=64291
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* getopt(3) returns -1 not EOF.Warner Losh1999-05-231-2/+2
| | | | Notes: svn path=/head/; revision=47442
* Don't #include implementation header <machine/types.h> directly.Bruce Evans1998-02-241-5/+2
| | | | | | | #include <sys/types.h> before the headers that depend on it. Notes: svn path=/head/; revision=33774
* Use err(3). Add missing parameter for printf() (reviewed by steve).Philippe Charnier1997-09-251-46/+30
| | | | Notes: svn path=/head/; revision=29850
* Changed the Ints labels for the IO APIC from "INT#" to "PIN#" to betterSteve Passe1997-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. Notes: svn path=/head/; revision=29161
* Removed suggested "options AUTO_START", no longer used.Steve Passe1997-08-261-12/+2
| | | | | | | Noticed by: Vincent Poy <vince@mail.MCESTATE.COM> Notes: svn path=/head/; revision=28775
* Removed the SMP_TIMER_NC suggestion.Steve Passe1997-07-221-3/+4
| | | | | | | This is (almost) defunct, start to phase it out... Notes: svn path=/head/; revision=27613
* Removed SMP_PRIVPAGES from options list.Steve Passe1997-06-231-5/+2
| | | | | | | This functionality is now automatic. Notes: svn path=/head/; revision=26850
* Made 'options NINTR' greater of 24 and calculated value.Steve Passe1997-05-221-6/+7
| | | | | | | This coincides with changing kernel default to 64. Notes: svn path=/head/; revision=26020
* Document APIC_IO as mandatory.Steve Passe1997-05-101-5/+5
| | | | | | | Document SMP_AUTOSTART as working. Notes: svn path=/head/; revision=25669
* fixed minor typo, bumped to version 2.0.9Steve Passe1997-04-301-3/+3
| | | | Notes: svn path=/head/; revision=25326
* add a userland program for SMP supportSteve Passe1997-04-291-0/+1160
mptable examines and displays the MP table of an SMP motherboard. Notes: svn path=/head/; revision=25265