Records

Functions

  • void PrintUsage (const char * prog_name)

    Defined at line 48 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • bool ParseArgs (cpp20::span<const char *const> args, Args * result)

    Parse the given set of arguments.

    On success, fills in |result| with parsed arguments and returns true.

    Defined at line 66 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • template <uint64_t N>
    std::string SignatureToString (const fidl::Array<uint8_t, N> & array)

    Convert a fidl::Array

    <uint8

    _t, n> type to a std::string.

    Defined at line 105 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • void PrintTableNames (const fidl::VectorView<TableInfo> & entries)

    Print the list of table names.

    We attempt to copy the same output as Linux's "acpidump" command.

    Defined at line 112 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • zx_status_t FetchTable (const fidl::WireSyncClient<Tables> & client, const TableInfo & table, fbl::Array<uint8_t> * data)

    Fetch raw data for a table.

    Defined at line 119 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • void PrintRaw (const fbl::Array<uint8_t> & data)

    Print the given data directly to stdout.

    Defined at line 155 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • void PrintHex (const char * name, const fbl::Array<uint8_t> & data)

    Print the ACPI table |name|.

    We attempt to duplicate the formatting of the native Linux "acpidump"

    command to allow user scripts, "xxd" invocations etc to work without

    modification.

    Example output:

    DSDT

    @

    (nil)

    0000: 44 53 44 54 B4 1F 00 00 01 9B 42 4F 43 48 53 20 DSDT......BOCHS

    0010: 42 58 50 43 44 53 44 54 01 00 00 00 42 58 50 43 BXPCDSDT....BXPC

    (...)

    Defined at line 169 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • zx_status_t AcpiDump (const Args & args)

    Defined at line 197 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc

  • int Main (int argcconst char ** argv)

    Entry point.

    Defined at line 263 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc