10 #include <soc/systemagent.h>
21 {
PCIEXBAR, CONFIG_ECAM_MMCONF_BASE_ADDRESS, CONFIG_ECAM_MMCONF_LENGTH,
52 size_t hob_size, prmrr_size;
54 const uint8_t prmrr_phys_base_guid[16] = {
55 0x38, 0x3a, 0x81, 0x9f, 0xb0, 0x6f, 0xa7, 0x4f,
56 0xaf, 0x79, 0x8a, 0x4e, 0x74, 0xdd, 0x48, 0x33
58 const uint8_t prmrr_size_guid[16] = {
59 0x44, 0xed, 0x0b, 0x99, 0x4e, 0x9b, 0x26, 0x42,
60 0xa5, 0x97, 0x28, 0x36, 0x76, 0x6b, 0x5c, 0x41
87 *prmrr_mask = phys_address_mask & ~(
uint64_t)(prmrr_size - 1);
void soc_add_fixed_mmio_resources(struct device *dev, int *index)
uint32_t soc_systemagent_max_chan_capacity_mib(u8 capid0_a_ddrsz)
int soc_get_uncore_prmmr_base_and_mask(uint64_t *prmrr_base, uint64_t *prmrr_mask)
void sa_add_fixed_mmio_resources(struct device *dev, int *resource_cnt, const struct sa_mmio_descriptor *sa_fixed_resources, size_t count)
#define printk(level,...)
int cpu_phys_address_size(void)
const void * fsp_find_extension_hob_by_guid(const uint8_t *guid, size_t *size)
#define mmio_resource(dev, idx, basek, sizek)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
unsigned long long uint64_t