AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
sdt.h File Reference
#include <core/system.h>

Go to the source code of this file.

Data Structures

struct  acpi_rsdp
 The Root System Description Pointer, which says where the RSDT is. More...
struct  acpi_rsdp2
 ACPI 2.0's RSDP (revision 2 or more), which also says where the XSDT is, with 64-bit addresses. More...
struct  acpi_sdt_header
 The header that every table starts with. More...
struct  acpi_rsdt
 The RSDT: the other tables' 32-bit addresses. More...
struct  acpi_xsdt
 The XSDT: the other tables' 64-bit addresses. More...
struct  acpi_gas
 A register's address, ACPI's Generic Address Structure. More...
struct  acpi_hpet
 The HPET table: where the HPET's registers are. More...
struct  acpi_madt_entry
 The start of every MADT entry. More...
struct  acpi_madt_local_apic
 A CPU's local APIC. More...
struct  acpi_madt_io_apic
 An I/O APIC: its registers, and the first GSI its pins bring. More...
struct  acpi_madt_override
 An ISA IRQ that comes on another GSI, or with another polarity or trigger mode, than the default. More...
struct  acpi_madt_local_apic_nmi
 Which local APIC input (LINT0 or LINT1) is the NMI. More...
struct  acpi_madt
 The MADT's header: the local APICs' address, and flags. More...

Macros

#define ACPI_MADT_LOCAL_APIC   0
#define ACPI_MADT_IO_APIC   1
#define ACPI_MADT_INT_SRC_OVERRIDE   2
#define ACPI_MADT_LOCAL_APIC_NMI   4
#define ACPI_MADT_PCAT_COMPAT   0x1
#define ACPI_MADT_ENABLED   0x1
#define ACPI_MPS_POLARITY_MASK   0x3
#define ACPI_MPS_POLARITY_HIGH   0x1
#define ACPI_MPS_POLARITY_LOW   0x3
#define ACPI_MPS_TRIGGER_MASK   0xc
#define ACPI_MPS_TRIGGER_EDGE   0x4
#define ACPI_MPS_TRIGGER_LEVEL   0xc

Macro Definition Documentation

◆ ACPI_MADT_ENABLED

#define ACPI_MADT_ENABLED   0x1

Definition at line 81 of file sdt.h.

Referenced by x86_apic_setup().

◆ ACPI_MADT_INT_SRC_OVERRIDE

#define ACPI_MADT_INT_SRC_OVERRIDE   2

Definition at line 76 of file sdt.h.

Referenced by x86_apic_setup().

◆ ACPI_MADT_IO_APIC

#define ACPI_MADT_IO_APIC   1

Definition at line 75 of file sdt.h.

Referenced by x86_apic_setup().

◆ ACPI_MADT_LOCAL_APIC

#define ACPI_MADT_LOCAL_APIC   0

Definition at line 74 of file sdt.h.

Referenced by x86_apic_setup().

◆ ACPI_MADT_LOCAL_APIC_NMI

#define ACPI_MADT_LOCAL_APIC_NMI   4

Definition at line 77 of file sdt.h.

Referenced by x86_apic_setup().

◆ ACPI_MADT_PCAT_COMPAT

#define ACPI_MADT_PCAT_COMPAT   0x1

Definition at line 79 of file sdt.h.

◆ ACPI_MPS_POLARITY_HIGH

#define ACPI_MPS_POLARITY_HIGH   0x1

Definition at line 86 of file sdt.h.

◆ ACPI_MPS_POLARITY_LOW

#define ACPI_MPS_POLARITY_LOW   0x3

Definition at line 87 of file sdt.h.

Referenced by irq_gsi().

◆ ACPI_MPS_POLARITY_MASK

#define ACPI_MPS_POLARITY_MASK   0x3

Definition at line 85 of file sdt.h.

Referenced by irq_gsi().

◆ ACPI_MPS_TRIGGER_EDGE

#define ACPI_MPS_TRIGGER_EDGE   0x4

Definition at line 89 of file sdt.h.

◆ ACPI_MPS_TRIGGER_LEVEL

#define ACPI_MPS_TRIGGER_LEVEL   0xc

Definition at line 90 of file sdt.h.

Referenced by irq_gsi(), and x86_apic_setup().

◆ ACPI_MPS_TRIGGER_MASK

#define ACPI_MPS_TRIGGER_MASK   0xc

Definition at line 88 of file sdt.h.

Referenced by irq_gsi(), and x86_apic_setup().