41 #define RSDP_EBDA_END_SEG 0xa000 44 #define RSDP_BIOS_START 0xe0000 47 #define RSDP_BIOS_LEN 0x20000 50 #define RSDP_STRIDE 16 77 for ( sum = 0, i = 0 ; i <
sizeof ( *rsdp ) ; i++ )
84 DBGC ( rsdt,
"RSDT %#08lx found via RSDP %#08lx\n",
85 virt_to_phys ( rsdt ),
#define le32_to_cpu(value)
const struct acpi_rsdt * acpi_find_rsdt(void)
Locate ACPI root system description table.
#define RSDP_STRIDE
Stride at which to search for RSDP.
#define RSDP_EBDA_END_SEG
EBDA RSDP maximum segment.
static acpi_find(uint32_t signature, unsigned int index)
Locate ACPI table.
ACPI Root System Description Table (RSDT)
#define RSDP_BIOS_START
Fixed BIOS area RSDP start address.
static __always_inline void * real_to_virt(unsigned int segment, unsigned int offset)
Convert segment:offset address to virtual address.
uint32_t start
Starting offset.
static const struct acpi_rsdt * rsdp_find_rsdt_range(const void *start, size_t len)
Locate ACPI root system description table within a memory range.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define RSDP_BIOS_LEN
Fixed BIOS area RSDP length.
Standard PC-BIOS ACPI RSDP interface.
static EFI_ACPI_1_0_ROOT_SYSTEM_DESCRIPTION_POINTER * rsdp
ACPI configuration table.
PROVIDE_ACPI_INLINE(rsdp, acpi_find)
#define RSDP_SIGNATURE
Root System Description Pointer signature.
static const struct acpi_rsdt * rsdp_find_rsdt(void)
Locate ACPI root system description table.
Root System Description Pointer.
uint16_t offset
Offset to command line.
u8 signature
CPU signature.
int memcmp(const void *first, const void *second, size_t len)
Compare memory regions.
#define NULL
NULL pointer (VOID *)
PROVIDE_ACPI(rsdp, acpi_find_rsdt, rsdp_find_rsdt)