FreeBSD/sys/boot/mips/beri/boot2/boot2.c
/*
 * Boot a kernel that has mysteriously (i.e., by JTAG) appeared in DRAM;
 * assume that it is already properly relocated, etc, and invoke its entry
 * address without question or concern.
 */
Boot a kernel that has mysteriously  appeared in DRAM;
assume that it is already properly relocated, etc, and invoke its entry
address without question or concern.
Boot a kernel that has mysteriously appeared in DRAM ; assume that it is already properly relocated etc and invoke its entry address without question or concern .
static void
boot_fromdram(void)
{
    void *kaddr = DRAM_KERNEL_ADDR;	
    Elf64_Ehdr *ehp = kaddr;
    if (!IS_ELF(*ehp)) {
	printf("Invalid %s\n", "format");
	return;
    }
    boot((void *)ehp->e_entry, beri_argc, beri_argv, beri_envv);
}
static void boot_fromdram ( void ) { void * kaddr = DRAM_KERNEL_ADDR ; Elf64_Ehdr * ehp = kaddr ; if ( ! IS_ELF ( * ehp ) ) { printf ( " \n " , " " ) ; return ; } boot ( ( void * ) ehp -> e_entry , beri_argc , beri_argv , beri_envv ) ; }
Boot a kernel that has mysteriously (i.e., by JTAG) appeared in DRAM;
 assume that it is already properly relocated, etc, and invoke its entry
 address without question or concern.
Boot a kernel that has mysteriously ( i . e . by JTAG ) appeared in DRAM ; assume that it is already properly relocated etc and invoke its entry address without question or concern .
/* XXXRW: Something better here. */