Commit Graph

11270 Commits

Author SHA1 Message Date
Robert Moore
f327375776 AcpiExec: Add tests for AcpiLoadTable and AcpiUnloadParentTable.
Exercise these new external interfaces to ACPICA.
2012-06-29 13:19:06 -07:00
Robert Moore
c012c44989 Debugger: Enhance "Tables" and "Unload" commands.
Tables - emit additional information about the ACPI tables, including
the owner ID and flags decode.

Unload - reimplemented to use the new AcpiUnloadParentTable external
interface.
2012-06-29 13:10:58 -07:00
Robert Moore
a0284aaffa Add new ACPI table load/unload external interfaces.
Add AcpiLoadTable and AcpiUnloadParentTable to support host-directed
dynamic table load/unload. Intended to support hotplug addition
and removal of SSDTs.
2012-06-29 13:07:33 -07:00
Robert Moore
83136604a9 Update makefiles/projectfiles for new file, tbxfload.c
updates all makefiles and MS project files.
2012-06-29 10:55:25 -07:00
Robert Moore
0a2f2503d0 Split file: tbxface.c -> tbxfload.c
Split out the table load functions in preparation for addition
of new interfaces.
2012-06-29 10:54:02 -07:00
Robert Moore
b7280fe5da Add PCC address space to space ID decode function.
ACPI 5.0 added PCC space ID.
2012-06-29 10:46:21 -07:00
Robert Moore
09da667565 Fix some comment fields. No functional change.
Fixes some typos and linux divergences.
2012-06-28 09:15:20 -07:00
Robert Moore
7e563e8c0e AcpiSrc: Add ACPI_ADDRESS_RANGE to types table.
This symbol was missing.
2012-06-28 09:14:16 -07:00
Robert Moore
57d81a1b09 Table manager: deploy new firmware error/warning interfaces.
Emit firmware error/warning messages where appropriate for table
and FADT errors.
2012-06-27 13:24:33 -07:00
Robert Moore
2b8106e4c2 Add new interfaces for BIOS(firmware) errors and warnings.
These new interfaces will be deployed across ACPICA in order to
point a finger directly at any detected BIOS issues -- such as
issues with ACPI tables, etc. ACPICA BZ 843.
2012-06-27 12:22:56 -07:00
Robert Moore
2d8e07c517 Implicit notify: ensure no memory allocation within critical region.
This fix moves a memory allocation outside of the time that a
spinlock is held. Fixes issues on systems that do not allow
this behavior. Jung-uk Kim.
2012-06-27 12:01:05 -07:00
Robert Moore
c725de3b1c AcpiHelp: Add new file (utexcep.c) to makefils and project files.
Adds support for the -e option to decode ACPICA exceptions.
2012-06-26 09:14:25 -07:00
Robert Moore
e5fc16a6e2 AcpiHelp: Add support to decode ACPICA exception codes.
Adds -e option to decode hex status codes to name strings.
2012-06-22 15:00:55 -07:00
Robert Moore
750bb22a43 Remove exception table externals, no longer needed.
Creation of utexcep.c rendered these externals obsolete.
2012-06-22 14:42:54 -07:00
Robert Moore
1a129b20f1 Update Windows project files for new file, utexcep.c
msvc9 project files.
2012-06-21 13:20:52 -07:00
Robert Moore
69823cf044 Update makefiles for new file, utexcep.c
Update the linux and unix makefiles.
2012-06-21 13:20:24 -07:00
Robert Moore
8072f9750c Split exception code utilities to a new file, utexcep.c
Simplifies sharing of these functions.
2012-06-21 13:19:12 -07:00
Robert Moore
8ad21472b2 iASL: Parser fix for hosts where EOF is defined as -1.
Change the type of the character returned from input() from a UINT8
to an int. Jung-uk Kim.
2012-06-21 12:39:15 -07:00
Robert Moore
5ae005099a Update to version 20120620.
Version 20120620.
2012-06-20 08:55:34 -07:00
Robert Moore
751ad6b789 Logfile: Changes for version 20120620.
Version 20120620.
2012-06-20 08:55:09 -07:00
Robert Moore
c4d637800d Windows binaries: Update to version 20120620.
Version 20120620.
2012-06-20 08:54:29 -07:00
Robert Moore
53b195d51c Documentation: Update ACPICA reference for implicit notify changes.
Adds support for implicit notify on multiple device objects.
2012-06-20 08:53:34 -07:00
Robert Moore
90aee03666 Documentation: Update iASL references for help screen changes.
Also added a couple missing options.
2012-06-20 08:52:46 -07:00
Robert Moore
76dfbe9a42 Miscellaneous support for multiple device implicit notify.
Adds support in the various tools and utilities: Debugger,
AcpiSrc, and AcpiExec.
2012-06-19 13:14:57 -07:00
Robert Moore
9924396a05 Add support for multiple implicit notify devices.
Adds basic support to allow multiple devices to be implicitly
notified. Bob Moore, Rafael Wysocki.
2012-06-19 13:13:09 -07:00
Robert Moore
0bd5c0817e AcpiSrc: Fix some translation issues for Linux conversion.
Fixes issues like this:

i_aSL -> iASL
00-7_f -> 00-7F
local_fADT -> local_FADT
execute_oSI -> execute_OSI

Also, in function headers, the parameters are now translated to
lower case (with underscores if necessary.)
2012-06-15 12:47:35 -07:00
Robert Moore
a231a84063 Update comments to simplify source translation, no functional changes.
Change some comments that cause problems for the AcpiSrc conversion
utility.
2012-06-15 12:46:02 -07:00
Robert Moore
d1dc9adb61 Debugger: Rename function to simplify source code conversion.
Rename to improve the linux conversion.
2012-06-13 14:23:06 -07:00
Robert Moore
b71852ab29 AcpiSrc: Prevent two possible div-by-zero conditions.
Ensure statistics display does not divide-by-zero.
2012-06-13 13:50:52 -07:00
Robert Moore
5ee27590d9 Update comments; no functional change.
Cleanup a couple of comments.
2012-06-13 13:48:28 -07:00
Robert Moore
6882b7be15 Utilities: conditionally compile backslash removal function.
Only used for iASL and AcpiExec.
2012-06-06 10:13:52 -07:00
Robert Moore
6759985074 iASL: Fix NULLs emitted in listing files.
Also, explicitly open all output files as either binary or
text, do not make any assumptions about the default type.
2012-06-06 09:45:21 -07:00
Robert Moore
8274bb02a7 iASL: Update error message for ResourceTag size mismatch.
Mention "size mismatch" in the error message(s).
2012-06-06 09:43:20 -07:00
Robert Moore
d4fcca77cc Disassembler: Emit descriptions for resource tags (_MIN, etc.)
Add support to emit short commented descriptions for the various
resource tags, when they are referenced by a Create* operator.
2012-05-31 15:21:56 -07:00
Robert Moore
0d7ca2f1bc iASL/aslutils.c: update/reformat function headers.
No functional changes.
2012-05-30 14:12:52 -07:00
Robert Moore
5274ae5495 Update ahpredef.c helpfile; fix typos, expand some descriptions.
Fixes for this helpfile, used by AcpiHelp and the disassembler.
2012-05-30 09:26:21 -07:00
Robert Moore
6388e94bec Disassembler: Emit generic names for special ACPI names (_Exx, etc.)
Also simplify the code a bit.
2012-05-30 09:24:42 -07:00
Robert Moore
ac6865d3b1 Update predefined name help file, no functional change.
Fixes some typos and case issues.
2012-05-25 14:42:06 -07:00
Robert Moore
0bc7e0dddb Disassembler: Emit descriptions for special names (_Lxx, etc.)
Add support to emit commented descriptions for the various special
predefined names such as _ALx, _Exx, _T_x, etc.
2012-05-25 13:28:23 -07:00
Robert Moore
3773b5ac3e Project/Make files: Update for file move.
Moved ahpredef.c to the common directory for use by iASL
in addition to AcpiHelp.
2012-05-25 10:20:25 -07:00
Robert Moore
97a2049af8 Disassembler: Emit descriptions for ACPI predefined names.
For each predefined name, emit a short description within a comment.
ACPICA BZ 959.
2012-05-25 10:19:05 -07:00
Robert Moore
fbff62978e AcpiHelp: Update for source file move (ahpredef.c)
File was moved to the common directory for use by iASL.
2012-05-25 10:06:58 -07:00
Robert Moore
e4752eca0b Move ahpredef.c to the common directory for use by iASL also.
This file will now be used by multiple utilities.
2012-05-25 09:10:17 -07:00
Robert Moore
2bb2b5d75a iASL: Fix -ot option (display compile times/statistics).
Was not working properly for standard output; only worked for the
debug file case.
2012-05-23 13:50:37 -07:00
Robert Moore
1e39cde26c iASL: Add debug options to standard help message.
Previously, the compiler debug options were only displayed if
the -h switch was used. Now, there is only one help message.
ACPICA BZ 957.
2012-05-23 13:15:47 -07:00
Robert Moore
43da7400f2 Update to version 20120518.
Version string 20120518.
2012-05-18 13:48:19 -07:00
Robert Moore
1c41efbd17 Logfile: Changes for version 20120518.
Version 20120518.
2012-05-18 13:47:45 -07:00
Robert Moore
c0ed1c15cc Documentation: Update iASL reference for preprocessor support.
Add support for iASL preprocessor and directives.
2012-05-18 13:47:02 -07:00
Robert Moore
315da8e4b7 Documentation: Update ACPICA reference for new interface.
Added AcpiOsWaitEventsComplete.
2012-05-18 13:46:13 -07:00
Robert Moore
092a4a9b67 Windows binaries: Update to version 20120518.
Version 20120518.
2012-05-18 13:45:07 -07:00