printf 50 bsp/boot/common/bootinfo.c printf("%lx %lx %x %lx %lx %x %x %x %s\n", printf 65 bsp/boot/common/bootinfo.c printf("[Boot information]\n"); printf 67 bsp/boot/common/bootinfo.c printf("nr_rams=%d\n", bi->nr_rams); printf 70 bsp/boot/common/bootinfo.c printf("ram[%d]: base=%lx size=%x type=%s\n", i, printf 77 bsp/boot/common/bootinfo.c printf("bootdisk: base=%lx size=%x\n", printf 81 bsp/boot/common/bootinfo.c printf("entry phys size text data textsz datasz bsssz module\n"); printf 82 bsp/boot/common/bootinfo.c printf("-------- -------- -------- -------- -------- -------- -------- -------- ------\n"); printf 42 bsp/boot/include/boot.h #define DPRINTF(a) printf a printf 48 bsp/boot/include/boot.h #define ELFDBG(a) printf a printf 60 bsp/boot/include/boot.h void printf(const char *, ...); printf 42 bsp/drv/arm/gba/lcd.c #define DPRINTF(a) printf a printf 41 bsp/drv/dev/base/init.c #define DPRINTF(a) printf a printf 131 bsp/drv/dev/base/init.c printf("Driver table:\n"); printf 132 bsp/drv/dev/base/init.c printf(" probe init unload devops flags name\n"); printf 133 bsp/drv/dev/base/init.c printf(" -------- -------- -------- -------- -------- -----------\n"); printf 137 bsp/drv/dev/base/init.c printf(" %08lx %08lx %08lx %08lx %08lx %s\n", printf 135 bsp/drv/dev/base/kd.c printf("%s\n", kd_errname[id]); printf 167 bsp/drv/dev/base/kd.c printf(" %10s -- %s.\n", cmd_table[i].cmd, printf 171 bsp/drv/dev/base/kd.c printf("\nuse `-?` to find out more about each command.\n"); printf 202 bsp/drv/dev/base/kd.c printf("Memory usage:\n"); printf 203 bsp/drv/dev/base/kd.c printf(" Used :%8ld KB\n", (info.total - info.free) / 1024); printf 204 bsp/drv/dev/base/kd.c printf(" Free :%8ld KB\n", info.free / 1024); printf 205 bsp/drv/dev/base/kd.c printf(" Total :%8ld KB\n", info.total / 1024); printf 206 bsp/drv/dev/base/kd.c printf(" Bootdisk :%8ld KB\n", info.bootdisk / 1024); printf 219 bsp/drv/dev/base/kd.c printf("Thread list:\n"); printf 220 bsp/drv/dev/base/kd.c printf(" thread task stat pol pri base time " printf 222 bsp/drv/dev/base/kd.c printf(" -------- ------------ ---- ---- --- ---- -------- " printf 231 bsp/drv/dev/base/kd.c printf(" %08lx %12s %s%c %s %3d %3d %8d %6d %s\n", printf 248 bsp/drv/dev/base/kd.c printf("Task list:\n"); printf 249 bsp/drv/dev/base/kd.c printf(" task name nthreads flags suscnt capability vmsize\n"); printf 250 bsp/drv/dev/base/kd.c printf(" --------- -------- -------- -------- ------ ---------- --------\n"); printf 258 bsp/drv/dev/base/kd.c printf(" %08lx%c %8s %8d %08x %6d %08x %8d\n", printf 275 bsp/drv/dev/base/kd.c printf(" virtual physical size flags\n"); printf 276 bsp/drv/dev/base/kd.c printf(" -------- -------- -------- -----\n"); printf 297 bsp/drv/dev/base/kd.c printf(" %08lx %08lx %8x %s\n", printf 311 bsp/drv/dev/base/kd.c printf("VM information:\n"); printf 320 bsp/drv/dev/base/kd.c printf("\ntask=%08lx name=%s total=%dK bytes\n", printf 337 bsp/drv/dev/base/kd.c printf("Device list:\n"); printf 338 bsp/drv/dev/base/kd.c printf(" device name flags\n"); printf 339 bsp/drv/dev/base/kd.c printf(" -------- ------------ -----\n"); printf 359 bsp/drv/dev/base/kd.c printf(" %08lx %12s %s\n", di.id, di.name, flags); printf 380 bsp/drv/dev/base/kd.c printf("Interrupt table:\n"); printf 381 bsp/drv/dev/base/kd.c printf(" vector count pending IST pri thread\n"); printf 382 bsp/drv/dev/base/kd.c printf(" ------ -------- ----------- --- --------\n"); printf 389 bsp/drv/dev/base/kd.c printf(" %4d %8d %8d %3d %08lx\n", printf 402 bsp/drv/dev/base/kd.c printf("Trap frame:\n"); printf 412 bsp/drv/dev/base/kd.c printf("Device state:\n"); printf 424 bsp/drv/dev/base/kd.c printf("usage: trace taskname\n"); printf 432 bsp/drv/dev/base/kd.c printf("Toggle trace flag: %s (%08lx)\n", argv[1], (long)task); printf 491 bsp/drv/dev/base/kd.c printf("\n%08lx: ", (long)addr); printf 495 bsp/drv/dev/base/kd.c printf("%c", *kp); printf 499 bsp/drv/dev/base/kd.c printf("%02x ", *kp); printf 503 bsp/drv/dev/base/kd.c printf("%04x ", *(u_short *)kp); printf 508 bsp/drv/dev/base/kd.c printf("%08lx ", *(u_long *)kp); printf 658 bsp/drv/dev/base/kd.c printf("\n"); printf 666 bsp/drv/dev/base/kd.c printf("\b"); printf 667 bsp/drv/dev/base/kd.c printf(" "); printf 668 bsp/drv/dev/base/kd.c printf("\b"); printf 679 bsp/drv/dev/base/kd.c printf("%c", c); printf 691 bsp/drv/dev/base/kd.c printf("\n-------------------------------\n"); printf 692 bsp/drv/dev/base/kd.c printf(" Entering debugger.\n"); printf 693 bsp/drv/dev/base/kd.c printf(" Type 'help' to list commands.\n"); printf 694 bsp/drv/dev/base/kd.c printf("-------------------------------\n"); printf 702 bsp/drv/dev/base/kd.c printf("\n[kd] "); printf 39 bsp/drv/dev/base/main.c #define DPRINTF(a) printf a printf 46 bsp/drv/dev/base/pm.c #define DPRINTF(a) printf a printf 53 bsp/drv/dev/base/tty.c #define DPRINTF(a) printf a printf 42 bsp/drv/dev/base/wscons.c #define DPRINTF(a) printf a printf 258 bsp/drv/dev/base/wscons.c printf("TTY: save %d %d\n", sc->col, sc->row); printf 263 bsp/drv/dev/base/wscons.c printf("TTY: restore %d %d\n", sc->col, sc->row); printf 54 bsp/drv/dev/block/fdd.c #define DPRINTF(a) printf a printf 667 bsp/drv/dev/block/fdd.c printf("Floppy drive not found!\n"); printf 39 bsp/drv/dev/block/ramdisk.c #define DPRINTF(a) printf a printf 146 bsp/drv/dev/block/ramdisk.c printf("ramdisk: no bootdisk found...\n"); printf 172 bsp/drv/dev/block/ramdisk.c printf("RAM disk at 0x%08x (%dK bytes)\n", printf 55 bsp/drv/dev/cpufreq/cpufreq.c #define DPRINTF(a) printf a printf 65 bsp/drv/dev/cpufreq/est.c #define DPRINTF(a) printf a printf 588 bsp/drv/dev/cpufreq/est.c printf("Enhanced SpeedStep %d MHz (%d mV)\n", curfreq, curvolts); printf 589 bsp/drv/dev/cpufreq/est.c printf("Speeds: "); printf 591 bsp/drv/dev/cpufreq/est.c printf("%d%s", est_fqlist->table[i].mhz, printf 84 bsp/drv/dev/dma/i8237.c #define DPRINTF(a) printf a printf 51 bsp/drv/dev/input/psaux.c #define DPRINTF(a) printf a printf 130 bsp/drv/dev/input/psaux.c printf("kmc_write_aux: error val=%x\n", val); printf 207 bsp/drv/dev/input/psaux.c printf("Mouse sampling rate=100 samples/sec\n"); printf 135 bsp/drv/dev/rtc/mc146818.c printf("rtc: system time was %d/%d/%d %d:%d:%d\n", printf 75 bsp/drv/dev/rtc/pl030.c printf("******* sec=%d\n", tv->tv_sec); printf 41 bsp/drv/dev/serial/ns16550.c #define DPRINTF(a) printf a printf 41 bsp/drv/dev/serial/pl011.c #define DPRINTF(a) printf a printf 43 bsp/drv/dev/serial/serial.c #define DPRINTF(a) printf a printf 42 bsp/drv/dev/video/vga.c #define DPRINTF(a) printf a printf 151 bsp/drv/include/dki.h void printf(const char *, ...); printf 48 bsp/drv/lib/assert.c printf("\nAssertion failed: %s line:%d '%s'\n", file, line, exp); printf 37 bsp/drv/lib/delay.c #define DPRINTF(a) printf a printf 88 bsp/hal/arm/arch/trap.c printf("=============================\n"); printf 89 bsp/hal/arm/arch/trap.c printf("Trap %x: %s\n", (u_int)trap_no, trap_name[trap_no]); printf 91 bsp/hal/arm/arch/trap.c printf(" Fault address=%x\n", get_faultaddress()); printf 93 bsp/hal/arm/arch/trap.c printf(" Fault address=%x\n", regs->pc); printf 94 bsp/hal/arm/arch/trap.c printf("=============================\n"); printf 111 bsp/hal/arm/arch/trap.c printf("Trap frame %x\n", r); printf 112 bsp/hal/arm/arch/trap.c printf(" r0 %08x r1 %08x r2 %08x r3 %08x r4 %08x r5 %08x\n", printf 114 bsp/hal/arm/arch/trap.c printf(" r6 %08x r7 %08x r8 %08x r9 %08x r10 %08x r11 %08x\n", printf 116 bsp/hal/arm/arch/trap.c printf(" r12 %08x sp %08x lr %08x pc %08x cpsr %08x\n", printf 119 bsp/hal/arm/arch/trap.c printf(" >> interrupt is %s\n", printf 122 bsp/hal/arm/arch/trap.c printf(" >> task=%s\n", curtask->name); printf 103 bsp/hal/ppc/arch/trap.c printf("============================\n"); printf 104 bsp/hal/ppc/arch/trap.c printf("Trap %x: %s\n", trap_no, trap_name[trap_no]); printf 105 bsp/hal/ppc/arch/trap.c printf("============================\n"); printf 122 bsp/hal/ppc/arch/trap.c printf("Trap frame %x\n", r); printf 123 bsp/hal/ppc/arch/trap.c printf(" r0 %08x r1 %08x r2 %08x r3 %08x r4 %08x r5 %08x\n", printf 125 bsp/hal/ppc/arch/trap.c printf(" r6 %08x r7 %08x r8 %08x r9 %08x r10 %08x r11 %08x\n", printf 127 bsp/hal/ppc/arch/trap.c printf(" r12 %08x r13 %08x r14 %08x r15 %08x r16 %08x r17 %08x\n", printf 129 bsp/hal/ppc/arch/trap.c printf(" r18 %08x r19 %08x r20 %08x r21 %08x r22 %08x r23 %08x\n", printf 131 bsp/hal/ppc/arch/trap.c printf(" r24 %08x r25 %08x r26 %08x r27 %08x r28 %08x r29 %08x\n", printf 133 bsp/hal/ppc/arch/trap.c printf(" r30 %08x r31 %08x lr %08x cr %08x xer %08x ctr %08x\n", printf 135 bsp/hal/ppc/arch/trap.c printf(" srr0 %08x srr1 %08x\n", r->srr0, r->srr1); printf 137 bsp/hal/ppc/arch/trap.c printf(" >> interrupt is %s\n", printf 140 bsp/hal/ppc/arch/trap.c printf(" >> task=%s\n", curtask->name); printf 129 bsp/hal/x86/arch/trap.c printf("============================\n"); printf 130 bsp/hal/x86/arch/trap.c printf("Trap %x: %s\n", (u_int)trap_no, trap_name[trap_no]); printf 132 bsp/hal/x86/arch/trap.c printf(" Fault address=%x\n", get_cr2()); printf 133 bsp/hal/x86/arch/trap.c printf("============================\n"); printf 136 bsp/hal/x86/arch/trap.c printf("Trap in kernel!\n"); printf 168 bsp/hal/x86/arch/trap.c printf("Trap frame %08lx error %x\n", (long)r, r->err_code); printf 169 bsp/hal/x86/arch/trap.c printf(" eax %08x ebx %08x ecx %08x edx %08x esi %08x edi %08x\n", printf 171 bsp/hal/x86/arch/trap.c printf(" eip %08x esp %08x ebp %08x eflags %08x\n", printf 173 bsp/hal/x86/arch/trap.c printf(" cs %08x ss %08x ds %08x es %08x esp0 %08x\n", printf 176 bsp/hal/x86/arch/trap.c printf(" >> interrupt is %s\n", (spl == 0) ? "enabled" : "disabled"); printf 178 bsp/hal/x86/arch/trap.c printf(" >> task=%s\n", curtask->name); printf 181 bsp/hal/x86/arch/trap.c printf("Stack trace:\n"); printf 189 bsp/hal/x86/arch/trap.c printf(" %08x\n", *(fp + 1)); printf 45 sys/include/debug.h #define DPRINTF(a) printf a printf 56 sys/include/debug.h void printf(const char *, ...); printf 98 sys/kern/debug.c printf("Assertion failed: %s line:%d '%s'\n", file, line, exp); printf 111 sys/kern/debug.c printf("Kernel panic: %s\n", msg); printf 110 sys/kern/device.c /* 35 */ DKIENT(printf), printf 185 sys/kern/sysent.c printf("%s: OUT OF RANGE (%d)\n", printf 192 sys/kern/sysent.c printf("%s: %s(", curtask->name, callp->sy_name); printf 195 sys/kern/sysent.c printf(")\n"); printf 198 sys/kern/sysent.c printf("0x%08x)\n", a1); printf 201 sys/kern/sysent.c printf("0x%08x, 0x%08x)\n", a1, a2); printf 204 sys/kern/sysent.c printf("0x%08x, 0x%08x, 0x%08x)\n", printf 208 sys/kern/sysent.c printf("0x%08x, 0x%08x, 0x%08x, 0x%08x)\n", printf 232 sys/kern/sysent.c printf("%s: !!! %s() = 0x%08x\n", printf 166 sys/kern/system.c printf("%s", buf); printf 215 sys/kern/system.c printf("User panic: %s\n", str); printf 216 sys/kern/system.c printf(" task=%s thread=%lx\n", curtask->name, (long)curthread); printf 40 usr/bin/clear/clear.c printf("\33[2J"); printf 52 usr/bin/date/date.c printf("%s\n", buf); printf 52 usr/bin/echo/echo.c (void)printf("%s", *argv); printf 49 usr/bin/free/free.c printf(" total used free bootdisk\n"); printf 50 usr/bin/free/free.c printf("Mem: %10d %10d %10d %10d\n", (u_int)info.total, printf 85 usr/bin/head/head.c (void)printf("%s==> %s <==\n", printf 49 usr/bin/hostname/hostname.c printf("%s\n", hostname); printf 74 usr/bin/kill/kill.c printf("%s\n", sys_signame[numsig]); printf 206 usr/bin/ls/ls.c printf("------"); printf 209 usr/bin/ls/ls.c printf(" 1 "); printf 212 usr/bin/ls/ls.c printf("prex "); printf 215 usr/bin/ls/ls.c printf("%s 12:00 ", __DATE__); printf 218 usr/bin/ls/ls.c printf("%7d ", (int)sp->st_size); printf 222 usr/bin/ls/ls.c printf("\033[%dm", color); printf 223 usr/bin/ls/ls.c printf("%s", name); printf 231 usr/bin/ls/ls.c printf("\033[0m"); printf 238 usr/bin/ls/ls.c printf("\n"); printf 297 usr/bin/ls/ls.c printf("total %d\n", nr_file); printf 91 usr/bin/more/more.c len = printf("\n--More-- "); printf 95 usr/bin/more/more.c printf("\033[1A"); /* up cursor */ printf 68 usr/bin/printenv/printenv.c (void)printf("%s\n", *ep); printf 76 usr/bin/printenv/printenv.c (void)printf("%s\n", *cp ? cp + 1 : cp); printf 110 usr/bin/ps/ps.c printf(" PID PPID PRI STAT POL TIME WCHAN CMD\n"); printf 112 usr/bin/ps/ps.c printf(" PID TIME CMD\n"); printf 130 usr/bin/ps/ps.c printf(" - -"); /* kernel */ printf 132 usr/bin/ps/ps.c printf("%5d %5d", pi.pid, pi.ppid); printf 134 usr/bin/ps/ps.c printf(" %3d %s %s %8d " printf 143 usr/bin/ps/ps.c printf(" -"); /* kernel */ printf 145 usr/bin/ps/ps.c printf("%5d", pi.pid); printf 147 usr/bin/ps/ps.c printf(" %8d %-11s\n", ti.time, ti.taskname); printf 123 usr/bin/sh/cmds.c printf("mem = %d\n", (u_int)info.total); printf 175 usr/bin/sh/var.c printf("%s=%s\n", var->name, var->val); printf 101 usr/bin/uname/uname.c printf("%s ", uts.sysname); printf 104 usr/bin/uname/uname.c printf("%s ", uts.release); printf 107 usr/bin/uname/uname.c printf("%s ", uts.version); printf 110 usr/bin/uname/uname.c printf("%s ", uts.machine); printf 113 usr/bin/uname/uname.c printf("%s", uts.nodename); printf 211 usr/include/stdio.h int printf(const char *, ...); printf 586 usr/lib/libc/gen/fts.c (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink); printf 587 usr/lib/libc/gen/fts.c (void)printf("NOSTAT %d PHYSICAL %d SEEDOT %d\n", printf 174 usr/lib/prex/malloc/malloc.c printf("mstat: task=%x\n", task_self()); printf 176 usr/lib/prex/malloc/malloc.c printf("mstat: addr=%x size=%d next=%x\n", p, p->size, p->next); printf 72 usr/sample/alarm/alarm.c printf("End...\n"); printf 77 usr/sample/alarm/alarm.c printf("Ring! count=%ld time=%d msec\n", count, printf 89 usr/sample/alarm/alarm.c printf("Alarm sample program\n"); printf 105 usr/sample/alarm/alarm.c printf("Start alarm timer\n"); printf 114 usr/sample/alarm/alarm.c printf("Test completed...\n"); printf 84 usr/sample/balls/balls.c printf("\33[%d;%dH ", old_y / 10, old_x / 10); printf 87 usr/sample/balls/balls.c printf("\33[%d;%dH*", y / 10, x / 10); printf 128 usr/sample/balls/balls.c printf("\33[2J"); printf 65 usr/sample/bench/bench.c printf("Benchmark to create/terminate %d threads\n", NR_THREADS); printf 106 usr/sample/bench/bench.c printf("Complete. The score is %d msec (%d ticks).\n", printf 55 usr/sample/cpumon/cpumon.c printf("\33[2J"); printf 57 usr/sample/cpumon/cpumon.c printf("CPU voltage monitor\n"); printf 73 usr/sample/cpumon/cpumon.c printf("\33[s"); /* save cursor */ printf 78 usr/sample/cpumon/cpumon.c printf("\nSpeed: %4dMHz 0|", cf_info.freq); printf 83 usr/sample/cpumon/cpumon.c printf("%s|100", bar); printf 88 usr/sample/cpumon/cpumon.c printf("\nPower: %4dmV 0|", cf_info.volts); printf 93 usr/sample/cpumon/cpumon.c printf("%s|100", bar); printf 95 usr/sample/cpumon/cpumon.c printf("\33[u"); /* restore cursor */ printf 36 usr/sample/hello/hello.c printf("Hello, world!\n"); printf 88 usr/sample/ipc/ipc.c printf("client: Received \"%s\"\n", msg.str); printf 101 usr/sample/ipc/ipc.c printf("Client is started\n"); printf 121 usr/sample/ipc/ipc.c printf("Exit client task...\n"); printf 133 usr/sample/ipc/ipc.c printf("IPC sample program\n"); printf 166 usr/sample/ipc/ipc.c printf("server: Received \"%s\"\n", msg.str); printf 183 usr/sample/ipc/ipc.c printf("End...\n"); printf 72 usr/sample/mutex/mutex.c printf("th_1: pri=%d\n", pri); printf 75 usr/sample/mutex/mutex.c printf("th_2: pri=%d\n", pri); printf 78 usr/sample/mutex/mutex.c printf("th_3: pri=%d\n", pri); printf 101 usr/sample/mutex/mutex.c printf("thread_1: starting\n"); printf 110 usr/sample/mutex/mutex.c printf("thread_1: 4) lock B\n"); printf 113 usr/sample/mutex/mutex.c printf("thread_1: running\n"); printf 119 usr/sample/mutex/mutex.c printf("thread_1: 7) unlock B\n"); printf 123 usr/sample/mutex/mutex.c printf("thread_1: exit\n"); printf 133 usr/sample/mutex/mutex.c printf("thread_2: starting\n"); printf 138 usr/sample/mutex/mutex.c printf("thread_2: 2) lock B\n"); printf 148 usr/sample/mutex/mutex.c printf("thread_2: 3) lock A\n"); printf 151 usr/sample/mutex/mutex.c printf("thread_2: running\n"); printf 157 usr/sample/mutex/mutex.c printf("thread_2: 6) unlock B\n"); printf 165 usr/sample/mutex/mutex.c printf("thread_2: 8) unlock A\n"); printf 168 usr/sample/mutex/mutex.c printf("thread_2: exit\n"); printf 179 usr/sample/mutex/mutex.c printf("thread_3: start\n"); printf 184 usr/sample/mutex/mutex.c printf("thread_3: 1) lock A\n"); printf 196 usr/sample/mutex/mutex.c printf("thread_3: running-1\n"); printf 203 usr/sample/mutex/mutex.c printf("thread_3: running-2\n"); printf 209 usr/sample/mutex/mutex.c printf("thread_3: 5) unlock A\n"); printf 213 usr/sample/mutex/mutex.c printf("thread_3: exit\n"); printf 220 usr/sample/mutex/mutex.c printf("Mutex sample program\n"); printf 66 usr/sample/sem/sem.c printf("Start thread=%x\n", (u_int)t); printf 77 usr/sample/sem/sem.c printf("Running thread=%x\n", (u_int)t); printf 85 usr/sample/sem/sem.c printf("End thread=%x\n", (u_int)t); printf 95 usr/sample/sem/sem.c printf("Semaphore sample program\n"); printf 78 usr/sample/task/task.c printf("Task %x: Hey, Yo!\n", (u_int)self); printf 88 usr/sample/task/task.c printf("Task %x: Bye!\n", (u_int)self); printf 97 usr/sample/task/task.c printf("Task sample program\n"); printf 64 usr/sample/tetris/screen.c #define putstr(s) printf("%s", s) printf 65 usr/sample/tetris/screen.c #define moveto(r, c) printf("\33[%d;%dH", r, c) printf 138 usr/sample/tetris/screen.c printf("\33[2J"); printf 164 usr/sample/tetris/screen.c printf("%d", score); printf 274 usr/sample/tetris/tetris.c (void)printf("Your score: %d point%s x level %d = %d\n", printf 132 usr/sample/thread/thread.c printf("Thread sample program\n"); printf 158 usr/sample/thread/thread.c printf("test - OK!\n"); printf 71 usr/sbin/lock/lock.c printf("Passcode is not set.\n"); printf 76 usr/sbin/lock/lock.c printf("Invalid passcode is set.\n"); printf 87 usr/sbin/lock/lock.c printf("Mismatch.\n"); printf 100 usr/sbin/lock/lock.c printf("\33[2J"); /* clear screen */ printf 101 usr/sbin/lock/lock.c printf("Device is locked.\n"); printf 131 usr/sbin/lock/lock.c printf("Passcode unchanged.\n"); printf 136 usr/sbin/lock/lock.c printf("Please enter 4 digit number for passcode.\n"); printf 142 usr/sbin/lock/lock.c printf("Mismatch; try again, EOF to quit.\n"); printf 111 usr/sbin/pmctrl/pmctrl.c printf("Do you want to %s the system now? (y/n) ", action); printf 126 usr/sbin/pmctrl/pmctrl.c printf("Shutdown system...\n"); printf 141 usr/sbin/pmctrl/pmctrl.c printf("Reboot system...\n"); printf 156 usr/sbin/pmctrl/pmctrl.c printf("Suspend system...\n"); printf 174 usr/sbin/pmctrl/pmctrl.c printf("Power policy : %s mode\n", printf 180 usr/sbin/pmctrl/pmctrl.c printf("Suspend timeout: %d sec\n", timeout); printf 185 usr/sbin/pmctrl/pmctrl.c printf("Dim timeout : %d sec\n", timeout); printf 46 usr/test/args/args.c printf("argument test\n"); printf 51 usr/test/args/args.c printf("argc=%d argv=%x\n", argc, (unsigned int)argv); printf 52 usr/test/args/args.c printf("Dump args:\n"); printf 55 usr/test/args/args.c printf("argv[%d]: %s\n", i, argv[i]); printf 57 usr/test/args/args.c printf("Dump envs:\n"); printf 60 usr/test/args/args.c printf("envp[%d]: %s\n", i, envp[i]); printf 105 usr/test/attack/attack.c printf("starting invalid parameter attack.\n"); printf 110 usr/test/attack/attack.c printf("test complete\n"); printf 43 usr/test/conf/conf.c printf("configuration test\n"); printf 47 usr/test/conf/conf.c printf("no mem\n"); printf 51 usr/test/conf/conf.c printf("_CS_PATH=%s\n", pathbuf); printf 58 usr/test/cpufreq/cpufreq.c printf("\rCPU Busy:"); printf 69 usr/test/cpufreq/cpufreq.c printf("%s", bar); printf 75 usr/test/cpufreq/cpufreq.c printf("\rCPU Idle "); printf 88 usr/test/cpufreq/cpufreq.c printf("\rCPU half speed:"); printf 96 usr/test/cpufreq/cpufreq.c printf("%s", bar); printf 116 usr/test/cpufreq/cpufreq.c printf("cpufreq test program\n"); printf 82 usr/test/deadlock/deadlock.c printf("thread_1: starting\n"); printf 87 usr/test/deadlock/deadlock.c printf("thread_1: 2) lock B\n"); printf 89 usr/test/deadlock/deadlock.c if (error) printf("error=%d\n", error); printf 96 usr/test/deadlock/deadlock.c printf("thread_1: 3) lock A\n"); printf 98 usr/test/deadlock/deadlock.c if (error) printf("error=%d\n", error); printf 100 usr/test/deadlock/deadlock.c printf("thread_1: exit\n"); printf 112 usr/test/deadlock/deadlock.c printf("thread_2: starting\n"); printf 117 usr/test/deadlock/deadlock.c printf("thread_2: 1) lock A\n"); printf 119 usr/test/deadlock/deadlock.c if (error) printf("error=%d\n", error); printf 126 usr/test/deadlock/deadlock.c printf("thread_2: running\n"); printf 132 usr/test/deadlock/deadlock.c printf("thread_2: 4) lock B\n"); printf 134 usr/test/deadlock/deadlock.c if (error) printf("error=%d\n", error); printf 136 usr/test/deadlock/deadlock.c printf("**** DEADLOCK!! ****\n"); printf 138 usr/test/deadlock/deadlock.c printf("thread_2: exit\n"); printf 145 usr/test/deadlock/deadlock.c printf("Deadlock test program\n"); printf 61 usr/test/dup/dup.c printf("1..17\n"); printf 66 usr/test/dup/dup.c printf("ok %d - dup(2) works\n", ++test); printf 75 usr/test/dup/dup.c printf("ok %d - dup2(2) works\n", ++test); printf 80 usr/test/dup/dup.c printf("no ok %d - dup2(2) didn't give us the right fd\n", printf 83 usr/test/dup/dup.c printf("ok %d - dup2(2) returned a correct fd\n", test); printf 89 usr/test/dup/dup.c printf("not ok %d - dup2(2) didn't clear close-on-exec\n", printf 92 usr/test/dup/dup.c printf("ok %d - dup2(2) cleared close-on-exec\n", test); printf 123 usr/test/dup/dup.c printf("ok %d - dup2(2) to itself works\n", ++test); printf 128 usr/test/dup/dup.c printf("not ok %d - dup2(2) didn't give us the right fd\n", printf 131 usr/test/dup/dup.c printf("ok %d - dup2(2) to itself returned a correct fd\n", printf 138 usr/test/dup/dup.c printf("not ok %d - dup2(2) cleared close-on-exec\n", test); printf 140 usr/test/dup/dup.c printf("ok %d - dup2(2) didn't clear close-on-exec\n", test); printf 146 usr/test/dup/dup.c printf("ok %d - fcntl(F_DUPFD) works\n", ++test); printf 152 usr/test/dup/dup.c printf( printf 156 usr/test/dup/dup.c printf("ok %d - fcntl(F_DUPFD) cleared close-on-exec\n", test); printf 163 usr/test/dup/dup.c printf("not ok %d - dup2(2) bypassed NOFILE limit\n", test); printf 165 usr/test/dup/dup.c printf("ok %d - dup2(2) didn't bypass NOFILE limit\n", test); printf 43 usr/test/environ/environ.c printf("oops!\n"); printf 54 usr/test/environ/environ.c printf("envp[%d]: %s\n", i, envp[i]); printf 63 usr/test/environ/environ.c printf("test environment variables\n"); printf 66 usr/test/environ/environ.c printf("show env\n"); printf 70 usr/test/environ/environ.c printf("setenv-1\n"); printf 75 usr/test/environ/environ.c printf("setenv-2\n"); printf 80 usr/test/environ/environ.c printf("setenv-3\n"); printf 85 usr/test/environ/environ.c printf("setenv-4\n"); printf 90 usr/test/environ/environ.c printf("getenv-1\n"); printf 96 usr/test/environ/environ.c printf("getenv-2\n"); printf 100 usr/test/environ/environ.c printf("PATH=%s\n", val); printf 103 usr/test/environ/environ.c printf("putenv-1\n"); printf 107 usr/test/environ/environ.c printf("putenv-2\n"); printf 44 usr/test/errno/errno.c printf("Dump errno\n"); printf 46 usr/test/errno/errno.c printf("error #%d:%s\n", i, strerror(i)); printf 40 usr/test/exception/exception.c printf("Get exception code=%x\n", code); printf 53 usr/test/exception/exception.c printf("Exception test program\n"); printf 75 usr/test/exception/exception.c printf("OK\n"); printf 43 usr/test/fault/fault.c printf("Fault test program is staring...\n"); printf 44 usr/test/fault/fault.c printf("Waiting for key input.\n"); printf 48 usr/test/fault/fault.c printf("Key pressed!\n"); printf 49 usr/test/fault/fault.c printf("Try to read from NULL pointer\n"); printf 48 usr/test/fdd/fdd.c printf("open fd0\n"); printf 51 usr/test/fdd/fdd.c printf("open failed\n"); printf 54 usr/test/fdd/fdd.c printf("opened\n"); printf 56 usr/test/fdd/fdd.c printf("fdd read: sector=%d buf=%x\n", sector, (u_int)disk_buf); printf 60 usr/test/fdd/fdd.c printf("read failed\n"); printf 64 usr/test/fdd/fdd.c printf("read comp: sector=%d buf=%x\n", sector, (u_int)disk_buf); printf 68 usr/test/fdd/fdd.c printf("%02x ", disk_buf[i * 16 + j]); printf 69 usr/test/fdd/fdd.c printf(" "); printf 78 usr/test/fdd/fdd.c printf("\n"); printf 80 usr/test/fdd/fdd.c printf("\n"); printf 83 usr/test/fdd/fdd.c printf("close failed\n"); printf 96 usr/test/fdd/fdd.c printf("open fd0\n"); printf 99 usr/test/fdd/fdd.c printf("open failed\n"); printf 102 usr/test/fdd/fdd.c printf("opened\n"); printf 107 usr/test/fdd/fdd.c printf("read failed\n"); printf 111 usr/test/fdd/fdd.c printf("read comp sector=%d\n", sector); printf 116 usr/test/fdd/fdd.c printf("write failed\n"); printf 120 usr/test/fdd/fdd.c printf("write comp sector=%d\n", sector); printf 124 usr/test/fdd/fdd.c printf("close failed\n"); printf 50 usr/test/fifo/fifo.c printf("FIFO test program\n"); printf 63 usr/test/fifo/fifo.c printf("child: task=%x\n", (int)task_self()); printf 71 usr/test/fifo/fifo.c printf("child: reading data from FIFO\n"); printf 76 usr/test/fifo/fifo.c printf("child: length=%d data=%s\n", len, buf1); printf 79 usr/test/fifo/fifo.c printf("child: exit\n"); printf 82 usr/test/fifo/fifo.c printf("parent: task=%x\n", (int)task_self()); printf 90 usr/test/fifo/fifo.c printf("parent: please input string...\n"); printf 94 usr/test/fifo/fifo.c printf("parent: writing to FIFO\n"); printf 98 usr/test/fifo/fifo.c printf("parent: exit\n"); printf 46 usr/test/fork/fork.c printf("Test fork\n"); printf 60 usr/test/fork/fork.c printf("Done.\n"); printf 74 usr/test/ipc/ipc.c printf("Send thread is starting...\n"); printf 90 usr/test/ipc/ipc.c printf("Delete object A\n"); printf 101 usr/test/ipc/ipc.c printf("Send message to object B.\n"); printf 104 usr/test/ipc/ipc.c printf("Send completed.\n"); printf 115 usr/test/ipc/ipc.c printf("IPC test program\n"); printf 151 usr/test/ipc/ipc.c printf("Wait message from object A\n"); printf 154 usr/test/ipc/ipc.c printf("Receive error!\n"); printf 156 usr/test/ipc/ipc.c printf("Rreceive ok!\n"); printf 163 usr/test/ipc/ipc.c printf("Wait message from object B\n"); printf 166 usr/test/ipc/ipc.c printf("Receive error!\n"); printf 168 usr/test/ipc/ipc.c printf("Receive ok!\n"); printf 172 usr/test/ipc/ipc.c printf("Test completed...\n"); printf 77 usr/test/ipc_mt/ipc_mt.c printf("Receiver thread is starting...\n"); printf 90 usr/test/ipc_mt/ipc_mt.c printf("Wait message.\n"); printf 93 usr/test/ipc_mt/ipc_mt.c printf("Message received.\n"); printf 99 usr/test/ipc_mt/ipc_mt.c printf("Reply message.\n"); printf 112 usr/test/ipc_mt/ipc_mt.c printf("IPC test for multi threads\n"); printf 129 usr/test/ipc_mt/ipc_mt.c printf("ok?\n"); printf 75 usr/test/kmon/cmd.c printf("%s - %s\n", cmd_table[i].cmd, cmd_table[i].usage); printf 87 usr/test/kmon/cmd.c printf("Kernel version:\n"); printf 88 usr/test/kmon/cmd.c printf("%s version %s for %s\n", printf 99 usr/test/kmon/cmd.c printf("Memory usage:\n"); printf 100 usr/test/kmon/cmd.c printf(" Used : %8d KB\n", printf 102 usr/test/kmon/cmd.c printf(" Free : %8d KB\n", (u_int)(info.free / 1024)); printf 103 usr/test/kmon/cmd.c printf(" Total : %8d KB\n", (u_int)(info.total / 1024)); printf 104 usr/test/kmon/cmd.c printf(" Bootdisk : %8d KB\n", (u_int)(info.bootdisk / 1024)); printf 111 usr/test/kmon/cmd.c printf("\33[2J"); printf 125 usr/test/kmon/cmd.c printf("Kill thread id:%x\n", (u_int)t); printf 128 usr/test/kmon/cmd.c printf("Thread %x does not exist\n", (u_int)t); printf 142 usr/test/kmon/cmd.c printf("Error %d\n", error); printf 156 usr/test/kmon/cmd.c printf("Error %d\n", error); printf 172 usr/test/kmon/cmd.c printf("%s: command not found\n", argv[0]); printf 70 usr/test/kmon/kmon.c printf("Too many args\n"); printf 111 usr/test/kmon/kmon.c printf("Prex kernel monitor - type 'help' to list commands\n"); printf 114 usr/test/kmon/kmon.c printf("[kmon]$ "); printf 47 usr/test/malloc/malloc.c printf("Allocate %d bytes - ", buflen); printf 51 usr/test/malloc/malloc.c printf("Error: malloc() returns NULL!\n"); printf 60 usr/test/malloc/malloc.c printf("OK!\n"); printf 69 usr/test/malloc/malloc.c printf("test_1 - start\n"); printf 84 usr/test/malloc/malloc.c printf("test_1 - done\n"); printf 92 usr/test/malloc/malloc.c printf("test_2 - start\n"); printf 118 usr/test/malloc/malloc.c printf("test_2 - done\n"); printf 126 usr/test/malloc/malloc.c printf("test_3 - start\n"); printf 131 usr/test/malloc/malloc.c printf("test_3 - try to free invalid area...\n"); printf 134 usr/test/malloc/malloc.c printf("test_3 - done!?\n"); printf 140 usr/test/malloc/malloc.c printf("Malloc test program.\n"); printf 49 usr/test/memleak/memleak.c printf("memory leak test\n"); printf 53 usr/test/memleak/memleak.c printf("memleak: malloc %d bytes\n", size); printf 56 usr/test/memleak/memleak.c printf("memleak: malloc failed\n"); printf 65 usr/test/memleak/memleak.c printf("memleak: object create name=%s\n", str); printf 68 usr/test/memleak/memleak.c printf("memleak: object create failed\n"); printf 45 usr/test/mutex/mutex.c printf("Mutex test program\n"); printf 56 usr/test/mutex/mutex.c printf("1) Lock mutex A: error=%d\n", error); printf 59 usr/test/mutex/mutex.c printf("2) Lock mutex B: error=%d\n", error); printf 63 usr/test/mutex/mutex.c printf("3e) Lock mutex C: error=%d\n", error); printf 69 usr/test/mutex/mutex.c printf("4) Unlock mutex A: error=%d\n", error); printf 72 usr/test/mutex/mutex.c printf("5) Unlock mutex B: error=%d\n", error); printf 76 usr/test/mutex/mutex.c printf("6e) Unlock mutex B: error=%d\n", error); printf 80 usr/test/mutex/mutex.c printf("7e) Unlock mutex B: error=%d\n", error); printf 89 usr/test/mutex/mutex.c printf("8e) Lock mutex B: error=%d\n", error); printf 95 usr/test/mutex/mutex.c printf("9) Lock mutex A: error=%d\n", error); printf 99 usr/test/mutex/mutex.c printf("10e) Lock mutex A: error=%d\n", error); printf 102 usr/test/mutex/mutex.c printf("11) Unlock mutex A: error=%d\n", error); printf 104 usr/test/mutex/mutex.c printf("Test completed...\n"); printf 46 usr/test/object/object.c printf("test for object security\n"); printf 77 usr/test/object/object.c printf("test ok\n"); printf 51 usr/test/pipe/pipe.c printf("pipe test program\n"); printf 59 usr/test/pipe/pipe.c printf("str=%s\n", buf); printf 69 usr/test/pipe/pipe.c printf("pipe test program\n"); printf 84 usr/test/pipe/pipe.c printf("str=%s\n", buf); printf 50 usr/test/ramdisk/ramdisk.c printf("open ram0\n"); printf 53 usr/test/ramdisk/ramdisk.c printf("open failed\n"); printf 56 usr/test/ramdisk/ramdisk.c printf("opened\n"); printf 58 usr/test/ramdisk/ramdisk.c printf("ramdisk read: sector=%d buf=%x\n", sector, (u_int)disk_buf); printf 62 usr/test/ramdisk/ramdisk.c printf("read failed\n"); printf 66 usr/test/ramdisk/ramdisk.c printf("read comp: sector=%d buf=%x\n", sector, (u_int)disk_buf); printf 70 usr/test/ramdisk/ramdisk.c printf("%02x ", disk_buf[i * 16 + j]); printf 71 usr/test/ramdisk/ramdisk.c printf(" "); printf 80 usr/test/ramdisk/ramdisk.c printf("\n"); printf 82 usr/test/ramdisk/ramdisk.c printf("\n"); printf 85 usr/test/ramdisk/ramdisk.c printf("close failed\n"); printf 98 usr/test/ramdisk/ramdisk.c printf("open ram0\n"); printf 101 usr/test/ramdisk/ramdisk.c printf("open failed\n"); printf 104 usr/test/ramdisk/ramdisk.c printf("opened\n"); printf 109 usr/test/ramdisk/ramdisk.c printf("read failed\n"); printf 113 usr/test/ramdisk/ramdisk.c printf("read comp sector=%d\n", sector); printf 120 usr/test/ramdisk/ramdisk.c printf("write failed\n"); printf 124 usr/test/ramdisk/ramdisk.c printf("write comp sector=%d\n", sector); printf 128 usr/test/ramdisk/ramdisk.c printf("close failed\n"); printf 46 usr/test/reset/reset.c printf("Reset test program. Wait 5 sec...\n"); printf 49 usr/test/reset/reset.c printf("Reset!\n"); printf 44 usr/test/sem/sem.c printf("Semaphore test program\n"); printf 55 usr/test/sem/sem.c printf("Semaphore value=%d\n", val); printf 57 usr/test/sem/sem.c printf("1) Wait semahore\n"); printf 63 usr/test/sem/sem.c printf("Semaphore value=%d\n", val); printf 65 usr/test/sem/sem.c printf("2) Wait semahore\n"); printf 71 usr/test/sem/sem.c printf("Semaphore value=%d\n", val); printf 73 usr/test/sem/sem.c printf("3) Wait semahore\n"); printf 79 usr/test/sem/sem.c printf("Semaphore value=%d\n", val); printf 85 usr/test/sem/sem.c printf("4) Wait semahore\n"); printf 93 usr/test/sem/sem.c printf("4e) Try to wait semahore\n"); printf 95 usr/test/sem/sem.c printf("Try wait error=%d\n", error); printf 100 usr/test/sem/sem.c printf("5) Post semahore\n"); printf 105 usr/test/sem/sem.c printf("Semaphore value=%d\n", val); printf 107 usr/test/sem/sem.c printf("Test complete\n"); printf 69 usr/test/shutdown/shutdown.c printf("Do you want to shutdown the system now? (y/n) "); printf 48 usr/test/signal/signal.c printf("signal test program\n"); printf 51 usr/test/signal/signal.c printf("failed to open tty\n"); printf 55 usr/test/signal/signal.c printf("tcsetpgrp=%x\n", pgrp); printf 71 usr/test/signal/signal.c printf("Got signal: %d\n", sig); printf 43 usr/test/stack/stack.c printf("%d %x\n", num, (unsigned int)&num); printf 52 usr/test/stack/stack.c printf("starting stack overflow test.\n"); printf 56 usr/test/stack/stack.c printf("test complete\n"); printf 45 usr/test/task/task.c printf("New thread %x is started\n", (u_int)thread_self()); printf 49 usr/test/task/task.c printf("@"); printf 60 usr/test/task/task.c printf("Task test program\n"); printf 77 usr/test/task/task.c printf("task_create failed. error=%d\n", error); printf 86 usr/test/task/task.c printf("thread_create: error=%d\n", error); printf 88 usr/test/task/task.c printf("thread_load: error=%d\n", error); printf 100 usr/test/task/task.c printf("\nSuspend test task.\n"); printf 108 usr/test/task/task.c printf("Sleep\n"); printf 111 usr/test/task/task.c printf("\nResume test task.\n"); printf 121 usr/test/task/task.c printf("\nResume task, again.\n"); printf 124 usr/test/task/task.c printf("Error - OK!\n"); printf 128 usr/test/task/task.c printf("\nTerminate task.\n"); printf 131 usr/test/task/task.c printf("\nTest OK!\n"); printf 60 usr/test/thread/thread.c printf("test thread is starting...\n"); printf 71 usr/test/thread/thread.c printf("Thread test program\n"); printf 78 usr/test/thread/thread.c printf("Start test thread\n"); printf 89 usr/test/thread/thread.c printf("\nSuspend test thread\n"); printf 100 usr/test/thread/thread.c printf("\nResume test thread\n"); printf 47 usr/test/time/time.c printf("error to open rtc device!\n"); printf 53 usr/test/time/time.c printf("error in reading from rtc device\n"); printf 67 usr/test/time/time.c printf("Time test program\n"); printf 76 usr/test/time/time.c printf("Current time: %lu:%lu:%lu\n", hour, min, sec); printf 40 usr/test/timer/timer.c printf("Timer Test program\n"); printf 42 usr/test/timer/timer.c printf("Sleep 5000 msec...\n"); printf 44 usr/test/timer/timer.c printf("Wake!\n"); printf 46 usr/test/timer/timer.c printf("Kick periodic timer start=5000 msec, period=2000msec\n"); printf 49 usr/test/timer/timer.c printf("Wait timer\n"); printf 51 usr/test/timer/timer.c printf("Wake!\n"); printf 57 usr/test/zero/zero.c printf("zero test\n"); printf 66 usr/test/zero/zero.c printf("device open error!\n"); printf 72 usr/test/zero/zero.c printf("device read error!\n");