10 #include <soc/pci_devs.h>
11 #include <soc/ramstage.h>
104 dpr.
size = dpr.
top - cbmem_top_mb;
173 int index = *res_count;
185 size_kb = (0xa0000 >> 10);
190 base_kb = (0x100000 >> 10);
220 if (mc_values[
TOHM_REG] > 0x100000000) {
221 base_kb = (0x100000000 >> 10);
222 size_kb = (mc_values[
TOHM_REG] - 0x100000000 + 1) >> 10;
258 base_kb = (0xc0000 >> 10);
259 size_kb = (0x100000 - 0xc0000) >> 10;
287 #if CONFIG(HAVE_ACPI_TABLES)
297 static const struct pci_driver mmapvtd_driver
__pci_driver = {
318 static const struct pci_driver vtd_driver
__pci_driver = {
346 static const struct pci_driver dmi3_driver
__pci_driver = {
380 static const struct pci_driver iio_dfx_global_driver
__pci_driver = {
#define printk(level,...)
void uncore_inject_dsdt(const struct device *device)
struct resource * new_resource(struct device *dev, unsigned int index)
See if a resource structure already exists for a given index and if not allocate one.
#define ram_resource(dev, idx, basek, sizek)
#define LOG_MEM_RESOURCE(type, dev, index, base_kb, size_kb)
#define mmio_resource(dev, idx, basek, sizek)
#define reserved_ram_resource(dev, idx, basek, sizek)
static __always_inline void pci_write_config32(const struct device *dev, u16 reg, u32 val)
static __always_inline void pci_or_config16(const struct device *dev, u16 reg, u16 ormask)
static __always_inline u16 pci_read_config16(const struct device *dev, u16 reg)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
static __always_inline void pci_write_config16(const struct device *dev, u16 reg, u16 val)
static __always_inline void pci_and_config32(const struct device *dev, u16 reg, u32 andmask)
#define MAP_ENTRY_LIMIT_32(reg_, mask_bits_, desc_)
#define LAPIC_DEFAULT_BASE
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
bool skip_intel_txt_lockdown(void)
#define MAP_ENTRY_LIMIT_64(reg_, desc_)
#define MAP_ENTRY_BASE_64(reg_, desc_)
#define MAP_ENTRY_BASE_32(reg_, desc_)
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
void pci_dev_set_resources(struct device *dev)
#define IORESOURCE_RESERVE
#define IORESOURCE_STORED
#define IORESOURCE_ASSIGNED
struct pci_operations soc_pci_ops
#define VTD_MMCFG_LIMIT_CSR
#define MMAP_VTD_CFG_REG_DEVID
#define VTD_TSEG_BASE_CSR
#define VTD_MMCFG_BASE_CSR
#define MMAP_VTD_STACK_CFG_REG_DEVID
#define VTD_TSEG_LIMIT_CSR
unsigned long long uint64_t
void(* read_resources)(struct device *dev)
DEVTREE_CONST struct bus * bus
static struct device_operations iio_dfx_global_ops
static const struct pci_driver mmapvtd_driver __pci_driver
static struct map_entry memory_map[NUM_MAP_ENTRIES]
static const unsigned short iio_dfx_global_ids[]
static void dmi3_init(struct device *dev)
static void mc_report_map_entries(struct device *dev, uint64_t *values)
static void configure_dpr(struct device *dev)
static void mc_read_map_entries(struct device *dev, uint64_t *values)
static void iio_dfx_global_init(struct device *dev)
static void vtd_read_resources(struct device *dev)
static struct device_operations vtd_ops
static void mmapvtd_read_resources(struct device *dev)
static struct device_operations dmi3_ops
static void read_map_entry(struct device *dev, struct map_entry *entry, uint64_t *result)
static void mc_add_dram_resources(struct device *dev, int *res_count)
static const unsigned short mmapvtd_ids[]
static struct device_operations mmapvtd_ops
static void mmapvtd_init(struct device *dev)