Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

RTCT Reader Script

This script is an example of how to read the real-time configuration table (RTCT) on a target system.
RTCT is the Advanced Configuration and Power Interface (ACPI) table that provides the real-time configuration from the BIOS to the software.
The script supports the Yocto Project*-based board support package.
You can copy and modify the script to support another operating system. The script must meet the following requirements to maintain compatibility with the data streams optimizer:
  • Input: No arguments.
  • Output: The script must only print a string with the RTCT table encoded in base64 format as utf-8 to STDOUT.
  • Error handling: Any nonzero value returned from the script will be interpreted as an error. Any additional logging should be printed to STDERR.
Example:
Command line: tools/target_scripts/rtct_reader.py STDOUT: c2dkZmdkIGZzIGcgZGYgZyBzZ2<...>RmZ2QgZnM1MzQ1NDMgZyBkZiBnc2dk Return value: 0 STDERR: empty

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.