Namespaces

Records

Functions

  • uint32_t BeToHost32 (uint32_t x)

    Defined at line 26 of file ../../zircon/kernel/lib/acpi_lite/include/lib/acpi_lite/internal.h

  • bool operator== (const AcpiSignature & left, const AcpiSignature & right)

    Operators.

    Defined at line 39 of file ../../zircon/kernel/lib/acpi_lite/include/lib/acpi_lite/structures.h

  • bool operator!= (const AcpiSignature & left, const AcpiSignature & right)

    Defined at line 42 of file ../../zircon/kernel/lib/acpi_lite/include/lib/acpi_lite/structures.h

  • zx_status_t EnumerateProcessorLocalApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtLocalApicEntry &)> & callback)

    Enumerate all enabled Processor Local APICs in the system, calling

    |callback| once for each.

    Each entry corresponds to an entry in the ACPI MADT table of type "Local

    Apic". See ACPI v6.3 Section 5.2.12.2 for details.

    |callback| is invoked once for each entry. The function returns any error

    returned by the callback, or if an error was found attempting to parse the

    tables.

    Defined at line 62 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateProcessorLocalApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtLocalApicEntry &)> & callback)

    Enumerate all enabled Processor Local APICs in the system, calling

    |callback| once for each.

    Each entry corresponds to an entry in the ACPI MADT table of type "Local

    Apic". See ACPI v6.3 Section 5.2.12.2 for details.

    |callback| is invoked once for each entry. The function returns any error

    returned by the callback, or if an error was found attempting to parse the

    tables.

    Defined at line 62 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateProcessorLocalApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtLocalApicEntry &)> & callback)

    Enumerate all enabled Processor Local APICs in the system, calling

    |callback| once for each.

    Each entry corresponds to an entry in the ACPI MADT table of type "Local

    Apic". See ACPI v6.3 Section 5.2.12.2 for details.

    |callback| is invoked once for each entry. The function returns any error

    returned by the callback, or if an error was found attempting to parse the

    tables.

    Defined at line 62 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx::result<AcpiDebugPortDescriptor> GetDebugPort (const AcpiParserInterface & parser)

    Lookup low-level debug port information.

    Defined at line 87 of file ../../zircon/kernel/lib/acpi_lite/debug_port.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiSratTable * srat, const fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> & callback)

    Calls the given callback on all pairs of CPU APIC ID and NumaRegion.

    Defined at line 17 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiSratTable * srat, const fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> & callback)

    Calls the given callback on all pairs of CPU APIC ID and NumaRegion.

    Defined at line 17 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiSratTable * srat, const fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> & callback)

    Calls the given callback on all pairs of CPU APIC ID and NumaRegion.

    Defined at line 17 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiSratTable * srat, const fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> & callback)

    Calls the given callback on all pairs of CPU APIC ID and NumaRegion.

    Defined at line 17 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • uint32_t HostToBe32 (uint32_t x)

    Defined at line 25 of file ../../zircon/kernel/lib/acpi_lite/include/lib/acpi_lite/internal.h

  • zx_status_t EnumerateProcessorLocalApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtLocalApicEntry &)> & callback)

    Enumerate all enabled Processor Local APICs in the system, calling

    |callback| once for each.

    Each entry corresponds to an entry in the ACPI MADT table of type "Local

    Apic". See ACPI v6.3 Section 5.2.12.2 for details.

    |callback| is invoked once for each entry. The function returns any error

    returned by the callback, or if an error was found attempting to parse the

    tables.

    Defined at line 62 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx::result<AcpiDebugPortDescriptor> ParseAcpiDbg2Table (const AcpiDbg2Table & debug_table)

    Parse an AcpiDbh2Table ACPI structure.

    Defined at line 18 of file ../../zircon/kernel/lib/acpi_lite/debug_port.cc

  • zx_status_t EnumerateIoApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIoApicEntry &)> & callback)

    Enumerate all IO APICs in the system, calling |callback| once for each.

    |callback| is called onced per IO APIC entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 75 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateIoApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIoApicEntry &)> & callback)

    Enumerate all IO APICs in the system, calling |callback| once for each.

    |callback| is called onced per IO APIC entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 75 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateIoApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIoApicEntry &)> & callback)

    Enumerate all IO APICs in the system, calling |callback| once for each.

    |callback| is called onced per IO APIC entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 75 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateIoApics (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIoApicEntry &)> & callback)

    Enumerate all IO APICs in the system, calling |callback| once for each.

    |callback| is called onced per IO APIC entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 75 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • template <typename T>
    const T * GetTableByType (const AcpiParserInterface & parser)

    Get the first table of the given type. Return nullptr if no table found, or the

    table is invalid.,

    Defined at line 84 of file ../../zircon/kernel/lib/acpi_lite/include/lib/acpi_lite.h

  • template <typename Dest, typename Src>
    const Dest * Downcast (const Src * src)

    Convert a pointer to type |Src| to a pointer of type |Dest|, ensuring that the size of |Src|

    is valid.

    We require that the type |Dest| has a field |header| at offset 0 of type |Src|.

    Defined at line 119 of file ../../zircon/kernel/lib/acpi_lite/binary_reader.h

  • zx_status_t EnumerateCpuNumaPairs (const AcpiParserInterface & parser, fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> callback)

    Defined at line 124 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiParserInterface & parser, fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> callback)

    Defined at line 124 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiParserInterface & parser, fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> callback)

    Defined at line 124 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx_status_t EnumerateCpuNumaPairs (const AcpiParserInterface & parser, fit::inline_function<void (const AcpiNumaDomain &, uint32_t)> callback)

    Defined at line 124 of file ../../zircon/kernel/lib/acpi_lite/numa.cc

  • zx::result<AcpiParser> AcpiParserInit (zx_paddr_t rsdp_pa)

    Create a new AcpiParser, starting at the given Root System Description Pointer (RSDP),

    and using Zircon's |paddr_to_physmap| implementation to convert physical addresses

    to virtual addresses.

    Defined at line 97 of file ../../zircon/kernel/lib/acpi_lite/zircon.cc

  • zx_status_t EnumerateIoApicIsaOverrides (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIntSourceOverrideEntry &)> & callback)

    Enumerate all ISA interrupt source override entries in the system MADT

    table.

    By default, it is assumed that the first _n_ APIC interrupts correspond to

    the first _n_ legacy ISA interrupts. Entries in this table record any

    exceptions to this assumption.

    |callback| is called once per override entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 82 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateIoApicIsaOverrides (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIntSourceOverrideEntry &)> & callback)

    Enumerate all ISA interrupt source override entries in the system MADT

    table.

    By default, it is assumed that the first _n_ APIC interrupts correspond to

    the first _n_ legacy ISA interrupts. Entries in this table record any

    exceptions to this assumption.

    |callback| is called once per override entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 82 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateIoApicIsaOverrides (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIntSourceOverrideEntry &)> & callback)

    Enumerate all ISA interrupt source override entries in the system MADT

    table.

    By default, it is assumed that the first _n_ APIC interrupts correspond to

    the first _n_ legacy ISA interrupts. Entries in this table record any

    exceptions to this assumption.

    |callback| is called once per override entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 82 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • zx_status_t EnumerateIoApicIsaOverrides (const AcpiParserInterface & parser, const fit::inline_function<zx_status_t (const AcpiMadtIntSourceOverrideEntry &)> & callback)

    Enumerate all ISA interrupt source override entries in the system MADT

    table.

    By default, it is assumed that the first _n_ APIC interrupts correspond to

    the first _n_ legacy ISA interrupts. Entries in this table record any

    exceptions to this assumption.

    |callback| is called once per override entry in the ACPI MADT table. The

    function returns any error returned by the callback, or if an error was

    found attempting to parse the tables.

    Defined at line 82 of file ../../zircon/kernel/lib/acpi_lite/apic.cc

  • const AcpiSdtHeader * GetTableBySignature (const AcpiParserInterface & parser, AcpiSignature sig)

    Get the first table matching the given signature. Return nullptr if no table found.

    Defined at line 275 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • bool AcpiChecksumValid (const void * buf, size_t len)

    Ensure the checksum of the given block of code is valid.

    Defined at line 169 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • bool AcpiChecksumValid (const void * buf, size_t len)

    Ensure the checksum of the given block of code is valid.

    Defined at line 169 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • bool AcpiChecksumValid (const void * buf, size_t len)

    Ensure the checksum of the given block of code is valid.

    Defined at line 169 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • uint8_t AcpiChecksum (const void * _buf, size_t len)

    Calculate a checksum of the given range of memory.

    Defined at line 179 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • uint8_t AcpiChecksum (const void * _buf, size_t len)

    Calculate a checksum of the given range of memory.

    Defined at line 179 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • uint8_t AcpiChecksum (const void * _buf, size_t len)

    Calculate a checksum of the given range of memory.

    Defined at line 179 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • zx::result<const AcpiRsdt *> ValidateRsdt (PhysMemReader & reader, uint32_t rsdt_pa, size_t * num_tables)

    Validate the RSDT / XSDT tables.

    Defined at line 197 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • zx::result<const AcpiRsdt *> ValidateRsdt (PhysMemReader & reader, uint32_t rsdt_pa, size_t * num_tables)

    Validate the RSDT / XSDT tables.

    Defined at line 197 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • zx::result<const AcpiRsdt *> ValidateRsdt (PhysMemReader & reader, uint32_t rsdt_pa, size_t * num_tables)

    Validate the RSDT / XSDT tables.

    Defined at line 197 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • zx::result<const AcpiXsdt *> ValidateXsdt (PhysMemReader & reader, uint64_t xsdt_pa, size_t * num_tables)

    Defined at line 226 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • zx::result<const AcpiXsdt *> ValidateXsdt (PhysMemReader & reader, uint64_t xsdt_pa, size_t * num_tables)

    Defined at line 226 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc

  • zx::result<const AcpiXsdt *> ValidateXsdt (PhysMemReader & readeruint64_t xsdt_pasize_t * num_tables)

    Defined at line 226 of file ../../zircon/kernel/lib/acpi_lite/acpi_lite.cc