16 #include <soc/device_nvs.h>
17 #include <soc/iomap.h>
19 #include <soc/pci_devs.h>
21 #include <soc/systemagent.h>
34 igfx_dev && igfx_dev->
enabled &&
35 gfxvtbar && gfxvten &&
40 const unsigned long tmp = current;
50 const unsigned long tmp = current;
56 for (i = 0; i < 8; ++i)
65 const unsigned long tmp = current;
82 unsigned long current,
unsigned long acpi_create_dmar_ds_ioapic(unsigned long current, u8 enumeration_id, u8 bus, u8 dev, u8 fn)
unsigned long acpi_create_dmar_rmrr(unsigned long current, u16 segment, u64 bar, u64 limit)
void acpi_dmar_drhd_fixup(unsigned long base, unsigned long current)
void acpi_add_table(acpi_rsdp_t *rsdp, void *table)
Add an ACPI table to the RSDT (and XSDT) structure, recalculate length and checksum.
unsigned long acpi_create_dmar_ds_msi_hpet(unsigned long current, u8 enumeration_id, u8 bus, u8 dev, u8 fn)
unsigned long acpi_create_dmar_ds_pci(unsigned long current, u8 bus, u8 dev, u8 fn)
void acpi_create_dmar(acpi_dmar_t *dmar, enum dmar_flags flags, unsigned long(*acpi_fill_dmar)(unsigned long))
void acpi_dmar_rmrr_fixup(unsigned long base, unsigned long current)
unsigned long acpi_create_dmar_drhd(unsigned long current, u8 flags, u16 segment, u64 bar)
#define printk(level,...)
DEVTREE_CONST struct device * pcidev_path_on_root(pci_devfn_t devfn)
DEVTREE_CONST struct device * pcidev_on_root(uint8_t dev, uint8_t fn)
static __always_inline uint32_t mchbar_read32(const uintptr_t offset)
static uintptr_t acpi_align_current(uintptr_t current)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
unsigned long northbridge_write_acpi_tables(const struct device *device, unsigned long start, struct acpi_rsdp *rsdp)
size_t size_of_dnvs(void)
static unsigned long acpi_fill_dmar(unsigned long current)
#define PCH_IOAPIC_PCI_SLOT
#define PCH_HPET_PCI_SLOT
#define PCH_IOAPIC_PCI_BUS