xref: /titanic_50/usr/src/man/man1m/acpixtract.1m (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
1.\" This file and its contents are supplied under the terms of the
2.\" Common Development and Distribution License ("CDDL"), version 1.0.
3.\" You may only use this file in accordance with the terms of version
4.\" 1.0 of the CDDL.
5.\"
6.\" A full copy of the text of the CDDL should have accompanied this
7.\" source.  A copy of the CDDL is also available via the Internet at
8.\" http://www.illumos.org/license/CDDL.
9.\"
10.\"
11.\" Copyright 2016 Joyent, Inc.
12.\"
13.Dd Aug 2, 2016
14.Dt ACPIXTRACT 1M
15.Os
16.Sh NAME
17.Nm acpixtract
18.Nd extract binary ACPI tables from a dump file
19.Sh SYNOPSIS
20.Nm
21.Op Fl ahlmv
22.Op Fl s Ar signature
23.Ar file
24.Sh DESCRIPTION
25The
26.Nm
27utility extracts the binary data from a dump of the system's Advanced
28Configuration and Power Interface (ACPI) tables.  The dump is usually obtained
29via the
30.Xr acpidump 1M
31command. The resulting binary file(s) are represented in the ACPI
32.Sy ASL
33assembly language. For each table extracted, a corresponding
34.Em table.dat
35file will be created.
36.Sh OPTIONS
37The following options are supported:
38.Bl -tag -width Ds
39.It Fl a
40Extract all of the tables found. By default only the
41.Sy DSDT
42and
43.Sy SSDT
44tables will be extracted.
45.It Fl h
46Display the usage message and exit.
47.It Fl l
48List tables only, do not extract.
49.It Fl m
50Make a single file for all of the
51.Sy DSDT
52and
53.Sy SSDT
54tables.
55.It Fl s Ar signature
56Get the table with the specified signature.
57.It Fl v
58Print the version.
59.El
60.Sh SEE ALSO
61.Xr acpidump 1M
62