Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 91) sorted by relevance

1234

/arch/arm/tools/
Dgen-mach-types26 printf("/*\n");
27 printf(" * This was automagically generated from %s!\n", FILENAME);
28 printf(" * Do NOT edit\n");
29 printf(" */\n\n");
30 printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
31 printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
32 printf("#ifndef __ASSEMBLY__\n");
33 printf("/* The type of machine we're running on */\n");
34 printf("extern unsigned int __machine_arch_type;\n");
35 printf("#endif\n\n");
[all …]
/arch/sh/tools/
Dgen-mach-types18 printf("/*\n");
19 printf(" * Automagically generated, don't touch.\n");
20 printf(" */\n");
21 printf("#ifndef __ASM_SH_MACHTYPES_H\n");
22 printf("#define __ASM_SH_MACHTYPES_H\n");
23 printf("\n");
24 printf("/*\n");
25 printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n");
26 printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n");
27 printf(" *\n");
[all …]
/arch/x86/boot/compressed/
Dmkpiggy.c52 printf(".section \".rodata..compressed\",\"a\",@progbits\n"); in main()
53 printf(".globl z_input_len\n"); in main()
54 printf("z_input_len = %lu\n", ilen); in main()
55 printf(".globl z_output_len\n"); in main()
56 printf("z_output_len = %lu\n", (unsigned long)olen); in main()
58 printf(".globl input_data, input_data_end\n"); in main()
59 printf("input_data:\n"); in main()
60 printf(".incbin \"%s\"\n", argv[1]); in main()
61 printf("input_data_end:\n"); in main()
63 printf(".section \".rodata\",\"a\",@progbits\n"); in main()
[all …]
/arch/powerpc/xmon/
Dspu-dis.c94 printf(".long 0x%lx", insn); in print_insn_spu()
101 printf("%s", index->mnemonic); in print_insn_spu()
108 printf(tag == M_SYNC ? "c" : "p"); in print_insn_spu()
110 printf("d"); in print_insn_spu()
112 printf("e"); in print_insn_spu()
115 printf("\t"); in print_insn_spu()
121 printf(","); in print_insn_spu()
126 printf("$%lu", in print_insn_spu()
130 printf("$%lu", in print_insn_spu()
134 printf("$%lu", in print_insn_spu()
[all …]
Dxmon.c151 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog()
315 printf("xmon: Disabled due to kernel lockdown\n"); in xmon_is_locked_down()
323 printf("xmon: Read-only due to kernel lockdown\n"); in xmon_is_locked_down()
535 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
545 printf("xmon: WARNING: bad recursive fault " in xmon_core()
567 printf("cpu 0x%x stopped at breakpoint 0x%tx (", in xmon_core()
572 printf("WARNING: exception is not recoverable, " in xmon_core()
622 printf("enter ? for help\n"); in xmon_core()
673 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
684 printf("Stopped at breakpoint %tx (", BP_NUM(bp)); in xmon_core()
[all …]
Dppc-dis.c170 printf("%-7s ", opcode->name); in print_insn_powerpc()
172 printf("%s", opcode->name); in print_insn_powerpc()
209 printf(","); in print_insn_powerpc()
216 printf("r%ld", value); in print_insn_powerpc()
218 printf("f%ld", value); in print_insn_powerpc()
220 printf("v%ld", value); in print_insn_powerpc()
222 printf("vs%ld", value); in print_insn_powerpc()
228 printf("fsl%ld", value); in print_insn_powerpc()
230 printf("fcr%ld", value); in print_insn_powerpc()
232 printf("%ld", value); in print_insn_powerpc()
[all …]
/arch/m68k/math-emu/
Dfp_entry.S126 printf PREGISTER,"{d0->%08x}",1,%d0
131 printf PREGISTER,"{d1->%08x}",1,%d0
136 printf PREGISTER,"{d2->%08x}",1,%d0
141 printf PREGISTER,"{d3->%08x}",1,%d0
146 printf PREGISTER,"{d4->%08x}",1,%d0
151 printf PREGISTER,"{d5->%08x}",1,%d0
156 printf PREGISTER,"{d6->%08x}",1,%d0
161 printf PREGISTER,"{d7->%08x}",1,%d0
175 printf PREGISTER,"{d0<-%08x}",1,%d0
180 printf PREGISTER,"{d1<-%08x}",1,%d0
[all …]
Dfp_movem.S50 printf PDECODE,"fmovem.x "
65 printf PDECODE,"#%08x",1,%d1
69 printf PDECODE,"-" | decremental move
71 1: printf PDECODE,"+" | incremental move
74 printf PDECODE,"->" | fpu -> cpu
76 1: printf PDECODE,"<-" | fpu <- cpu
143 1: printf PMOVEM,"(%p>%p)",2,%a0,%a1
162 1: printf PMOVEM,"(%p>%p)",2,%a1,%a0
180 printf PDECODE,"\n"
183 printf PMOVEM,"fp:"
[all …]
Dfp_decode.h144 printf PDECODE,"d%d",1,%d0
147 1\@: printf PDECODE,"a%d",1,%d0
156 3\@: printf PDECODE,":%c",1,%a0
162 printf PDECODE,":%d",1,%d1
217 printf PDECODE,"d%d",1,%d0
223 printf PDECODE,"(a%d)",1,%d0
247 printf PDECODE,"(a%d)+",1,%d0
266 printf PDECODE,"-(a%d)",1,%d0
294 printf PDECODE,"pc"
299 printf PDECODE,"a%d",1,%d0
[all …]
Dfp_cond.S45 printf PDECODE,"fnop\n"
54 printf PDECODE,"fbccw "
60 printf PDECODE,"fbccl "
66 1: printf PDECODE,"%x",1,%a0
73 1: printf PDECODE,"\n"
77 printf PDECODE,"fdbcc "
82 printf PDECODE,"d%d,%x\n",2,%d0,%a1
99 printf PDECODE,"fscc "
122 printf PDECODE,"\n"
167 printf PDECODE,"\n"
Dfp_util.S59 printf ,"fp_illegal\n"
69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM)
98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0
112 printf PCONV,")\n"
121 printf PCONV,")\n"
129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0
145 printf PCONV,")\n"
164 printf PCONV,"d2e: %p%p -> %p(",3,%d0,%d1,%a0
190 printf PCONV,")\n"
/arch/s390/tools/
Dgen_facilities.c148 printf("#define %s ", def->name); in print_facility_list()
150 printf("_AC(0x%016llx,UL)%c", array[i], i < high ? ',' : '\n'); in print_facility_list()
164 printf("#ifndef __ASM_S390_FACILITY_DEFS__\n"); in main()
165 printf("#define __ASM_S390_FACILITY_DEFS__\n"); in main()
166 printf("/*\n"); in main()
167 printf(" * DO NOT MODIFY.\n"); in main()
168 printf(" *\n"); in main()
169 printf(" * This file was generated by %s\n", __FILE__); in main()
170 printf(" */\n\n"); in main()
171 printf("#include <linux/const.h>\n\n"); in main()
[all …]
Dgen_opcode_table.c188 printf("enum {\n"); in print_formats()
194 printf("\tINSTR_%s,\n", format); in print_formats()
196 printf("}; /* %d */\n\n", count); in print_formats()
211 printf("enum {\n"); in print_long_insn()
216 printf("\tLONG_INSN_%s,\n", insn->upper); in print_long_insn()
219 printf("}; /* %d */\n\n", count); in print_long_insn()
221 printf("#define LONG_INSN_INITIALIZER { \\\n"); in print_long_insn()
226 printf("\t[LONG_INSN_%s] = \"%s\", \\\n", insn->upper, insn->name); in print_long_insn()
228 printf("}\n\n"); in print_long_insn()
238 printf("\t[%4d] = { .opfrag = 0x%s, .format = INSTR_%s, ", nr, opcode, insn->format); in print_opcode()
[all …]
/arch/mips/kernel/syscalls/
Dsyscallnr.sh13 printf "#ifndef %s\n" "${fileguard}"
14 printf "#define %s\n" "${fileguard}"
15 printf "\n"
22 printf "#define __NR_%s_Linux_syscalls\t%s\n" "${prefix}" "${nxt}"
23 printf "\n"
24 printf "#endif /* %s */" "${fileguard}"
25 printf "\n"
/arch/powerpc/boot/
Dmain.c39 printf("No valid compressed data found, assume uncompressed data\n\r"); in prep_kernel()
53 printf("Allocating 0x%lx bytes for kernel...\n\r", ei.memsize); in prep_kernel()
75 printf("0x%lx bytes of uncompressed data copied\n\r", in prep_kernel()
81 printf("Decompressing (0x%p <- 0x%p:0x%p)...\n\r", addr, in prep_kernel()
94 printf("Done! Decompressed 0x%lx bytes\n\r", len); in prep_kernel()
108 printf("Attached initrd image at 0x%p-0x%p\n\r", in prep_initrd()
113 printf("Using loader supplied ramdisk at 0x%lx-0x%lx\n\r", in prep_initrd()
129 printf("Allocating 0x%lx bytes for initrd ...\n\r", in prep_initrd()
135 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r", in prep_initrd()
140 printf("initrd head: 0x%lx\n\r", *((unsigned long *)initrd_addr)); in prep_initrd()
[all …]
Dps3.c41 printf("cmdline: '%s'\n", cmdline); in prep_cmdline()
50 printf("ps3_exit\n"); in ps3_exit()
86 printf("%s:%d: ppe_id %lu \n", __func__, __LINE__, in ps3_repository_read_rm_size()
88 printf("%s:%d: lpar_id %lu \n", __func__, __LINE__, in ps3_repository_read_rm_size()
90 printf("%s:%d: rm_size %llxh \n", __func__, __LINE__, *rm_size); in ps3_repository_read_rm_size()
113 printf("\n-- PS3 bootwrapper --\n"); in platform_init()
134 printf(" flat tree at 0x%lx\n\r", ft_addr); in platform_init()
Dstdio.h11 extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
13 #define fprintf(fmt, args...) printf(args)
16 __attribute__((format(printf, 2, 3)));
Dwii.c54 printf("mini: invalid hdrp %08X\n", (u32)hdrp); in mipc_get_infohdr()
61 printf("mini: invalid hdr %08X\n", (u32)hdr); in mipc_get_infohdr()
66 printf("mini: invalid magic\n"); in mipc_get_infohdr()
87 printf("mini: invalid mem2_boundary %08X\n", in mipc_get_mem2_boundary()
127 printf("top of MEM2 @ %08X\n", reg[2] + reg[3]); in platform_fixups()
Depapr.c36 printf("WARNING: Image loaded outside IMA!" in platform_fixups()
39 printf("WARNING: Device tree address is outside IMA!" in platform_fixups()
43 printf("WARNING: Device tree extends outside IMA!" in platform_fixups()
/arch/parisc/boot/compressed/
Dmisc.c175 int printf(const char *fmt, ...) in printf() function
255 printf("Parsing ELF... "); in parse_elf()
337 printf("\nKernel requires at least %d MB RAM.\n", in decompress_kernel()
343 printf("\n"); in decompress_kernel()
344 printf("startcode_end = %x\n", &_startcode_end); in decompress_kernel()
345 printf("commandline = %x\n", command_line); in decompress_kernel()
346 printf("rd_start = %x\n", rd_start); in decompress_kernel()
347 printf("rd_end = %x\n", rd_end); in decompress_kernel()
349 printf("free_ptr = %x\n", free_mem_ptr); in decompress_kernel()
350 printf("free_ptr_end = %x\n", free_mem_end_ptr); in decompress_kernel()
[all …]
/arch/x86/boot/
Dmkcpustr.c26 printf("static const char x86_cap_strs[] =\n"); in main()
38 printf("\t\"\\x%02x\\x%02x\"\"%s\"\n", in main()
41 printf("#if REQUIRED_MASK%d & (1 << %d)\n" in main()
48 printf("\t;\n"); in main()
Dcpu.c54 printf("%s ", msg_strs+2); in show_cap_strs()
56 printf("%d:%d ", i, j); in show_cap_strs()
66 printf("%d:%d ", i, j); in show_cap_strs()
81 printf("This kernel requires an %s CPU, ", in validate_cpu()
83 printf("but only detected an %s CPU.\n", in validate_cpu()
/arch/x86/tools/
Dobjdump_reformat.awk21 printf("%s%s\n", $2, $1)
34 printf "%s\t%s\n", prev_addr, fwait_str
38 printf "%s\t%s\t%s\n", prev_addr, prev_hex, prev_mnemonic
47 printf "%s\t%s\t%s\n", prev_addr, prev_hex, prev_mnemonic
/arch/powerpc/tools/
Dunrel_branch_check.sh60 printf -v to '0x%x' $(( "0x$from" + to ))
62 *) printf 'Unkown branch format\n'
70 printf '%s\n' 'WARNING: Unrelocated relative branches'
73 printf '%s %s-> %s %s\n' "$from" "$branch" "$to" "$sym"
/arch/s390/kernel/syscalls/
Dsyscalltbl46 printf "%d\t%s\t%s\n" $prev_nr $prev_64 $prev_32
53 printf "%d\t%s\t%s\n" $prev_nr $prev_64 $prev_32
70 printf "NI_SYSCALL\n"
75 printf "NI_SYSCALL\n"
77 printf "SYSCALL(%s,%s)\n" $entry64 $entry32
109 printf "#define __NR_%s %d\n" $name $nr

1234