Lines Matching defs:kernel
71 int kernel;
84 const char *__elfN(kerneltype) = "elf kernel";
181 * kernel. This assumption will be checked later.
184 ef.kernel = 1;
186 if (ef.kernel || ehdr->e_type == ET_EXEC) {
187 /* Looks like a kernel */
189 printf("elf" __XSTRING(__ELF_WORD_SIZE) "_loadfile: kernel already loaded\n");
194 * Calculate destination address based on kernel entrypoint.
197 * elf header (an ARM kernel can be loaded at any 2MB boundary), so we
206 printf("elf" __XSTRING(__ELF_WORD_SIZE) "_loadfile: not a kernel (maybe static binary?)\n");
210 ef.kernel = 1;
220 printf("elf" __XSTRING(__ELF_WORD_SIZE) "_loadfile: can't load module before kernel\n");
225 printf("elf" __XSTRING(__ELF_WORD_SIZE) "_loadfile: can't load module with kernel type '%s'\n", kfp->f_type);
230 ef.kernel = 0;
251 if (ef.kernel == 1 && multiboot == 0)
255 fp->f_type = strdup(ef.kernel ?
258 fp->f_type = strdup("elf multiboot kernel");
261 if (ef.kernel)
333 * On the purely virtual memory machines like e500, the kernel is
335 * available at the loader stage, but only after kernel initializes
344 * that the Book-E kernel assumes that it's loaded at a 16MB
359 * offset will leave us with the virtual address the kernel was linked
364 * launch the kernel by just jumping to that address.
377 if (ef->kernel)
631 if (ef->kernel) /* kernel must not depend on anything */
709 ef.kernel = 1;
866 if (ef->kernel) /* kernel must not depend on anything */
971 * The kernel is already relocated, but we still want to apply
974 if (ef->kernel)