Commit Graph

844 Commits

Author SHA1 Message Date
Robert Moore
fc7c3e91d8 Add ACPI table revision ID validation to disassembler.
0 is always invalid. For DSDTs, the ID controls the interpreter integer
width. 1 means 32-bit and this is unusual. 2 or greater is 64-bit.
2008-05-12 13:36:23 -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
a9c2b329d8 Fix for AE_ALREADY_EXISTS when using Switch operator.
Fixed a problem with the use of the Switch operator where execution by multiple concurrent threads could cause an AE_ALREADY_EXISTS. This is caused by the fact that there is no actual Switch opcode, it must be simulated with temp variables and if/else pairs. The solution chosen was to mark any method that uses Switch to be Serialized, thus preventing multiple thread entries. BZ 469.
2008-02-26 19:55:23 +00:00
rmoore1
e65b207b45 Add va_end statements as appropriate.
Added missing va_end statements that should correspond with each va_start statement.
2008-01-24 23:36:02 +00:00
rmoore1
f710c3b2e4 Fixes for Unload and DDBHandles.
Implemented support for the use of DDBHandles as an Indexed Reference, as per the ACPI spec. (Lin Ming) BZ 486. Implemented support for UserTerm (Method invocation) for the Unload operator as per the ACPI spec. (Lin Ming) BZ 580
2008-01-23 22:19:31 +00:00
rmoore1
52e3d1c0d3 Fix for LoadTable operator.
Implemented support for full TermArgs (adding Argx, Localx and method invocation) for the ParameterData parameter to the LoadTable operator. (Lin Ming) BZ 583,587
2008-01-23 22:07:34 +00:00
rmoore1
562b50607f Fix for multiple Externals with same name.
Fixed a problem where two External declarations with the same name did not cause an error (Lin Ming) BZ 509
2008-01-23 21:57:15 +00:00
rmoore1
fd57e67dfa Fixed incorrect parse error.
Fixed an unexpected parse error when using the optional "parameter types" list in a control method declaration. (Lin Ming) BZ 397
2008-01-18 17:48:43 +00:00
rmoore1
71363415fe Added additional info to the namespace output file.
Implemented additional debugging information in the namespace listing file created during compilation. In addition to the namespace hierarchy, the full pathname to each namespace object is displayed.
2008-01-11 21:58:24 +00:00
rmoore1
b5a5d1f8f7 Update signon.
Update to add 2008 to copyright.
2008-01-09 22:40:23 +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
48c46cb45a Update for interface change.
change due to notify handler interface change.
2007-10-19 19:27:22 +00:00
rmoore1
23942e7a98 Add error case for non-existent input file.
Recent wildcard support misses the case where a lone file does not exist.
2007-10-13 00:44:16 +00:00
rmoore1
361f0a73b5 Fixed a few memory leaks for iASL compiler.
Leaks have become more important now that the compiler supports multiple compiles and wildcards on the command line.
2007-08-31 19:05:18 +00:00
rmoore1
dceba6cbd1 Automated cleanup.
Cleanup via acpisrc.
2007-08-30 23:03:19 +00:00
rmoore1
9e05a90a02 Support for iASL - multiple files and wildcards.
Implemented support to allow multiple files to be compiled/disassembled in a single invocation. This includes command line wildcard support for both the Windows and Unix versions of the compiler. This feature simplifies the disassembly and compilation of multiple ACPI tables in a single directory.
2007-08-30 22:28:35 +00:00
rmoore1
c9b7d5e548 Fixed several warnings for generation on Cygwin 2007-04-04 20:56:40 +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
84dd704f20 Update reserved method check for _ERR, now has 3 arguments. 2006-12-15 23:13:53 +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
f240b8ffa0 Fixes for load() operator.
Optimized the Load operator in the case where the source operand is an operation region. Simply map the operation region memory, instead of performing a bytewise read.

Fixed the Load operator for the case where the source operand is a region field. A buffer object is also allowed as the source operand. BZ 481

Fixed a problem where the Load operator allowed the source operand to be an operation region of any type. It is now restricted to regions of type SystemMemory, as per the ACPI specification. BZ 481
2006-11-02 22:45:32 +00:00
rmoore1
702bc55af7 Added additional checks for internal methods (_OSI) 2006-11-02 18:40:29 +00:00
rmoore1
23c52e04d8 Automated code cleanup 2006-09-27 20:34:16 +00:00
rmoore1
cd1a8bfc98 Fix for hang in ElseIf construct.
Fixed a problem where the compiler could hang after syntax errors detected in an ElseIf construct. (BZ 453)
2006-09-27 20:26:14 +00:00
rmoore1
9a1e9cbdf8 Handle parse errors during Switch() generation 2006-09-26 17:16:03 +00:00
rmoore1
f212d30048 Fix for resource descriptor compilation.
Fixed a compilation problem with the pre-defined Resource Descriptor field names where an "object does not exist" error could be incorrectly generated if the parent ResourceTemplate pathname places the template within a different namespace scope than the current scope.
2006-09-15 17:27:23 +00:00
rmoore1
9fbc74ecc4 ACPICA: Fixed a problem with the AmlFilename parameter to the DefinitionBlock() operator. An incorrect output filename was produced when this parameter was a null string (""). Now, the original input filename is used as the AML output filename, with a .aml extension. 2006-09-12 20:35:17 +00:00
rmoore1
646cfb119d ACPICA: Fixed a problem with the implementation of the Switch() operator where the temporary variable was declared too close to the actual Switch, instead of at method level. This could cause a problem if the Switch() operator is within a while loop, causing an error on the second iteration. (BZ 460) 2006-09-11 22:31:00 +00:00
rmoore1
13bcd53123 ACPICA: Update iASL for new Table Manger. Required new table init interface since iASL does not use RSDP/XSDT. 2006-09-06 21:32:22 +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
rmoore1
19c7967671 _TDL method requires 0 args, was incorrectly 1 in this module 2006-07-13 22:59:50 +00:00
rmoore1
d16f19f0c5 Initial implementation of -e disassembler flag, to include additional table for external symbol resolution - requires further testing and investigation 2006-07-07 20:05:14 +00:00
rmoore1
4a5255916e Fix for buffer overflow on long ASL string literals. BZ 436 2006-06-28 16:14:37 +00:00
rmoore1
7fc92eabdf Don't set global integer width here, it was set earlier, with possible -r override 2006-06-07 20:08:37 +00:00
rmoore1
560e0215cd Fix fault if package length too long to be encoded (BZ 432) 2006-06-06 22:14:50 +00:00
rmoore1
2fcdd7fa6a Error message for CreateField/NumBits operand=0 2006-05-31 16:58:19 +00:00
rmoore1
7b623b6730 Update comment about timeouts 2006-05-24 20:48:05 +00:00
rmoore1
a63a93f7f2 Allow DMA, IO, IRQ as names without conflict with same-named resource descriptors 2006-05-24 20:47:39 +00:00
rmoore1
6f70255c7a Support for disassembler external generation 2006-05-11 20:26:22 +00:00
rmoore1
50c2ae4128 Rename 3 struct fields for clarity and simpler source conversion 2006-04-21 22:53:32 +00:00
rmoore1
1df3cbc893 Automated cleanup 2006-04-21 19:37:46 +00:00
rmoore1
179368570d Divide op is a special case for "no effect" warning 2006-04-19 22:02:21 +00:00
rmoore1
65d5c688ce Update ACPI_FUNCTION_* macros, no longer require quotes. Allows source conversion to convert the function names. 2006-04-19 21:49:06 +00:00
rmoore1
33f0020ae7 Implemented several new compiler warnings 2006-04-04 21:55:12 +00:00
rmoore1
bb44b2fbee Deploy ACPI_COMPARE_NAME 2006-03-31 23:25:59 +00:00
rmoore1
770e8ec2c2 Reorganized table headers 2006-03-27 20:38:46 +00:00
rmoore1
aa3cb6ea6b Use remove() instead of non-standard unlink() 2006-03-27 17:06:07 +00:00
rmoore1
0bc76a762e Optimize structs for 64-bit, cache for namespace nodes, remove NSnode ref count 2006-03-14 20:58:51 +00:00
rmoore1
f600eb9c04 cleanup 2006-03-14 20:06:10 +00:00
rmoore1
72ebba28c5 Rename ACPI memory macros for clarity 2006-03-10 20:08:05 +00:00