Home
last modified time | relevance | path

Searched refs:mem_ranges (Results 1 – 7 of 7) sorted by relevance

/hafnium-2.8-rc0/src/
A Dfdt_handler_test.cc103 fdt_find_memory_ranges(&fdt, &memory, params.mem_ranges, in TEST()
109 EXPECT_THAT(pa_addr(params.mem_ranges[0].begin), Eq(0x00000000)); in TEST()
110 EXPECT_THAT(pa_addr(params.mem_ranges[0].end), Eq(0x20000000)); in TEST()
111 EXPECT_THAT(pa_addr(params.mem_ranges[1].begin), Eq(0x30000000)); in TEST()
112 EXPECT_THAT(pa_addr(params.mem_ranges[1].end), Eq(0x30010000)); in TEST()
113 EXPECT_THAT(pa_addr(params.mem_ranges[2].begin), Eq(0x30020000)); in TEST()
114 EXPECT_THAT(pa_addr(params.mem_ranges[2].end), Eq(0x30030000)); in TEST()
A Dload.c337 if (!vm_identity_map(vm_locked, params->mem_ranges[i].begin, in load_primary()
338 params->mem_ranges[i].end, in load_primary()
834 static bool carve_out_mem_range(struct mem_range *mem_ranges, in carve_out_mem_range() argument
846 pa_difference(mem_ranges[i].begin, mem_ranges[i].end)) { in carve_out_mem_range()
851 *found_end = mem_ranges[i].end; in carve_out_mem_range()
852 *found_begin = pa_init(pa_addr(mem_ranges[i].end) - in carve_out_mem_range()
854 mem_ranges[i].end = *found_begin; in carve_out_mem_range()
962 sizeof(mem_ranges_available) == sizeof(params->mem_ranges), in load_vms()
968 params->mem_ranges, sizeof(params->mem_ranges)); in load_vms()
1040 return update_reserved_ranges(update, params->mem_ranges, in load_vms()
A Dfdt_handler.c117 struct mem_range *mem_ranges, in fdt_find_memory_ranges() argument
153 mem_ranges[mem_range_index].begin = in fdt_find_memory_ranges()
155 mem_ranges[mem_range_index].end = in fdt_find_memory_ranges()
A Dinit.c99 pa_addr(params.mem_ranges[i].begin), in one_time_init()
100 pa_addr(params.mem_ranges[i].end) - 1); in one_time_init()
/hafnium-2.8-rc0/inc/hf/
A Dboot_params.h30 struct mem_range mem_ranges[MAX_MEM_RANGES]; member
A Dfdt_handler.h28 struct mem_range *mem_ranges,
/hafnium-2.8-rc0/src/boot_flow/
A Dcommon.c28 fdt_find_memory_ranges(fdt, &memory, p->mem_ranges, in boot_flow_get_params()

Completed in 7 milliseconds