Predefined names: _PRP proposal changed to _DSD

Changes required to support new _DSD predefined name, formerly _PRP.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
OSL: Cleanup AcpiOsAllocateZeroed() stubs.

This patch implements AcpiOsAllocateZeroed() in generic OSL for the
applicatiions that have USE_NATIVE_ALLOCATED_ZEROED enabled.

Some utilities may include only osunixxf.c/oswinxf.c without including
utalloc.c, the default AcpiOsAllocateZeroed() is useful in such case to
link a default implementation. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
OSL: Cleanup AcpiOsGetThreadId()/AcpiOsExecute() stubs.

This patch cleans up single threaded application stubs,
AcpiOsGetThreadId()/AcpiOsExecute() can have generic stub implementations
in generic OSL layer when ACPI_SINGLE_THREADED is defined. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
OSL: Cleanup AcpiOsGetRootPointer() stubs.

This patch cleans up AcpiOsGetRootPointer() by deleting the
AeLocalGetRootPointer() and adding ACPI_USE_NATIVE_RSDP_POINTER.

The AeLocalGetRootPointer() referenced by osunixxf.c/oswinxf.c is
preventing portable applications that do not have this function implemented
to directly link the useful generic OSL.

This patch changes the way to achieve a default empty
AcpiOsGetRootPointer() by deleting all AeLocalGetRootPointer(). If a
utility wants to have a specific and functioning AcpiOsGetRootPointer(), it
now should define ACPI_USE_NATIVE_RSDP_POINTER and implement its own
AcpiOsGetRootPointer(). Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Utilities: Cleanup ACPI_DEBUGGER by converting AcpiDbReadTableFromFile() to AcpiUtReadTableFromFile().

This patch is mainly for acpinames, which defines ACPI_DEBUGGER in order to
link AcpiDbReadTableFromFile(). Actually it doesn't require debugger to be
compiled. This patch also cleans up ACPI_DEBUGGER for acpihelp.
This patch splits this function from debugger to be a generic utilities API
so that ACPI_DEBUGGER can no longer be defined for acpinames. Note that
acpinames need to access dump functions so it need to define
ACPI_DEBUG_OUTPUT, and AcpiDbgLevel need to be tuned to keep behavior
consistency.
This patch is required for removing anstubs.c. Without doing this first,
removing anstubs.c will lead to many link requirements to all debugger and
disassembler objects for acpinames. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
OSL: Cleanup AcpiOsMapMemory()/AcpiOsUnmapMemory() stubs.

This patch introduces new compilation environment
ACPI_USE_NATIVE_MEMORY_MAPPING.

In order to convert acpidump to be a portable applicatiion, acpidump need
to link osPLATxf.c, then there will be 2 instances of
AcpiOsMapMemory()/AcpiOsUnmapMemory() linked by acpidump, one is only used
by acpidump to perform file mapping, the other is a generic memory mapping
implementation for other applications. It thus requires a mechanism for
acpidump to exclude the generic one. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>