add a userland program for SMP support

mptable examines and displays the MP table of an SMP motherboard.
This commit is contained in:
Steve Passe 1997-04-29 03:06:35 +00:00
parent 600e3340ca
commit 2b33a0f919
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25265
3 changed files with 1234 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# $Id$
PROG = mptable
MAN1 = mptable.1
BINMODE = 550
.include <bsd.prog.mk>

View File

@ -0,0 +1,66 @@
.\" Copyright (c) 1996
.\" Steve Passe <fsmp@FreeBSD.ORG>. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. The name of the developer may NOT be used to endorse or promote products
.\" derived from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.Dd April 28, 1997
.Dt MPTABLE 1
.Os
.Sh NAME
.Nm mptable
.Nd display MP configuration table.
.Sh SYNOPSIS
.Nm mptable
.Op Ar -dmesg
.Op Ar -verbose
.Op Ar -grope
.Op Ar -help
.Sh DESCRIPTION
The
.Nm
command finds and analyzes the MP configuration table on
an Intel(tm) MP spec capable motherboard.
It is useful both for determining kernel config options and debugging
an SMP kernel that will not boot. It can be run with a UniProcessor kernel.
.Pp
It must be run as root.
.Pp
.Ar -dmesg
includes a dmesg dump.
.Pp
.Ar -grope
looks in areas it shouldn't NEED to, use ONLY as a last resort.
.Pp
.Ar -help
prints a usage message and exits.
.Pp
.Ar -verbose
prints extra info.
.Sh SEE ALSO
.Xr smp 4 ,
.Xr dmesg 8
.Sh HISTORY
The
.Nm
command first appeared in
.Fx 3.0 .
.Sh AUTHORS
Steve Passe <fsmp@FreeBSD.ORG>

1160
usr.sbin/mptable/mptable.c Normal file

File diff suppressed because it is too large Load Diff