Home
last modified time | relevance | path

Searched refs:memrange (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/arch/x86/cpu/coreboot/
Dsdram.c26 struct memrange *memrange = &lib_sysinfo.memrange[i]; in install_e820_map() local
28 entries[i].addr = memrange->base; in install_e820_map()
29 entries[i].size = memrange->size; in install_e820_map()
35 if (memrange->type == CB_MEM_VENDOR_RSVD || in install_e820_map()
36 memrange->type == CB_MEM_TABLE) in install_e820_map()
39 entries[i].type = memrange->type; in install_e820_map()
59 struct memrange *memrange = &lib_sysinfo.memrange[i]; in board_get_usable_ram_top() local
61 uint64_t start = roundup(memrange->base, 1 << 12); in board_get_usable_ram_top()
62 uint64_t end = memrange->base + memrange->size; in board_get_usable_ram_top()
65 if (memrange->type != CB_MEM_RAM) in board_get_usable_ram_top()
[all …]
Dtables.c46 info->memrange[info->n_memranges].base = in cb_parse_memory()
49 info->memrange[info->n_memranges].size = in cb_parse_memory()
52 info->memrange[info->n_memranges].type = range->type; in cb_parse_memory()
/external/u-boot/arch/x86/include/asm/arch-coreboot/
Dsysinfo.h20 struct memrange { struct
24 } memrange[SYSINFO_MAX_MEM_RANGES]; member