Commit Graph

390 Commits

Author SHA1 Message Date
Robert Moore
77f5bcb46f AcpiExec: Add example ACPICA initialization code.
Added two initialization examples (within a comment block) that
show how to init ACPI for early table access and for a normal
initialization. Same code will appear in the ACPICA reference
manual.
2008-10-16 15:18:36 -07:00
Robert Moore
8b97ef8273 Add global pointer for FACS table to simplify FACS access.
Use a global pointer instead of using AcpiGetTableByIndex for each
FACS access. This simplifies the code for the Global Lock and the
Firmware Waking Vector(s).
2008-10-16 15:03:46 -07:00
Robert Moore
0b09da4ebd Remove obsolete version number in module headers.
Removed the "$Revision" number that appeared in each module header.
This version number was useful under SourceSafe and CVS, but has no
meaning under git. It is not only incorrect, it could also be
misleading.
2008-09-25 12:56:30 -07:00
Robert Moore
1ff11b4819 New: Validation for predefined ACPI methods/objects.
Validates predefined ACPI objects that appear in the namespace, at the
time they are evaluated. The argument count and the type of the returned
object are validated. The purpose of this validation is to detect problems
with the BIOS-exposed predefined ACPI objects before the results are
returned to the ACPI-related drivers.
2008-09-24 13:34:08 -07:00
Robert Moore
86b0a69e1f acpisrc: Improve comment counting mechanism.
Count first and last lines of multi-line comments as whitespace, not
comment lines. Handle Linux legal header in addition to standard
acpica header.
2008-08-25 13:50:34 -07:00
Robert Moore
5d63569294 x2APIC support: changes for MADT and SRAT ACPI tables.
Support for the x2APIC. There are 2 new subtables for the MADT and one new
subtable for the SRAT. Includes disassembler and AcpiSrc support. Data from
the Intel 64 Architecture x2APIC Specification, June 2008.
2008-07-24 12:57:13 -07:00
Robert Moore
cb2d41704e AcpiXtract: Handle EOF while extracting data.
Correctly handle the case where the EOF happens immediately after
the last table in the input file. Print completion message. Previously,
no message was displayed in this case.
2008-07-24 10:21:33 -07:00
Robert Moore
913669b792 AcpiExec: Add support for dynamic table load/unload.
Now calls _CFG method to pass address of table to the AML. Added option
to disable opregion simulation to allow creation of opregion with real
address that was passed to _CFG. All of this allows testing of the Load
and Unload operators from AcpiExec.
2008-06-13 13:46:31 -07:00
Robert Moore
10e9550130 Eliminate ACPI_NATIVE_UINT type.
No longer needed; replaced mostly with UINT32, but also ACPI_SIZE where a
type that changes 32/64 bit on 32/64-bit platforms is required.
2008-05-08 13:22:20 -07:00
rmoore1
54e0b736ff Changes for notify handling.
Update for new ACPICA interface; cleanup output for received notifies.
2008-03-21 18:05:54 +00:00
rmoore1
cf488d4ed8 Add test for using external buffer as argument to a method 2008-02-13 18:13:18 +00:00
rmoore1
c02ce8378a *** empty log message *** 2008-02-12 21:27:37 +00:00
rmoore1
96af461e5c Include file support for new ACPI tables.
Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2008-01-23 22:11:31 +00:00
rmoore1
fd55360349 Added the 2008 copyright to all module headers and signons.
This affects  virtually every file in the ACPICA core subsystem, the iASL compiler, and the tools/utilities.
2008-01-09 22:52:49 +00:00
rmoore1
a417391ec6 Update copyright to 2008.
Added 2008 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2008-01-09 21:27:10 +00:00
rmoore1
dc7e4c5bc3 2008 Copyright support added.
2008 copyright for base code and Linux version. Also, removed R. Byron Moore copyright and replaced with Intel Corp.
2008-01-09 21:25:54 +00:00
rmoore1
413ebb3f59 Automated cleanup 2007-12-11 22:11:54 +00:00
rmoore1
5c57d6bdc7 Update to allow .ASL files (statistics only) 2007-11-20 22:37:34 +00:00
rmoore1
a6fb3de887 Add support for 64-bit DSDT and FACS addresses in local FADT.
Use XDsdt and XFacs fields.
2007-11-14 20:35:24 +00:00
rmoore1
ecc59ccc5d New struct 2007-11-14 20:34:19 +00:00
rmoore1
0d94265e6e Added handler support for additional regions.
Now supports PCI_Config, CMOS, and PCI_BAR.
2007-11-08 22:47:37 +00:00
rmoore1
734499d890 Fixed a couple compiler warnings.
Warnings with gcc.
2007-11-01 15:06:45 +00:00
rmoore1
2e172dd565 Improved output for the table event handler.
Add text for table event, print signature.
2007-10-19 20:29:24 +00:00
rmoore1
6f8d4544e7 Update internal Notify Handler.
Calls the "_NOT" method for test suite purposes only.
2007-10-16 22:32:07 +00:00
rmoore1
7fe84263e1 Automated cleanup.
Automated cleanup.
2007-09-28 15:56:34 +00:00
rmoore1
5e9a716dee New interfaces for table event handlers.
Designed and implemented new external interfaces to install and remove handlers for ACPI table-related events. Current events that are defined are LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as they are dynamically loaded and unloaded. See AcpiInstallTableHandler and AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2007-09-19 20:00:31 +00:00
rmoore1
9ec5027828 Added new error message.
Added an error message to AcpiExec when the _ERR method invocation fails for
any reason other than AE_NOT_FOUND.
2007-04-20 22:09:20 +00:00
rmoore1
b9f4577515 Support for external package objects as method arguments.
Implemented support to allow Package objects to be passed as method arguments to the AcpiEvaluateObject interface. Previously, this would return an AE_NOT_IMPLEMENTED exception.
2007-04-03 19:59:37 +00:00
rmoore1
05d312d1e6 Implemented quiet mode to stop excess output. 2007-03-28 18:51:21 +00:00
rmoore1
4e5756416b Remove extraneous output when running on unix 2007-03-27 21:12:41 +00:00
rmoore1
34e1a4c900 Changes for Cygwin compatibility.
Allow generation of ACPICA apps on Cygwin.
2007-03-27 20:25:46 +00:00
rmoore1
7c7d01c61e Update for mutiple global lock acquisitions by same thread.
Allows AcpiAcquireGlobalLock external interface to be called multiple times by the
 same thread. Allows use of AML fields that require the global lock while the running
 AML is already holding the global lock.
2007-03-14 19:22:11 +00:00
rmoore1
3ef7f97afd Automatically convert LF-only files to LF/CR (windows only) 2007-03-08 20:27:47 +00:00
rmoore1
6e075f8871 Update copyright to 2007.
Added 2007 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2007-01-09 20:01:19 +00:00
rmoore1
dc0474fb52 Added option to display memory statistics upon termination. 2006-12-14 22:29:21 +00:00
rmoore1
fc76ab00f6 Support for ThreadId parameter to _ERR method.
Enhanced debugging for multithread test support.
2006-12-12 22:02:16 +00:00
rmoore1
b2f39803f4 Debugger multithreading enhancements.
Implemented enhancements to the multithreading support within the debugger to enable better multithreading evaluation of the subsystem.
2006-12-08 22:50:46 +00:00
rmoore1
851c390750 Removed all 16-bit support.
Support for 16-bit ACPICA has been completely removed since it is no longer necessary and it clutters the code. All 16-bit macros, types, and conditional compiles have been removed, cleaning up and simplifying the code across the entire subsystem. DOS support is no longer needed since the Linux firmware kit is now available.
2006-12-08 20:44:28 +00:00
rmoore1
4a820b6960 Fix bug with region linked list insert. 2006-11-14 18:35:51 +00:00
rmoore1
8e7f513ef6 Implement full region support for multiple address spaces.
SpaceId is now part of the REGION object. BZ 429
2006-11-09 19:48:37 +00:00
rmoore1
893a7b5ab8 Corrected pathname for \\_SB_ 2006-10-05 21:44:44 +00:00
rmoore1
23c52e04d8 Automated code cleanup 2006-09-27 20:34:16 +00:00
rmoore1
2a57c16841 Added generic batch command mode 2006-09-26 20:11:48 +00:00
rmoore1
09f06978d7 ACPICA: Completely abort application on 10 SigInts. Might be useful to have a timestamp, i.e., if 4 ints are received within 4 seconds. This feature is useful when
debugging many threads.
2006-09-11 22:32:47 +00:00
rmoore1
6656fe51f5 ACPICA: FADT verification is now table driven. Disassembler now verifies an input
FADT. Added warnings for 32/64 address mismatch and unknown length for FADT.
2006-09-07 21:29:14 +00:00
rmoore1
1a8fe15599 ACPICA: Implemented support for data sub tables in the ASF! table 2006-09-07 17:25:14 +00:00
rmoore1
cabae61262 ACPICA: Enhanced the implementation of the "serialized mode" of the interpreter (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is specified, instead of creating a serialization semaphore per control method, the interpreter lock is simply no longer released before a blocking operation during control method execution. This effectively makes the AML Interpreter single-threaded. The overhead of a semaphore per-method is eliminated. AcpiExec - Added the "-t" command line option to enable the serialized mode of the AML interpreter. 2006-09-01 21:51:51 +00:00
rmoore1
187857892c ACPICA: Miscellaneous fixes for the Table Manager:
- Correctly initialize internal common FADT for all 64-bit "X" fields
- Fixed a couple table mapping issues during table load
- Initialize input array to zero in AcpiInitializeTables
- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, AcpiGetTableByIndex
- Fixed a couple of alignment issues for IA64
2006-08-28 21:22:35 +00:00
rmoore1
288f609021 ACPICA: Implement support for ACPI DMAR table (DMA Remapping Table) in header files and disassembler. 2006-08-24 17:19:49 +00:00
rmoore1
62300dae19 The Table Manager component has been completely redesigned and reimplemented. The new design is much simpler, and reduces the overall code and data size of the kernel-resident ACPICA by approximately 5%. Also, it is now possible to obtain the ACPI tables very early during kernel initialization, even before dynamic memory management is initialized. 2006-08-23 19:55:36 +00:00