Home
last modified time | relevance | path

Searched refs:PRINTK (Results 1 – 25 of 161) sorted by relevance

1234567

/kernel/liteos_a/shell/full/src/cmds/
Ddate_shellcmd.c84 PRINTK("date: invalid option or parameter.\n"); in OsCmdUsageDate()
85 PRINTK("Try 'date --help' for more information.\n"); in OsCmdUsageDate()
88 PRINTK("\nUsage: date [+FORMAT]\n"); in OsCmdUsageDate()
89 PRINTK(" or: date [-s] [YY/MM/DD] [hh:mm:ss]\n"); in OsCmdUsageDate()
90 PRINTK("Display the current time in the given FORMAT, or set the system date.\n"); in OsCmdUsageDate()
91 PRINTK("FORMAT controls the output. Interpreted sequences are:\n"); in OsCmdUsageDate()
92 PRINTK(" %%b The abbreviated month name according to the current locale.\n"); in OsCmdUsageDate()
93 PRINTK(" %%B The full month name according to the current locale.\n"); in OsCmdUsageDate()
94 PRINTK(" %%C The century number (year/100) as a 2-digit integer. (SU)\n"); in OsCmdUsageDate()
95 PRINTK(" %%d The day of the month as a decimal number (range 01 to 31).\n"); in OsCmdUsageDate()
[all …]
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
Dlos_interrupt.c218 PRINTK("----- traceback start -----\n"); in ExcBackTrace()
223 PRINTK("traceback %d -- lr = 0x%x\n", index, LR[index]); in ExcBackTrace()
225 PRINTK("----- traceback end -----\n"); in ExcBackTrace()
232 PRINTK("mepc = 0x%x\n", taskContext->mepc); in ExcInfoDisplayContext()
233 PRINTK("mstatus = 0x%x\n", taskContext->mstatus); in ExcInfoDisplayContext()
234 PRINTK("mtval = 0x%x\n", exc->context->mtval); in ExcInfoDisplayContext()
235 PRINTK("mcause = 0x%x\n", exc->context->mcause); in ExcInfoDisplayContext()
236 PRINTK("ra = 0x%x\n", taskContext->ra); in ExcInfoDisplayContext()
237 PRINTK("sp = 0x%x\n", taskContext->sp); in ExcInfoDisplayContext()
238 PRINTK("gp = 0x%x\n", exc->context->gp); in ExcInfoDisplayContext()
[all …]
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_interrupt.c167 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
168 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
169 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
170 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
175 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
178 PRINTK("Task name = %s\n", taskCB->taskName); in OsExcCurTaskInfo()
179 PRINTK("Task ID = %d\n", taskCB->taskID); in OsExcCurTaskInfo()
180 PRINTK("Task SP = 0x%x\n", taskCB->stackPointer); in OsExcCurTaskInfo()
181 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
182 PRINTK("Task SS = 0x%x\n", taskCB->stackSize); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/
Dlos_interrupt.c210 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
214 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
217 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
219 PRINTK("\n"); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
230 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
231 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
232 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
233 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
238 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/
Dlos_interrupt.c210 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
214 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
217 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
219 PRINTK("\n"); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
230 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
231 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
232 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
233 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
238 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/non_secure/
Dlos_interrupt.c210 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
214 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
217 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
219 PRINTK("\n"); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
230 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
231 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
232 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
233 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
238 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m4/gcc/
Dlos_interrupt.c209 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
213 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
216 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
218 PRINTK("\n"); in OsExcNvicDump()
221 PRINTK("\n"); in OsExcNvicDump()
229 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
230 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
231 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
232 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
237 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/
Dlos_interrupt.c210 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
214 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
217 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
219 PRINTK("\n"); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
230 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
231 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
232 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
233 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
238 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/
Dlos_interrupt.c213 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
217 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
220 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
225 PRINTK("\n"); in OsExcNvicDump()
233 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
234 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
235 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
236 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
241 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/
Dlos_interrupt.c210 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
214 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
217 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
219 PRINTK("\n"); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
230 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
231 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
232 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
233 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
238 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_interrupt.c208 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
212 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
215 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
217 PRINTK("\n"); in OsExcNvicDump()
220 PRINTK("\n"); in OsExcNvicDump()
228 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
229 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
230 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
231 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
236 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/
Dlos_interrupt.c210 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
214 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
217 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
219 PRINTK("\n"); in OsExcNvicDump()
222 PRINTK("\n"); in OsExcNvicDump()
230 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
231 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
232 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
233 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
238 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m3/keil/
Dlos_interrupt.c208 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
212 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
215 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
217 PRINTK("\n"); in OsExcNvicDump()
220 PRINTK("\n"); in OsExcNvicDump()
228 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
229 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
230 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
231 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
236 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m4/iar/
Dlos_interrupt.c209 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
213 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
216 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
218 PRINTK("\n"); in OsExcNvicDump()
221 PRINTK("\n"); in OsExcNvicDump()
229 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
230 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
231 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
232 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
237 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m7/iar/
Dlos_interrupt.c212 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
216 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
219 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
221 PRINTK("\n"); in OsExcNvicDump()
224 PRINTK("\n"); in OsExcNvicDump()
232 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
233 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
234 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
235 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
240 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/non_secure/
Dlos_interrupt.c211 PRINTK("\r\nOS exception NVIC dump:\n"); in OsExcNvicDump()
215 PRINTK("interrupt %s register, base address: %p, size: 0x%x\n", strRgs[i], base, len); in OsExcNvicDump()
218 PRINTK("0x%x ", *(base + j)); in OsExcNvicDump()
220 PRINTK("\n"); in OsExcNvicDump()
223 PRINTK("\n"); in OsExcNvicDump()
231 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
232 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
233 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
234 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
239 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_interrupt.c225 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
226 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
227 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
228 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
233 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
236 PRINTK("Task name = %s\n", taskCB->taskName); in OsExcCurTaskInfo()
237 PRINTK("Task ID = %d\n", taskCB->taskID); in OsExcCurTaskInfo()
238 PRINTK("Task SP = 0x%x\n", (UINTPTR)taskCB->stackPointer); in OsExcCurTaskInfo()
239 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
240 PRINTK("Task SS = 0x%x\n", taskCB->stackSize); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_a/kernel/base/misc/
Dmempt_shellcmd.c66 PRINTK("\n 0x%lx :", alignAddr); in OsDumpMemByte()
72 PRINTK("%0+16lx ", *alignAddr); in OsDumpMemByte()
74 PRINTK("%0+8lx ", *alignAddr); in OsDumpMemByte()
87 PRINTK("\n"); in OsDumpMemByte()
98 PRINTK("\nUsage: memcheck\n"); in OsShellCmdMemCheck()
103 PRINTK("system memcheck over, all passed!\n"); in OsShellCmdMemCheck()
120 PRINTK("\r\n text data rodata bss\n"); in OsShellCmdSectionInfo()
122PRINTK("Mem: %-9lu %-10lu %-10lu %-10lu\n", MEM_SIZE_TO_KB(textLen), MEM_SIZE_TO_KB(da… in OsShellCmdSectionInfo()
125PRINTK("Mem: %-9lu %-10lu %-10lu %-10lu\n", MEM_SIZE_TO_MB(textLen), MEM_SIZE_TO_MB(da… in OsShellCmdSectionInfo()
128PRINTK("Mem: %-9lu %-10lu %-10lu %-10lu\n", textLen, dataLen, rodataLen, bssLen); in OsShellCmdSectionInfo()
[all …]
Dvm_shellcmd.c85 PRINTK("-a, print all vm address space information\n" in OsPrintUsage()
96 PRINTK("\tThe process [%d] not valid\n", pid); in OsDoDumpVm()
104 PRINTK("\tThe process [%d] not active\n", pid); in OsDoDumpVm()
123 PRINTK("%s: invalid option: %s\n", VMM_CMD, argv[0]); in OsShellCmdDumpVm()
135 PRINTK("pid vaddr(0x1000000~0x3e000000), print physical address of virtual address\n" in V2PPrintUsage()
155 PRINTK("vaddr %s invalid. should be in range(0x1000000~0x3e000000) \n", argv[1]); in OsShellCmdV2P()
165 PRINTK("vaddr %#x is not in range or mapped\n", vaddr); in OsShellCmdV2P()
167 PRINTK("vaddr %#x is paddr %#x\n", vaddr, paddr); in OsShellCmdV2P()
170 PRINTK("\tThe process [%d] not active\n", pid); in OsShellCmdV2P()
173 PRINTK("\tThe process [%d] not valid\n", pid); in OsShellCmdV2P()
[all …]
/kernel/liteos_a/kernel/extended/cpup/
Dcpup_shellcmd.c46 PRINTK("\nSysCpuUsage in 10s: "); in OsCmdCpupOperateOneParam()
48 PRINTK("\nSysCpuUsage in 1s: "); in OsCmdCpupOperateOneParam()
50 PRINTK("\nSysCpuUsage in all time: "); in OsCmdCpupOperateOneParam()
53 PRINTK("%u.%u\n", ret / LOS_CPUP_PRECISION_MULT, ret % LOS_CPUP_PRECISION_MULT); in OsCmdCpupOperateOneParam()
61 PRINTK("\npid %u CpuUsage in 10s: ", pid); in OsCmdCpupOperateTwoParam()
63 PRINTK("\npid %u CpuUsage in 1s: ", pid); in OsCmdCpupOperateTwoParam()
65 PRINTK("\npid %u CpuUsage in all time: ", pid); in OsCmdCpupOperateTwoParam()
68 PRINTK("%u.%u\n", ret / LOS_CPUP_PRECISION_MULT, ret % LOS_CPUP_PRECISION_MULT); in OsCmdCpupOperateTwoParam()
73 PRINTK("usage:\n"); in OsCpupCmdHelp()
74 PRINTK(" cpup\n" in OsCpupCmdHelp()
[all …]
/kernel/liteos_a/fs/fat/os_adapt/
Dfat_shellcmd.c46 PRINTK("Usage :\n"); in osShellCmdFormat()
47 PRINTK(" format <dev_vnodename> <sectors> <option> <label>\n"); in osShellCmdFormat()
48 PRINTK(" dev_vnodename : the name of dev\n"); in osShellCmdFormat()
49 PRINTK(" sectors : Size of allocation unit in unit of byte or sector, "); in osShellCmdFormat()
50 PRINTK("0 instead of default size\n"); in osShellCmdFormat()
51 PRINTK(" options : Index of filesystem. 1 for FAT filesystem, "); in osShellCmdFormat()
52 PRINTK("2 for FAT32 filesystem, 7 for any, 8 for erase\n"); in osShellCmdFormat()
53PRINTK(" label : The volume of device. It will be emptyed when this parameter is nu… in osShellCmdFormat()
54 PRINTK("Example:\n"); in osShellCmdFormat()
55 PRINTK(" format /dev/mmcblk0 128 2\n"); in osShellCmdFormat()
[all …]
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_interrupt.c243 PRINTK("Type = %d\n", excInfo->type); in OsExcTypeInfo()
244 PRINTK("ThrdPid = %d\n", excInfo->thrdPid); in OsExcTypeInfo()
245 PRINTK("Phase = %s\n", phaseStr[excInfo->phase]); in OsExcTypeInfo()
246 PRINTK("FaultAddr = 0x%x\n", excInfo->faultAddr); in OsExcTypeInfo()
251 PRINTK("Current task info:\n"); in OsExcCurTaskInfo()
254 PRINTK("Task name = %s\n", taskCB->taskName); in OsExcCurTaskInfo()
255 PRINTK("Task ID = %d\n", taskCB->taskID); in OsExcCurTaskInfo()
256 PRINTK("Task SP = 0x%x\n", (UINTPTR)taskCB->stackPointer); in OsExcCurTaskInfo()
257 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
258 PRINTK("Task SS = 0x%x\n", taskCB->stackSize); in OsExcCurTaskInfo()
[all …]
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c709 PRINTK("(%.1f %s) \r\n", (float)size + (float)rem / 1024.0, SIZES[divis]);
714 PRINTK("Usage:"\
753 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
795 PRINTK("%18s:%u\t errors:%u\t ip dropped:%u\t link dropped:%u\t overrun:%d\t bytes:%u ",
816 PRINTK("%18s:%u\t errors:%u\t dropped:%u\t overrun:%d\t bytes:%u ",
833 PRINTK("%18s:%u\t errors:%u\t link dropped:%u\t overrun:0\t bytes:%u",
847 PRINTK("%18s:%u\t errors:%u\t overrun:0\t bytes:%u",
862 PRINTK("%s: sys_sem_new fail\n", __FUNCTION__);
872 PRINTK("ifconfig : strncpy_s error\n");
878 PRINTK("ifconfig : interface name is too big\n");
[all …]
/kernel/liteos_a/fs/vfs/vfs_cmd/
Dvfs_shellcmd.c90 PRINTK("%s\n", shell_working_directory); in osShellCmdDoChdir()
136 ERROR_OUT_IF(argc > 1, PRINTK("ls or ls [DIRECTORY]\n"), return -1); in osShellCmdLs()
233 ERROR_OUT_IF(argc != 1, PRINTK("cat [FILE]\n"), return -1); in osShellCmdCat()
296 PRINTK("mount [DEVICE] [PATH] [NAME]\n"); in print_mount_usage()
318 PRINTK("mount -t/-o [DEVICE] [PATH] [NAME]\n"); in osShellCmdMount()
334 PRINTK("mount -t [DEVICE] [PATH] [NAME]\n"); in osShellCmdMount()
337 PRINTK("can't find nfs_mount\n"); in osShellCmdMount()
356 PRINTK("mount ok\n"); in osShellCmdMount()
371 PRINTK("mount [DEVICE] [PATH] [NAME]\n"); in osShellCmdMount()
374 PRINTK("can't find nfs_mount\n"); in osShellCmdMount()
[all …]
/kernel/liteos_m/components/shell/src/cmds/
Dmempt_shellcmd.c52 PRINTK("\n total used free\n"); in OsShellCmdFreeInfo()
56PRINTK("Mem: %-9u %-10u %-10u\n", MEM_SIZE_TO_KB(totalMem), MEM_SIZE_TO_KB(memUsed), in OsShellCmdFreeInfo()
59PRINTK("Mem: %-9u %-10u %-10u\n", MEM_SIZE_TO_MB(totalMem), MEM_SIZE_TO_MB(memUsed), in OsShellCmdFreeInfo()
62 PRINTK("Mem: %-9u %-10u %-10u\n", totalMem, memUsed, freeMem); in OsShellCmdFreeInfo()
64 PRINTK("\nUsage: free or free [-k/-m]\n"); in OsShellCmdFreeInfo()
73 PRINTK("\nUsage: free or free [-k/-m]\n"); in OsShellCmdFree()
88 PRINTK("\nUsage: memusage or memusage [-k/-m]\n"); in OsShellCmdWaterLine()
97 PRINTK("Mem WaterLine: %-9u\n", MEM_SIZE_TO_KB(poolStatus.usageWaterLine)); in OsShellCmdWaterLine()
99 PRINTK("Mem WaterLine: %-9u\n", MEM_SIZE_TO_MB(poolStatus.usageWaterLine)); in OsShellCmdWaterLine()
101 PRINTK("Mem WaterLine: %-9u\n", poolStatus.usageWaterLine); in OsShellCmdWaterLine()
[all …]

1234567