MOS Source Code
Loading...
Searching...
No Matches
acpi_types.h File Reference
#include <mos/types.h>
+ Include dependency graph for acpi_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  acpi_rsdp_v1_t
 
struct  acpi_rsdp_v2_t
 
struct  acpi_sdt_header_t
 
struct  acpi_rsdt_t
 
struct  acpi_xsdt_t
 
struct  generic_addr_t
 
struct  acpi_fadt_t
 
struct  acpi_madt_header_t
 
struct  acpi_madt_et0_lapic_t
 
struct  acpi_madt_et1_ioapic_t
 
struct  acpi_madt_et2_ioapic_override_t
 
struct  acpi_madt_et3_ioapic_nmi_t
 
struct  acpi_madt_et4_lapic_nmi_t
 
struct  acpi_madt_et5_lapic_addr_t
 
struct  acpi_madt_et9_lx2apic_t
 
struct  acpi_madt_t
 
struct  acpi_hpet_t
 
struct  s_dsdt
 

Macros

#define ACPI_SIGNATURE_RSDP   "RSD PTR "
 
#define ACPI_SIGNATURE_RSDT   "RSDT"
 
#define ACPI_SIGNATURE_FADT   "FACP"
 
#define ACPI_SIGNATURE_MADT   "APIC"
 
#define madt_type_is_valid(var)
 
#define madt_entry_foreach(var, madt)
 
#define ACPI_SIGNATURE_HPET   "HPET"
 

Typedefs

typedef acpi_rsdp_v2_t acpi_rsdp_t
 

Functions

 MOS_STATIC_ASSERT (sizeof(acpi_rsdp_v1_t)==20, "acpi_rsdp_v1_t is not 20 bytes")
 

Macro Definition Documentation

◆ ACPI_SIGNATURE_RSDP

#define ACPI_SIGNATURE_RSDP   "RSD PTR "

Definition at line 29 of file acpi_types.h.

Referenced by acpi_find_rsdp().

◆ ACPI_SIGNATURE_RSDT

#define ACPI_SIGNATURE_RSDT   "RSDT"

Definition at line 57 of file acpi_types.h.

◆ ACPI_SIGNATURE_FADT

#define ACPI_SIGNATURE_FADT   "FACP"

Definition at line 136 of file acpi_types.h.

Referenced by do_handle_sdt_header().

◆ ACPI_SIGNATURE_MADT

#define ACPI_SIGNATURE_MADT   "APIC"

Definition at line 217 of file acpi_types.h.

Referenced by do_handle_sdt_header().

◆ madt_type_is_valid

#define madt_type_is_valid ( var)
Value:
(var->record_length && ((var->type >= 0 && var->type <= 5) || var->type == 9))

Definition at line 219 of file acpi_types.h.

◆ madt_entry_foreach

#define madt_entry_foreach ( var,
madt )
Value:
for (acpi_madt_header_t *var = (void *) ((char *) madt + sizeof(acpi_madt_t)); madt_type_is_valid(var); var = (void *) ((char *) var + var->record_length))
#define madt_type_is_valid(var)
Definition acpi_types.h:219

Definition at line 220 of file acpi_types.h.

Referenced by madt_parse_table().

◆ ACPI_SIGNATURE_HPET

#define ACPI_SIGNATURE_HPET   "HPET"

Definition at line 238 of file acpi_types.h.

Typedef Documentation

◆ acpi_rsdp_t

Definition at line 30 of file acpi_types.h.

Function Documentation

◆ MOS_STATIC_ASSERT()

MOS_STATIC_ASSERT ( sizeof(acpi_rsdp_v1_t) = =20,
"acpi_rsdp_v1_t is not 20 bytes"  )