Home
last modified time | relevance | path

Searched refs:res_desc (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/x86/lib/fsp/
Dfsp_support.c14 struct hob_res_desc *res_desc; in fsp_get_usable_lowmem_top() local
29 res_desc = (struct hob_res_desc *)hdr; in fsp_get_usable_lowmem_top()
30 if (res_desc->type == RES_SYS_MEM) { in fsp_get_usable_lowmem_top()
31 phys_start = res_desc->phys_start; in fsp_get_usable_lowmem_top()
35 top += (u32)(res_desc->len); in fsp_get_usable_lowmem_top()
76 struct hob_res_desc *res_desc; in fsp_get_usable_highmem_top() local
87 res_desc = (struct hob_res_desc *)hdr; in fsp_get_usable_highmem_top()
88 if (res_desc->type == RES_SYS_MEM) { in fsp_get_usable_highmem_top()
89 phys_start = res_desc->phys_start; in fsp_get_usable_highmem_top()
92 top += (u32)(res_desc->len); in fsp_get_usable_highmem_top()
[all …]
Dfsp_dram.c20 struct hob_res_desc *res_desc; in fsp_scan_for_ram_size() local
25 res_desc = (struct hob_res_desc *)hdr; in fsp_scan_for_ram_size()
26 if (res_desc->type == RES_SYS_MEM || in fsp_scan_for_ram_size()
27 res_desc->type == RES_MEM_RESERVED) in fsp_scan_for_ram_size()
28 ram_size += res_desc->len; in fsp_scan_for_ram_size()
52 struct hob_res_desc *res_desc; in install_e820_map() local
58 res_desc = (struct hob_res_desc *)hdr; in install_e820_map()
59 entries[num_entries].addr = res_desc->phys_start; in install_e820_map()
60 entries[num_entries].size = res_desc->len; in install_e820_map()
62 if (res_desc->type == RES_SYS_MEM) in install_e820_map()
[all …]