![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cbmem.h>
#include <console/console.h>
#include <cpu/x86/lapic_def.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <soc/acpi.h>
#include <soc/iomap.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/util.h>
#include <fsp/util.h>
#include <security/intel/txt/txt_platform.h>
#include <security/intel/txt/txt.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | map_entry |
Enumerations | |
enum | { TOHM_REG , MMIOL_REG , MMCFG_BASE_REG , MMCFG_LIMIT_REG , TOLM_REG , ME_BASE_REG , ME_LIMIT_REG , TSEG_BASE_REG , TSEG_LIMIT_REG , NUM_MAP_ENTRIES } |
Functions | |
static void | read_map_entry (struct device *dev, struct map_entry *entry, uint64_t *result) |
static void | mc_read_map_entries (struct device *dev, uint64_t *values) |
static void | mc_report_map_entries (struct device *dev, uint64_t *values) |
static void | configure_dpr (struct device *dev) |
static void | mc_add_dram_resources (struct device *dev, int *res_count) |
static void | mmapvtd_read_resources (struct device *dev) |
static void | mmapvtd_init (struct device *dev) |
static void | vtd_read_resources (struct device *dev) |
static void | dmi3_init (struct device *dev) |
static void | iio_dfx_global_init (struct device *dev) |
Variables | |
static struct map_entry | memory_map [NUM_MAP_ENTRIES] |
static struct device_operations | mmapvtd_ops |
static const unsigned short | mmapvtd_ids [] |
static const struct pci_driver mmapvtd_driver | __pci_driver |
static struct device_operations | vtd_ops |
static struct device_operations | dmi3_ops |
static const unsigned short | iio_dfx_global_ids [] |
static struct device_operations | iio_dfx_global_ops |
anonymous enum |
Definition at line 94 of file uncore.c.
References ALIGN_UP, cbmem_top(), dpr_register::epm, dpr_register::lock, MiB, pci_read_config32(), pci_write_config32(), dpr_register::raw, dpr_register::size, dpr_register::top, and VTD_LTDPR.
Referenced by mc_add_dram_resources().
Definition at line 324 of file uncore.c.
References CONFIG, DMIRCBAR, ERRINJCON, pci_and_config32(), pci_or_config16(), and skip_intel_txt_lockdown().
Definition at line 352 of file uncore.c.
References CONFIG, IIO_DFX_LCK_CTL, IIO_DFX_TSWCTL0, pci_or_config16(), pci_read_config16(), pci_write_config16(), and skip_intel_txt_lockdown().
Definition at line 167 of file uncore.c.
References resource::base, device::bus, cbmem_top(), configure_dpr(), resource::flags, resource::index, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_MEM, IORESOURCE_RESERVE, IORESOURCE_STORED, LAPIC_DEFAULT_BASE, LOG_MEM_RESOURCE, mc_read_map_entries(), mc_report_map_entries(), MiB, MMCFG_BASE_REG, MMCFG_LIMIT_REG, mmio_resource, new_resource(), NUM_MAP_ENTRIES, pci_read_config32(), ram_resource, dpr_register::raw, reserved_ram_resource, bus::secondary, resource::size, dpr_register::size, TOHM_REG, TOLM_REG, dpr_register::top, TSEG_BASE_REG, TSEG_LIMIT_REG, VGA_BASE_ADDRESS, VGA_BASE_SIZE, and VTD_LTDPR.
Referenced by mmapvtd_read_resources().
Definition at line 78 of file uncore.c.
References memory_map, NUM_MAP_ENTRIES, and read_map_entry().
Referenced by mc_add_dram_resources().
Definition at line 85 of file uncore.c.
References BIOS_DEBUG, map_entry::description, memory_map, NUM_MAP_ENTRIES, and printk.
Referenced by mc_add_dram_resources().
Definition at line 266 of file uncore.c.
References mc_add_dram_resources(), and pci_dev_read_resources().
|
static |
Definition at line 52 of file uncore.c.
References map_entry::is_64_bit, map_entry::is_limit, mask, map_entry::mask_bits, pci_read_config32(), map_entry::reg, and value.
Referenced by mc_read_map_entries().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1 of file uncore.c.
Referenced by mc_read_map_entries(), and mc_report_map_entries().
|
static |
|
static |
|
static |