Home
last modified time | relevance | path

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

/linux-5.19.10/arch/powerpc/platforms/powermac/
Dbootx_init.c355 u64 *rsvmap; in bootx_flatten_dt() local
364 rsvmap = (u64 *)(ALIGN(mem_end, 8)); in bootx_flatten_dt()
365 hdr->off_mem_rsvmap = ((unsigned long)rsvmap) - mem_start; in bootx_flatten_dt()
366 mem_end = ((unsigned long)rsvmap) + 8 * sizeof(u64); in bootx_flatten_dt()
410 rsvmap[0] = mem_start; in bootx_flatten_dt()
411 rsvmap[1] = mem_end; in bootx_flatten_dt()
413 rsvmap[2] = ((unsigned long)bootx_info) + bootx_info->ramDisk; in bootx_flatten_dt()
414 rsvmap[3] = rsvmap[2] + bootx_info->ramDiskSize; in bootx_flatten_dt()
415 rsvmap[4] = 0; in bootx_flatten_dt()
416 rsvmap[5] = 0; in bootx_flatten_dt()
[all …]
/linux-5.19.10/arch/powerpc/kernel/
Dprom_init.c2705 u64 *rsvmap; in flatten_device_tree() local
2732 rsvmap = make_room(&mem_start, &mem_end, sizeof(mem_reserve_map), 8); in flatten_device_tree()
2764 hdr->off_mem_rsvmap = cpu_to_be32(((unsigned long)rsvmap) - dt_header_start); in flatten_device_tree()
2770 memcpy(rsvmap, mem_reserve_map, sizeof(mem_reserve_map)); in flatten_device_tree()