Commit Graph

26052 Commits

Author SHA1 Message Date
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
5002e27e84 Since syslog_add_intbuffer can now be called from the IDLE thread, it must use a critical section. Also fix an error in circular buffer index handling. 2016-06-20 07:50:07 -06:00
Gregory Nutt
f4c47636e7 SYSLOG: Debug output from the IDLE task should be forced like interrupt level output 2016-06-20 07:35:38 -06:00
Jakub Łągwa
338b915008 While working with version 7.10 I discovered a problem in TCP stack that could be observed on high network load. Generally speaking, the problem is that RST flag is set in unnecessary case, in which between loss of some TCP packet and its proper retransmission, another packets had been successfully sent. The scenario is as follows: NuttX did not receive ACK for some sent packet, so it has been probably lost somewhere. But before its retransmission starts, NuttX is correctly issuing next TCP packets, with sequence numbers increasing properly. When the retransmission of previously lost packet finally succeeds, tcp_input receives the accumulated ACK value, which acknowledges also the packets sent in the meantime (i.e. between unsuccessful sending of lost packet and its proper retransmission). However, variable unackseq is still set to conn->isn + conn->sent, which is truth only if no further packets transmission occurred in the meantime. Because of incorrect (in such specific case) unackseq value, few lines further condition if (ackseq <= unackseq)is not met, and, as a result, we are going to reset label. 2016-06-20 06:55:29 -06:00
Gregory Nutt
d5b8869b10 Update ChangeLog 2016-06-20 06:23:31 -06:00
Gregory Nutt
fa365e85f5 Update some cmoments 2016-06-20 06:11:22 -06:00
Stefan Kolb
a68232863e Fix missing implementation of static function 2016-06-20 06:11:21 -06:00
Gregory Nutt
9a19d64610 Reanem syslogstream.c to syslog_steam.c for consistency 2016-06-19 18:19:34 -06:00
Gregory Nutt
8021354e01 ullinfo (vs ulinf) 2016-06-19 18:14:27 -06:00
Gregory Nutt
7dd66a4620 Need to pass va_list as a reference to vsyslog. This is because va_list is a structure in some compilers and passing of structures in the NuttX sycalls does not work. 2016-06-19 14:50:00 -06:00
Gregory Nutt
690a0e7a6e Eliminate another warning 2016-06-19 13:58:39 -06:00
Gregory Nutt
b68822805f Eliminate a warning 2016-06-19 13:56:49 -06:00
Gregory Nutt
e480b385e6 SYSLOG: syslog_initialize.c appeared twice is list of sources 2016-06-19 13:55:23 -06:00
Gregory Nutt
9e62164977 Merge branch 'syslog' 2016-06-19 14:00:24 -06:00
Gregory Nutt
5b2aa7bf99 Remove all traces of CONFIG_SYSLOG 2016-06-19 13:59:43 -06:00
Gregory Nutt
9434d3e945 There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel() 2016-06-19 13:03:20 -06:00
Gregory Nutt
d82942cf3b Merge remote-tracking branch 'origin/master' into syslog 2016-06-19 11:20:31 -06:00
Gregory Nutt
9f260ca193 Some renaming so that future features will fit in better; If the architecture provides its only system logging (via CONFIG_ARCH_SYSLOG), then syslog_initialize() is stubbed out 2016-06-19 11:16:12 -06:00
Gregory Nutt
19c6a82f8b a few cosmetic changes 2016-06-19 09:52:34 -06:00
Gregory Nutt
a43cdbff0b Add missing file header 2016-06-19 09:48:42 -06:00
Gregory Nutt
f59196247c Merge remote-tracking branch 'origin/master' into syslog 2016-06-19 09:47:13 -06:00
Gregory Nutt
99ad3e9bcf Need to capture return value from ramlog_syslog_initialize() 2016-06-19 09:41:35 -06:00
Gregory Nutt
0f18f3bd15 Move RAMLOG initialize from up_initialilize.c files to syslog_initialize(). up_initialize.c files now call syslog_initialize() unconditionally 2016-06-19 09:39:21 -06:00
Gregory Nutt
de58cb6027 Some higher level SYSLOG features are disabled if the architecture-specific logic provides its own SYSLOG functionality 2016-06-19 09:21:52 -06:00
Gregory Nutt
3bd953316f Add a hook before the existing syslog_initialize() call; rename the old syslog_initialize() to syslog_dev_initialize(). 2016-06-19 09:12:33 -06:00
Gregory Nutt
12150bc6c1 Merge remote-tracking branch 'origin/master' into syslog 2016-06-19 08:48:10 -06:00
Gregory Nutt
e27491f5be Move fs/drivers/fs_devsyslog.c to drivers/syslog/syslog_device.c 2016-06-19 08:46:46 -06:00
Gregory Nutt
2ff6ff39c9 Merge remote-tracking branch 'origin/master' into syslog 2016-06-19 08:11:07 -06:00
Gregory Nutt
b66112347c include/nuttx/syslog/syslog.h now needs to include stdarg.h 2016-06-19 08:08:43 -06:00
Gregory Nutt
668980b4fa Merge remote-tracking branch 'origin/master' into syslog 2016-06-19 08:02:42 -06:00
Gregory Nutt
34f776dce9 Move the OS intensive part of vsyslog and vlowsyslog to drivers/syslog/vsyslog.c and vlowsyslog.c. Also move lib_syslogstrem to drivers/syslog/syslogstream.c 2016-06-19 07:56:24 -06:00
Gregory Nutt
39a3c9aaee Merge remote-tracking branch 'origin/master' into syslog 2016-06-19 07:04:51 -06:00
Gregory Nutt
f5e5908a70 vsyslog is now a system call 2016-06-19 07:03:44 -06:00
Gregory Nutt
fedf00033c Make default interupt buffer smaller 2016-06-19 07:03:10 -06:00
Gregory Nutt
b594552c09 Merge remote-tracking branch 'origin/master' into syslog 2016-06-18 14:54:57 -06:00
Gregory Nutt
ea9565e137 SYSLOG: Flesh out interrupt buffer logic 2016-06-18 14:54:25 -06:00
Gregory Nutt
3d305ac75b Additional cosmetic changes from review of last PR 2016-06-18 13:02:33 -06:00
Gregory Nutt
77d01ab1da Cosmetic changes from review of last PR 2016-06-18 13:00:17 -06:00
Gregory Nutt
c44a011394 Add some basic SYSLOG channel selection logic 2016-06-18 12:54:55 -06:00
Gregory Nutt
d563a205ea Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #64)
Upstream_nucleo 144
2016-06-18 12:37:23 -06:00
David Sidrane
df64a68b15 Nucleo-144 Moved ADC to chan 3 2016-06-18 08:08:28 -10:00
David Sidrane
971dc71183 STM32F7 ADC working 2016-06-18 08:07:13 -10:00
David Sidrane
f8dd4dd3eb Missing Brace 2016-06-18 08:06:33 -10:00
Gregory Nutt
832efae5d8 Fix some debug output statements that were changed and lost their ll-ness 2016-06-18 09:41:55 -06:00
Gregory Nutt
f5dc81fe73 LPC17 Ethernet: Needs to correctly ignore PHYID2 revision number when comparing PHY IDs. 2016-06-18 08:51:38 -06:00
Gregory Nutt
0bc40ee8e1 STM32: In big change off err() to info(), several debug statements lost their ll property. 2016-06-18 08:32:07 -06:00
Gregory Nutt
18745bdd86 STM32: In big change off err() to info(), several debug statements lost their ll property. 2016-06-18 07:53:06 -06:00
Gregory Nutt
bd0b7059c0 STM32: In big change off err() to info(), several debug statements lost their ll property. 2016-06-18 07:46:12 -06:00
Gregory Nutt
d20128cc11 STM32: In big change off err() to info(), several debug statements lost their ll property. 2016-06-18 07:40:27 -06:00
Gregory Nutt
3fa41c0f18 Kconfig files: Fix some dependencies that have CONFIG_ in the variable name 2016-06-17 19:30:19 -06:00