PRINTF
PRINTF("Get Elt 0x%x Elm 0x%x (idx %d)\n", elt, elm, idx-4);
PRINTF("set EncStat %x\n", sp->comstatus);
PRINTF("Set Elt 0x%x Elm 0x%x (idx %d) with %x %x %x %x\n",
PRINTF(10, "ips: in ips_cmd_dmaload\n");
PRINTF(9, "interrupt registers in:%x out:%x\n", iisr, oisr);
PRINTF(9, "ips: got command %d\n", cmdnumber);
PRINTF(10, "ips test: command id: %d segments: %d "
PRINTF(10, "ips test: : bcount %ld\n", bp->b_bcount);
PRINTF(10,"ips test: got a command, building flush command\n");
PRINTF(10, "ips test: got a command, building ffdc reset command\n");
PRINTF(10, "ips test: got a command, building flush command\n");
PRINTF(10, "ips test: got a command, building errortable command\n");
PRINTF(10, "trying PORTIO\n");
PRINTF(10, "trying MEMIO\n");
PRINTF(("read failed - %d", error));
PRINTF(("wanted to read %zd - read %zd\n", nbyte, nread));
PRINTF(("wrong elf header size: %d\n"
PRINTF(("wrong program header size: %d\n"
PRINTF(("bad elf header\n there are %d segments\n",
PRINTF(("Elf header size: %d\n", ehdr->e_ehsize));
PRINTF(("Program header size: %d\n", ehdr->e_phentsize));
PRINTF(("Number of Program headers: %d\n", ehdr->e_phnum));
PRINTF(("reading phdrs section\n"));
PRINTF(("headers section:\n"));
PRINTF(("entry type: %d\n", phdr[i].p_type));
PRINTF(("file offset: %jd\n", (intmax_t)phdr[i].p_offset));
PRINTF(("virt address: %p\n", (uint32_t *)phdr[i].p_vaddr));
PRINTF(("file size: %jd\n", (intmax_t)phdr[i].p_filesz));
PRINTF(("memory size: %jd\n", (intmax_t)phdr[i].p_memsz));
PRINTF(("\n"));
PRINTF(("reading notes header nthreads=%d\n", nthreads));
PRINTF(("reading notes section\n"));
PRINTF(("status check failed\n"));
PRINTF(("at offset: %zd expected note of type: %d - got: %d\n",
PRINTF(("mmap failed: %d\n", error); );
PRINTF(("map @%08"PRIxPTR"-%08"PRIxPTR" fileoff %08x-%08x\n", (uintptr_t)addr,
PRINTF(("failed to get mount - ESTALE\n"));
PRINTF(("failed with: %d\n", error));
PRINTF(("can't currently restore fd: %d\n",
PRINTF(("restoring %d\n", cfi->cfi_index));
PRINTF(("calling generic_elf_coredump\n"));
PRINTF(("ckpt handler called, using '%s'\n", buf));
PRINTF(("reading %zd bytes\n", nbyte));