Split exception codes into three distinct blocks; for the main
ASL compiler, Table compiler, and the preprocessor. This allows
easy addition of new codes into each block without disturbing
the others. Adds one new file, aslmessages.c
This patch updates release automation with new structures and files that
are used by the newly released acpidump. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
For _HID and _CID, the disassembler will emit a string that describes
the device if the _HID/_CID value is recognized. AcpiHelp updated also.
AcpiHelp will now search for a specific ID as well as displaying
the list of "known" (to ACPICA) IDs.
This change add support to invoke necessary conversions on patch
descriptions in the release process so that human intervention can be reduced.
After applying, data types/structures and mixed case words will be
converted. It reduces human intervention greatly but we still need to
check the URL address fields (From/Signed-off-by/Buglink/Reported-by/
Tested-by/Original-by/etc.) after conversion as there are low
possibilities that they are matched to the target conversion types.
Lv Zheng.
This command "test objects" will exercise the entire namespace by
writing new values to each data object, and ensuring that the write
was successful. The original value is then restored and verified.
As AcpiSrc supports the case that the input/output files are the same file,
ACPICA_TMP is not useful for divergence.sh any more.
This patch cleans up ACPICA_TMP by invoking new linuxize_format() function
provided by libacpica.sh. A similar cleanup is also done in gen-repo.sh in
this patch. Lv Zheng.
Some older compilers have problems compiling ACPICA with optimizations
(reportedly, gcc 4.4 for example). This change adds a command line
option for make (NOOPT) that disables all compiler optimizations and
the _FORTIFY_SOURCE compiler flag. The default optimization is -O2
with the _FORTIFY_SOURCE flag specified. ACPICA BZ 1034.
Lv Zheng, Bob Moore.
Add more detail to the "required tools" section to clarify not
only what tools are needed, but why they are needed, and add pointers
to additional instruction readme files in ACPICA.
This patch fixes the failure reported for the following ASLTS test:
exceptions:exc_tbl:TLD1.tstf
The "FAIL" is emitted due to the lackness of AE_BAD_CHECKSUM exception
generation which can be fixed by compiling acpiexec to generate a different
version for ASLTS environment. Lv Zheng.
The command to confirm this test:
aslts.sh -c exc_tbl -t
The result in __STATUS_OF_TESTS before applying this fix:
":STST:exceptions:exc_tbl:TLD1.tstf:FAIL:Errors # 02 00 00 00:"
The result in __STATUS_OF_TESTS after applying this fix:
":STST:exceptions:exc_tbl:TLD1.tstf:PASS:"
Fixes some issues detected by the divergences check step of the ACPICA
20130927 release QA process:
1. AcpiSrc -i mode is not executed for divergence.sh.
2. 2 files containing ACPI_EXPORT_SYMBOL are not marked with
EXPORT_ACPI_INTERFACES.
Lv Zheng.
All functions defined for the linuxizing scripts lack "local"
declarations. This patch adds "local" for all such variables. No
functional changes. Lv Zheng.
During the linuxizing process, some extra white spaces are added by the
"indent" program at the beginning of the line which is an invocation of a
macro and there is no ";" at the end of the line.
This patch adds new mode to AcpiSrc to remove extra spaces inserted before
invoking such macros and add an empty line between the invocations of such
macros (like the other function declarations). This new mode is executed
after executing "indent" during the Linux release process.
The affected macros and files are:
1. ACPI_HW_DEPENDENT_RETURN (acpixf.h):
This macro is used as a wrapper for hardware dependent APIs to offer a
stub when the reduced hardware is configured during compilation.
2. ACPI_EXPORT_SYMBOL (utglobal.c):
This macro is used by Linux to export symbols to be found by Linux
modules. All such invocations are well formatted except those exported
as global variables.
This can help to reduce the source code differences between Linux and
ACPICA, and also help to automate the release process. Lv Zheng.
Adds a portable module to perform line editing via right-arrow,
left-arrow, and the DEL key. Portability is the key here, so
we don't attempt to use readline(), etc.
It is reported by kernel build test systems that all ACPICA linuxized
files have incorrect label indentation. This patch changes default indent
option to fix this bug. Lv Zheng.
This patch includes the following fixes:
1. removes non-Linux header files from release process.
2. makes the path names in the generated divergences diff to be relative
path names.
These changes affect the scripts in the generate/linux folder. Lv Zheng.
This change implements wildcard support for this option. It also
removes the local implementation of wildcard expansion. This part
affects the windows version only. Windows version is now linked
to the setargv.obj library to get this support.
This change affects windows version only; AcpiExec now is linked
to the windows setargv.obj which implements wildcards. So, all
code related to wildcards is now removed.
This patch splits file mapping implementation from AcpiDump to form a new
OSL osunixmap.c.
The invocations of AcpiOsMap/UnmapMemory are split into the table related
mappings and the memory related mappings in this patch.
This patch also cleans up opendir/readdir/closedir in AcpiDump by replacing
them with OSL directory iteration implementation. Lv Zheng.
This patch removes deprecated generate/linux/patches folder, moves useful
release scripts to the generate/linux folder, reduces code redundancy by
creating a script library libacpica.sh file under generate/linux folder.
Lv Zheng.
The make-patches.pl will generate patches with broken patch descriptions. This
is because the script is written to generate Linuxized patches for CVS commits.
The complexity in the make-patches.pl is not needed as GIT has offered many
features to let the patch descriptions to be extracted correctly from the
command line.
The new make-patches.sh script invokes git-extract.sh to provide equivalent
functionalities as make-patches.pl for ACPICA release. This patch also modifies
the git-extract.sh to allow generation of patches that can be used as a part of
an ACPICA release patch set. Lv Zheng.