iPXE
Functions | Variables
efi_acpi.c File Reference

iPXE ACPI API for EFI More...

#include <ipxe/acpi.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/Guid/Acpi.h>
#include <ipxe/efi/efi_acpi.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 EFI_USE_TABLE (ACPI_10_TABLE,&rsdp, 0)
static userptr_t efi_find_rsdt (void)
 Locate ACPI root system description table.
 PROVIDE_ACPI (efi, acpi_find_rsdt, efi_find_rsdt)

Variables

static
EFI_ACPI_1_0_ROOT_SYSTEM_DESCRIPTION_POINTER
rsdp
 ACPI configuration table.

Detailed Description

iPXE ACPI API for EFI

Definition in file efi_acpi.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
EFI_USE_TABLE ( ACPI_10_TABLE  ,
rsdp,
 
)
static userptr_t efi_find_rsdt ( void  ) [static]

Locate ACPI root system description table.

Return values:
rsdtACPI root system description table, or UNULL

Definition at line 47 of file efi_acpi.c.

References phys_to_user(), EFI_ACPI_1_0_ROOT_SYSTEM_DESCRIPTION_POINTER::RsdtAddress, and UNULL.

                                        {

        /* Locate RSDT via ACPI configuration table, if available */
        if ( rsdp )
                return phys_to_user ( rsdp->RsdtAddress );

        return UNULL;
}

Variable Documentation

ACPI configuration table.

Definition at line 39 of file efi_acpi.c.

Referenced by rsdp_find_rsdt_range().