Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Gregory Nutt
de6b13b3ab
Per OpenGroup.org, syslog -- and, hence, nonstandard vsyslog, and debug wrappers -- does not return a value. Rename _vsyslog to nx_vsyslog. Use internal nx_vsyslog in the few cases where a return value is required.
2018-03-04 08:07:07 -06:00
Gregory Nutt
505ca542e8
Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly
2016-06-20 16:11:50 -06:00
Gregory Nutt
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
2244ed46bc
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 07:32:58 -06:00
Gregory Nutt
16b32bbadd
Standardize the width of all comment boxes in C files
2015-10-03 07:25:53 -06:00
Gregory Nutt
d7d759f7a7
Update everything under nuttx/drivers to use the corrected syslog interfaces
2014-10-08 10:18:58 -06:00
Gregory Nutt
fe9023752a
SAM4E: Revise board-specific USB MSC support
2014-03-18 09:31:02 -06:00
patacongo
ad430fc198
Add syslog.h; rename lib_rawprintf() to syslog()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
37d2dbf0d4
Lots of re-organization -- getting ready to support a composite USB device
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4329 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 21:51:26 +00:00
patacongo
304380c2f0
Create include/nuttx/usb directory
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3170 42af7a65-404d-4744-a932-0658087f49c3
2010-12-14 03:33:39 +00:00
patacongo
9634f25391
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 14:25:14 +00:00
patacongo
cbe4bf2e2d
Extend USB trace logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2212 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:11:50 +00:00
patacongo
dbfaa18d76
typo
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2202 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 16:03:18 +00:00
patacongo
d54fb01136
Fix bad trace data storage
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1094 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:20:37 +00:00
patacongo
eb2b208d71
Integrate USB tracing
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1091 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 01:18:37 +00:00
patacongo
d4c083a955
Make trace data enable-able by id
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1080 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 13:13:09 +00:00
patacongo
7c021b542b
Add support for class driver states
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1055 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:41:58 +00:00
patacongo
175c69a462
Missed decoding one trace value
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1012 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 19:19:33 +00:00
patacongo
a97678e7f3
Add more trace codes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@999 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:16:44 +00:00
patacongo
8c9fe4533a
test and integration updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@998 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:19:27 +00:00
patacongo
14072a7991
Add another trace code for class driver calls
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@995 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:06:57 +00:00
patacongo
75c2fb5635
Add debug output if trace disabled
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@973 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 17:31:39 +00:00
patacongo
1f8cc4383a
USBDEV trace
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@962 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 00:50:22 +00:00