118 Commits

Author SHA1 Message Date
Robert Moore
70e176edb5 ACPI 5.0/iASL: Add support for PCC keyword.
Adds support for the PCC keyword for the Register() resource descriptor
macro.
2012-05-03 10:31:24 -07:00
Robert Moore
0adca1bedd iASL: Split out C support functions from main lex file.
Split out C functions from aslcompiler.l to aslsupport.l for
improved readability and maintainablity.
2012-04-02 14:49:38 -07:00
Robert Moore
ebd7f0820d iASL: Cleanup/standardize main lex file.
Standardize function names, general cleanup.
2012-03-29 13:47:04 -07:00
Robert Moore
e97fd500e5 iASL: Cleanup #line handling code.
Miscellaneous cleanup; Remove debug output code.
2012-03-29 13:11:15 -07:00
Robert Moore
73a001b948 iASL: Remove #line and #include from main parser. 2012-03-28 14:42:41 -07:00
Robert Moore
35f1292815 iASL: Implement #line directive in compiler lexer.
Move main compiler support for #line from the parser to the lexer.
This simplifies the implementation, and allows #line to appear
within any ASL statement (the entire line where #line appears
is simply removed from the input after the new line number is set.)
2012-03-28 14:18:42 -07:00
Robert Moore
7db43032db Update ACPICA copyrights to 2012.
Standard ACPICA source modules only.
2012-01-03 14:08:42 -08:00
Robert Moore
642b20401e ACPI 5.0/iASL: Add new I/O restriction keyword (GPIO descriptors)
Late addition of IoRestrictionNoneAndPreserve. Lin Ming.
2011-11-10 10:10:26 +08:00
Robert Moore
fa8f66c6a8 ACPI 5.0/iASL: Update for StopBitsZero keyword.
For UartSerialBus descriptor. Was originally StopBitsNone.
2011-11-10 10:10:26 +08:00
Robert Moore
60e14e2d32 iASL: Improve support for semicolon statement terminators.
The ASL language was originally defined without semicolons. However, semicolons
were added to the grammar in ACPI 3.0 for convenience since many programmers
use them out of habit. Basically, semicolons can be ignored in the ASL source
file. The iASL compiler tosses semicolons in some cases, but in others, it
causes an "invalid character" exception.
This commit fixes the problem and allows semicolons after every <Term>
grammar element.
2011-11-10 10:10:24 +08:00
Robert Moore
bac3c9dc1d iASL: Cleanup/reorg of bison/flex grammar files.
Complete the integration of new operators and descriptors.
reorder and alphabetize sections.
2011-11-10 10:10:24 +08:00
Robert Moore
487361a06c iASL: Cleanup support for FFixedHW address space.
Group with the rest of the space IDs.
2011-11-10 10:10:24 +08:00
Robert Moore
d73f14eee8 ACPI 5.0/iASL: Update for DMA keyword changes.
Changes to width keyword for FixedDma descriptor.
2011-11-10 10:10:24 +08:00
Robert Moore
155fdee57b ACPI 5.0/iASL: Fix to add PullDefault/PullNone keywords.
Also fix an issue with the optional ResourceUsage descriptor arg.
2011-11-10 10:10:24 +08:00
Robert Moore
a85d8e8d8c ACPI 5.0/iasl-disassembler: Update resource descriptors.
Update to current proposals.
2011-11-10 10:10:23 +08:00
Robert Moore
c660fcbd56 ACPI 5.0: Support for GenericSerialBus operation region handling.
New keywords for iASL, dispatch to region handler. Lin Ming.
2011-11-10 10:10:23 +08:00
Robert Moore
3075e9a7c1 ACPI 5.0/iASL: Update to new RawDataBuffer object.
Changed from simple DataBuffer. Also migrate all VendorData generation
to a single function.
2011-11-10 10:10:23 +08:00
Robert Moore
c5865877dd ACPI 5.0/iASL: Initial support for "Connection" keyword.
Just parser support.
2011-11-10 10:10:22 +08:00
Robert Moore
5a5b2f1e17 ACPI 5.0/iASL: Add new AccessAttribute keywords.
For GenericSerialBus fields.
2011-11-10 10:10:22 +08:00
Robert Moore
05d518803c ACPI 5.0: Add FlowControl to UartSerialBus descriptor.
Was unclear in proposal if this field actually existed.
2011-11-10 10:10:22 +08:00
Robert Moore
dcb10f252e ACPI 5.0: Add GeneralPurposeIo keyword for regions.
Previously was GPIO, changed in latest proposal.
2011-11-10 10:10:22 +08:00
Robert Moore
d038fae6b2 ACPI 5.0: Add DataBuffer type for resource descriptors.
Handles the optional VendorData bytes cleanly.
2011-11-10 10:10:22 +08:00
Robert Moore
96dc14b43b ACPI 5.0: Support for new FixedDMA descriptor.
Short FixedDMA resource descriptor.
2011-11-10 10:10:22 +08:00
Robert Moore
81b1f18cda ACPI 5.0: iASL: update resource descs for latest proposals.
Latest version of the resource descriptors. Compiler support
only.
2011-11-10 10:10:22 +08:00
Robert Moore
d503b1488e iASL/Acpi5: Fix a couple errors in the lex file.
GPIO_INT, GPIO_IO were incorrect.
2011-11-10 10:10:22 +08:00
Robert Moore
b80cbd76d9 iASL/ACPI5.0: Support for new region space IDs.
GPIO and GenericSerialBus keywords supported. Also includes
disassembler support. Does not include core ACPICA support
for these IDs.
2011-11-10 10:10:22 +08:00
Robert Moore
bc0dda82ef iASL/ACPI 5.0: Add new Resource Descriptors.
For compiler only, not disassembler. Code imported from
Intel BIOS - Jiewen Yao.
2011-11-10 10:10:22 +08:00
Robert Moore
cf5fef749b iASL: Add __PATH__ operator.
Returns the full path to the current file, if available.
__FILE__ now always returns the simple filename.
2011-10-07 09:14:05 -07:00
Robert Moore
e3f7713188 Update for GCC 4.6
Fixes several issues with GCC 4.6 related to the new checks
for unused variables.
2011-10-04 07:55:35 -07:00
Robert Moore
03890c8512 iASL: Add predefined macros __LINE__, __FILE__, and __DATE__
Adds these c-style macros with the standard definitions.
ACPICA bugzilla 898.
2011-01-13 12:08:26 -08:00
Robert Moore
d41344f1ec Update all ACPICA copyrights and signons to 2011.
Standard ACPICA source modules only.
2011-01-03 14:02:13 -08:00
Robert Moore
21f9129788 Update ordering of include files.
The ACPICA headers should appear before any compiler-specific
headers (stdio.h, etc.) so that acenv.h can set any
necessary compiler-specific defines, etc.
2010-12-17 17:07:16 -08:00
Robert Moore
1af8b94914 iASL/Tools: Replace all %d format specifiers with %u (unsigned).
With only a few exceptions, ACPICA does not use signed integers.
Therefore, %d is incorrect.
2010-05-20 12:12:23 -07:00
Robert Moore
c7dd20b0d7 Update all ACPICA copyrights and signons to 2010.
Add 2010 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2010-01-08 08:49:11 -08:00
Robert Moore
745f52e0c3 ACPI 4.0: iASL/Disassembler - IPMI keyword support.
Adds support for the new IPMI operation region keyword.
ACPICA BZ 771, 772. Lin Ming.
2009-06-18 09:11:27 -07:00
Robert Moore
b7def3a7cb iASL: Fix for line-terminator transparency.
Ensure that iASL works correctly with both LF and CR/LF terminated files,
on both unix-like and windows platforms.
2009-04-21 14:49:51 -07:00
Robert Moore
416eb5461f Update all copyrights and signons to 2009.
Add 2009 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2009-01-08 13:17:27 -08: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
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
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
4a5255916e Fix for buffer overflow on long ASL string literals. BZ 436 2006-06-28 16:14:37 +00:00
rmoore1
72ebba28c5 Rename ACPI memory macros for clarity 2006-03-10 20:08:05 +00:00
rmoore1
9efdd774a4 Add 2006 copyright 2006-01-09 17:47:27 +00:00
rmoore1
4c00d409cb *** empty log message *** 2005-11-07 23:46:52 +00:00
rmoore1
4fddfa75f3 Check for string constant maximum length (200) 2005-08-18 21:19:02 +00:00
aystarik
f698c05726 use AcpiUtStrupr
date	2005.04.08.19.09.00;	author rmoore1;	state Exp;
2005-06-29 15:47:54 +00:00
aystarik
3e8c98adc7 Add ProcessorObj keyword
date	2005.03.01.20.33.00;	author rmoore1;	state Exp;
2005-06-29 15:47:53 +00:00
aystarik
b394050966 ACPI 3.0 support
date	2004.11.05.22.58.00;	author rmoore1;	state Exp;
2005-06-29 15:47:51 +00:00
aystarik
55d0cfed1f Added Timer() op
date	2004.09.24.20.09.00;	author rmoore1;	state Exp;
2005-06-29 15:47:50 +00:00
aystarik
12d9474708 Allow EOF in "//" style comment
date	2004.09.22.17.42.00;	author rmoore1;	state Exp;
2005-06-29 15:47:49 +00:00