Lines Matching refs:initrd_addr
102 unsigned long initrd_addr, in prep_initrd() argument
110 initrd_addr = (unsigned long)_initrd_start; in prep_initrd()
114 initrd_addr, initrd_addr + initrd_size); in prep_initrd()
126 if (initrd_addr < vmlinux.size) { in prep_initrd()
127 void *old_addr = (void *)initrd_addr; in prep_initrd()
131 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
132 if (! initrd_addr) in prep_initrd()
136 initrd_addr, old_addr, initrd_size); in prep_initrd()
137 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
140 printf("initrd head: 0x%lx\n\r", *((unsigned long *)initrd_addr)); in prep_initrd()
143 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); in prep_initrd()
144 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
146 return (struct addr_range){(void *)initrd_addr, initrd_size}; in prep_initrd()
256 loader_info.initrd_addr, loader_info.initrd_size); in start()