audk/DynamicTablesPkg/Include
Pierre Gondois bade7f423b DynamicTablesPkg: SSDT Serial Port Fixup library
According to Arm Server Base Boot Requirements,
Platform Design Document version 1.2 revision D,
September 2, 2019, section '4.2.1.8 SPCR'; The
SPCR console device must be included in the DSDT.

Additionally, it is often desirable to describe the
serial ports available on a platform so that they
are available for use by a rich OS.

To facilitate the description of serial ports on a
platform a common SSDT Serial Port Fixup library is
introduced. It provides interfaces to build a SSDT
serial port definition block table based on the
serial port information.

The SSDT Serial Port Fixup library is used by the
SPCR, DBG2 and SSDT Serial Port generator to describe
the serial port information in a definition block.

  +------------+   +------------+   +------------+
  |  SPCR Gen  |   |  DBG2 Gen  |   | SERIAL Gen |
  +------------+   +------------+   +------------+
        +----------------------------------+
        |  SSDT Serial Port Fixup library  |
        +----------------------------------+

The SSDT Serial Port Fixup library:
  - Parses the SSDT Serial Port template using the
    AmlLib library to generate an AML tree.
  - Updates the _UID, _HID and _CID values.
  - Fixes up the Serial port base address, length
    and the interrupt number in the _CRS descriptor.
  - Fixes up the serial-port name.
  - Serialises the AML Tree to a buffer containing
    the definition block data.
  The definition block data is then installed by the
  corresponding table generator.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
2020-08-13 18:00:06 +00:00
..
Library DynamicTablesPkg: SSDT Serial Port Fixup library 2020-08-13 18:00:06 +00:00
Protocol DynamicTablesPkg: Remove erroneous use of EFIAPI 2020-03-29 16:53:35 +00:00
AcpiTableGenerator.h DynamicTablesPkg: SSDT Serial Port Fixup library 2020-08-13 18:00:06 +00:00
ArmNameSpaceObjects.h DynamicTablesPkg: SSDT Serial Port Fixup library 2020-08-13 18:00:06 +00:00
ConfigurationManagerHelper.h DynamicTablesPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:57 -07:00
ConfigurationManagerObject.h DynamicTablesPkg: Add dynamic PPTT table generation support 2019-06-11 08:36:18 +01:00
DeviceTreeTableGenerator.h DynamicTablesPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:57 -07:00
SmbiosTableGenerator.h DynamicTablesPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:57 -07:00
StandardNameSpaceObjects.h DynamicTablesPkg: Fix ACPI table rev field width 2020-03-29 16:53:35 +00:00
TableGenerator.h DynamicTablesPkg: Add dynamic PPTT table generation support 2019-06-11 08:36:18 +01:00