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 given data in hex to the given file.
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 argc, const char ** argv)Entry point.
Defined at line 263 of file ../../src/devices/acpi/bin/acpidump/acpidump.cc