LF OS
Hobby operating system for amd64 with high ambitions
|
Go to the source code of this file.
Data Structures | |
struct | acpi_rsdp |
struct | acpi_rsdt |
struct | acpi_xsdt |
Functions | |
struct acpi_rsdp | __attribute__ ((packed)) |
static void | acpi_process_table (struct acpi_table_header *table) |
static void | init_acpi_rsdp (void *rsdp_ptr) |
void | init_acpi_efi (EFI_SYSTEM_TABLE *efiST) |
uint8_t | acpi_checksum (void *data, size_t len) |
Variables | |
char | signature [8] |
uint8_t | checksum |
char | oem_id [6] |
uint8_t | revision |
uint32_t | rsdt_ptr |
uint32_t | length |
uint64_t | xsdt_ptr |
uint8_t | extended_checksum |
uint8_t | _reserved [3] |
struct acpi_table_header | header |
uint32_t | entry_ptr [0] |
static EFI_GUID | efi_acpi_table_guid = EFI_ACPI_TABLE_GUID |
struct acpi_rsdp |
struct acpi_rsdt |
Data Fields | ||
---|---|---|
uint32_t | entry_ptr[0] | |
struct acpi_table_header | header |
struct acpi_xsdt |
Data Fields | ||
---|---|---|
uint64_t | entry_ptr[0] | |
struct acpi_table_header | header |
struct acpi_rsdp __attribute__ | ( | (packed) | ) |
|
static |
Definition at line 29 of file acpi.c.
References acpi_checksum(), acpi_table_header::asl_compiler_id, acpi_table_header::asl_compiler_revision, init_hpet(), length, acpi_table_header::length, logd, loge, memcmp(), memcpy(), oem, acpi_table_header::oem_id, oem_revision, acpi_table_header::oem_revision, acpi_table_header::oem_table_id, revision, acpi_table_header::revision, acpi_table_header::signature, and signature.
void init_acpi_efi | ( | EFI_SYSTEM_TABLE * | efiST | ) |
Definition at line 136 of file acpi.c.
References ALLOCATOR_REGION_DIRECT_MAPPING, efi_acpi_table_guid, init_acpi_rsdp(), logi, and memcmp().
|
static |
Definition at line 70 of file acpi.c.
References acpi_checksum(), acpi_process_table(), ALLOCATOR_REGION_DIRECT_MAPPING, acpi_rsdt::entry_ptr, acpi_xsdt::entry_ptr, acpi_rsdt::header, acpi_xsdt::header, length, acpi_rsdp::length, acpi_table_header::length, logd, loge, memcpy(), oem, acpi_rsdp::oem_id, revision, acpi_rsdp::revision, acpi_rsdp::rsdt_ptr, signature, acpi_rsdp::signature, and acpi_rsdp::xsdt_ptr.
struct acpi_table_header header |