Searched refs:res_desc (Results 1 – 2 of 2) sorted by relevance
19 struct hob_res_desc *res_desc; in dram_init() local24 res_desc = (struct hob_res_desc *)hdr; in dram_init()25 if (res_desc->type == RES_SYS_MEM || in dram_init()26 res_desc->type == RES_MEM_RESERVED) { in dram_init()27 ram_size += res_desc->len; in dram_init()69 struct hob_res_desc *res_desc; in install_e820_map() local75 res_desc = (struct hob_res_desc *)hdr; in install_e820_map()76 entries[num_entries].addr = res_desc->phys_start; in install_e820_map()77 entries[num_entries].size = res_desc->len; in install_e820_map()79 if (res_desc->type == RES_SYS_MEM) in install_e820_map()[all …]
221 struct hob_res_desc *res_desc; in fsp_get_usable_lowmem_top() local236 res_desc = (struct hob_res_desc *)hdr; in fsp_get_usable_lowmem_top()237 if (res_desc->type == RES_SYS_MEM) { in fsp_get_usable_lowmem_top()238 phys_start = res_desc->phys_start; in fsp_get_usable_lowmem_top()242 top += (u32)(res_desc->len); in fsp_get_usable_lowmem_top()283 struct hob_res_desc *res_desc; in fsp_get_usable_highmem_top() local294 res_desc = (struct hob_res_desc *)hdr; in fsp_get_usable_highmem_top()295 if (res_desc->type == RES_SYS_MEM) { in fsp_get_usable_highmem_top()296 phys_start = res_desc->phys_start; in fsp_get_usable_highmem_top()299 top += (u32)(res_desc->len); in fsp_get_usable_highmem_top()[all …]