Application OSLs: Set return value for the PCI read functions.

These functions simply return AE_OK, but should set the return
value to zero also. This fix implements this. ACPICA BZ 1038.
Merge branch 'master' of git://github.com/acpica/acpica
Linux-specific header: enable "aarch64" 64-bit build.

Add support for the __aarch64__ define for 64-bit builds.
Naresh Bhat <naresh.bhat@linaro.org>
Debugger: Prevent possible command line buffer overflow.

Increase the size of a couple of the debugger line buffers.
ACPICA BZ 1037.
Validate start object for AcpiWalkNamespace.

Perform a sanity check on the start object to prevent problems
later. ACPICA BZ 1025.
Add support for host-installed SCI handlers.

This change adds support to allow hosts to install System Control
Interrupt handlers. Certain ACPI functionality requires the host
to handle raw SCIs. For example, the "SCI Doorbell" that is defined
for memory power state support requires the host device driver to
handle SCIs to examine if the doorbell has been activated. Multiple
SCI handlers can be installed to allow for future expansion.
Debugger support is included.
Lv Zheng, Bob Moore. ACPICA BZ 1032.
AcpiExec: Add support/test for SCI handlers.

Adds some testing/exercise of the SCI handler installation and
removal code.
Operation region support: Never free the handler "context" pointer.

This change removes some dangerous code that attempts to free the
handler context pointer in some (rare) circumstances. The owner of
the handler owns this pointer and the ACPICA code should never
touch it. Although not seen to be an issue in any kernel, it did
show up as a problem under AcpiExec. Also, set the internal storage
field for the context pointer to zero when the region is deactivated,
simply for sanity. David Box.
AcpiExec: On region deactivation, set return context value to null.

For sanity, always set the return context value in the system
memory region handler setup routine to NULL. David Box.
Debugger: Add new command to display full namespace pathnames.

Paths command displays the full pathname and object type for
the entire namespace. Alternative to the Namespace command.
Tests/AAPITS: Insert legal header in all source modules (.c, .h)

Insert missing Intel legal header in all modules.
Debugger: Remove unused variable.

Info structure is not used for the Paths command.
Linuxize scripts: Add an ACPICA release library.

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.
AcpiDump: Cleanup directory/mapping functions.

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.
AcpiDump: Cleanup code for extraction of "customized" tables.

The following error message is fixed after applying this cleanup.
  Could not get ACPI table at index 8, AE_NOT_FOUND

This patch reduces code redundancy by combining 2 pieces of the customized
table extraction codes into one single function - OslGetCustomizedTable() -
for Linux.
This patch also cleans up OslReadTableFromFile() which is called by
OslGetCustomizedTable().  A loop around fread() can help to reduce error
messages on Linux where the size of the file containing the customized
table are limitted to 4KB due to sysfs limitation.  Lv Zheng.
AcpiDump: Fix a possible buffer overflow.

This patch fixes buffer overflows detected around sscanf invocations by
using ACPI_MOVE_NAME().  Lv Zheng.
AcpiDump: Fix errors caused by an empty internal list head.

This patch cleans up the empty head entry of Gbl_TableListHead which is
only used to hold the count of the list entries.  The empty signature name
will cause program error messages where a valid table signature is
expected.
This patch also moves the table entry insertion logic into one single
function and appends multiple table instances handling codes in the new
function.  Lv Zheng.
AcpiDump: Cleanup Linux-specific initialization code.

This patch cleans up Linux specific AcpiDump initialization code to make
sure it is called by all external interfaces.  A redundant flag that
indicates the completion of the initialization is deleted.
This patch also deletes the wrong usage of returning tables used for
initialization from AcpiOsGetTableByName().  Lv Zheng.
Tables: Cleanup table checksum verification code.

This patch reduces code redundancy by moving the FACS/S3PT checksum
verification skip logic into AcpiTbVerifyChecksum().
This patch also adds ApIsValidChecksum() to be called by AcpiDump OSL codes
to verify the checksum of RSDP and tables.  Lv Zheng.
AcpiDump: Add RSDP/RSDT/XSDT table extraction support.

This patch adds full support of RSDP/RSDT/XSDT support for Linux to make it
compatible with the wide used original one, it includes a UEFI RSDP search
support using /sys/firmware/efi/systab and a '-r' option.

On hardware reduced platforms running Linux, there might only be UEFI boot
service enabled, no UEFI runtime service is available.  Thus when the RSDP
is not located in the EBDA window, it is not possible for AcpiDump to find
the RSDP through UEFI sysfs interfaces.  This patch also adds '-r' option
to allow RSDP to be extracted from a user specified position to work around
this issue.  Lv Zheng.