Lines Matching refs:vmlinux_lma
239 static void clear_bss_section(unsigned long vmlinux_lma) in clear_bss_section() argument
241 memset((void *)vmlinux_lma + vmlinux.image_size, 0, vmlinux.bss_size); in clear_bss_section()
281 unsigned long vmlinux_lma = 0; in startup_kernel() local
321 vmlinux_lma = randomize_within_range(vmlinux.image_size + vmlinux.bss_size, in startup_kernel()
324 if (vmlinux_lma) { in startup_kernel()
325 __kaslr_offset = vmlinux_lma - vmlinux.default_lma; in startup_kernel()
329 vmlinux_lma = vmlinux_lma ?: vmlinux.default_lma; in startup_kernel()
330 physmem_reserve(RR_VMLINUX, vmlinux_lma, vmlinux.image_size + vmlinux.bss_size); in startup_kernel()
334 memmove((void *)vmlinux_lma, img, vmlinux.image_size); in startup_kernel()
337 memmove((void *)vmlinux_lma, img, vmlinux.image_size); in startup_kernel()
361 clear_bss_section(vmlinux_lma); in startup_kernel()