Commit Graph

647 Commits

Author SHA1 Message Date
Gregory Nutt
cd54c71dc1 ARMv7-A/i.MX6: Modify handling of the SMP cache coherency configuration so that it is identical to the steps from the TRM. Makes no differenct, however. 2016-11-27 10:21:46 -06:00
Gregory Nutt
bbc17abf68 Update some comments 2016-11-23 13:30:51 -06:00
Gregory Nutt
bac7153609 SMP: Add logic to avoid a deadlock condition when CPU1 is hung waiting for g_cpu_irqlock and CPU0 is waitin for g_cpu_paused 2016-11-22 11:34:16 -06:00
Gregory Nutt
cee8d59b58 Update TODO list 2016-11-20 12:26:08 -06:00
Gregory Nutt
01ade4803a Update README and TODO list 2016-11-20 09:51:54 -06:00
Gregory Nutt
e24f281401 This commit adds a new internal interfaces and fixes a problem with three APIs in the SMP configuration. The new internal interface is sched_cpu_pause(tcb). This function will pause a CPU if the task associated with 'tcb' is running on that CPU. This allows a different CPU to modify that OS data stuctures associated with the CPU. When the other CPU is resumed, those modifications can safely take place.
The three fixes are to handle cases in the SMP configuration where one CPU does need to make modifications to TCB and data structures on a task that could be running running on another CPU.  Those three cases are task_delete(), task_restart(), and execution of signal handles.  In all three cases the solutions is basically the same:  (1) Call sched_cpu_pause(tcb) to pause the CPU on which the task is running, (2) perform the necessary operations, then (3) call up_cpu_resume() to restart the paused CPU.
2016-11-20 07:57:18 -06:00
Gregory Nutt
f5b35e0461 Clarify TODO list 2016-11-19 16:58:25 -06:00
Gregory Nutt
82cd27170b Update TODO list 2016-11-19 16:37:09 -06:00
Gregory Nutt
ac9a11d9ab Update TODO list 2016-11-19 13:31:14 -06:00
Gregory Nutt
6a7619b6f0 Update TODO list 2016-11-19 13:23:15 -06:00
Gregory Nutt
ecb2d4cbc1 drivers/timer: Remove the TIOC_SETHANDLER IOCTL call. This calls directly from the timer driver into application code. That is non-standard, non-portable, and cannot be supported 2016-11-17 11:52:42 -06:00
Gregory Nutt
9045959aa6 Update TODO and README 2016-11-08 07:45:21 -06:00
Gregory Nutt
860c0f5873 Update TODO list. 2016-11-06 10:15:01 -06:00
Gregory Nutt
796969f6b6 Update TODO. Provide do-nothing stubs for mutex attribute interfaces if features not enabled. pthread_cond includes a signaling semaphore and should call sem_setprotocol. 2016-11-05 11:06:52 -06:00
Gregory Nutt
470c692dbf Update TODO list 2016-11-02 18:31:22 -06:00
Gregory Nutt
97bf82ee05 Semaphores: Provide macros for sem_setprotobol() and sem_getprotocol() if priority inheritance is not enabled. More SEM_PRIO_* definitions to include/nuttx/semaphore.h 2016-11-02 18:21:46 -06:00
Gregory Nutt
e568b08b04 Update TODO list 2016-10-09 09:36:03 -06:00
Gregory Nutt
ead4b6014e Trivial typo fix 2016-08-17 14:07:13 -06:00
Gregory Nutt
014b8268cc Minor stylistic corrections 2016-08-14 10:14:28 -06:00
Gregory Nutt
8ee155da3d Rename arch/sh to arch/renesas 2016-08-06 13:33:41 -06:00
Gregory Nutt
c214aab09f Update README 2016-08-03 10:07:20 -06:00
Gregory Nutt
5f9ee79298 I/O Expander: Remove hard-coded PCA9555 fields from ioexpander.h definitons. Add support for an attach() method that may be used when any subset of pin interrupts occur.
PCA9555 Driver:  Replace the signalling logic with a simple callback using the new definitons of ioexpander.h.  This repartitioning of functionality is necessary because (1) the I/O expander driver is the lower-lower part of any driver that uses GPIOs (include the GPIO driver itself) and should not be interacting directly with the much higher level application layer.  And (2) in order to be compatible with the GPIO driver (and any arbitrary upper half driver), the PCA9555 should not directly signal, but should call back into the upper half.  The upper half driver that interacts directly with the application is the appropriate place to be generating signal.
2016-07-31 11:09:47 -06:00
Gregory Nutt
aa8a52aacd Update TODO list and NSH documentation 2016-07-20 10:45:21 -06:00
Gregory Nutt
dee77a5dd9 Kinetis Ethernet: Add support for CONFIG_NET_NOINTS 2016-07-12 16:17:35 -06:00
Gregory Nutt
3a594c07f8 Update TODO list 2016-07-03 15:13:32 -06:00
Gregory Nutt
b16fdaf155 Some small improvements to GPIO driver 2016-06-26 11:24:35 -06:00
Gregory Nutt
a39ff55340 Update TODO and README.txt files 2016-06-06 12:58:59 -06:00
Gregory Nutt
dbca089c96 Update TODO list 2016-06-06 06:48:32 -06:00
Gregory Nutt
f65616f872 Replace confusing references to uIP with just 'the network' 2016-05-30 09:16:32 -06:00
Gregory Nutt
ceaad0f339 Upate TODO list 2016-05-28 12:22:35 -06:00
Gregory Nutt
607dd3bec5 Spell check TODO list 2016-05-27 14:44:39 -06:00
Gregory Nutt
a6fff34ec6 Update TODO list 2016-03-31 18:02:51 -06:00
Gregory Nutt
d580b70a71 Minor updates to TODO list 2016-03-26 17:26:47 -06:00
Gregory Nutt
cc5a678a9e Extend boardctl() USB device control to include PL2303 serial 2016-03-25 16:01:59 -06:00
Gregory Nutt
3e4ae24387 Fix a few issues related to new USB device boardctl() commands 2016-03-25 14:23:27 -06:00
Gregory Nutt
3886500459 Update TODO list 2016-03-24 13:10:45 -06:00
Gregory Nutt
4639cdd894 TCP timeouts: Fix some logic when there are multiple network interfaces. In this case, TCP timeout events can really only being processed when the poll from the correct device is received. 2016-03-20 08:19:00 -06:00
Gregory Nutt
24468128de TLS: Simplify 2016-03-11 07:17:32 -06:00
Gregory Nutt
760fb63f33 Update README/TODO with new naming 2016-03-09 17:39:43 -06:00
Gregory Nutt
050b3ee06a profcs task status will now show CPU is SMP is enabled 2016-02-19 15:34:36 -06:00
Gregory Nutt
3994b094c5 Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
Gregory Nutt
fd94d7a675 Update TODO 2016-02-19 06:52:41 -06:00
Gregory Nutt
41d7c35e73 Trivial update to TODO 2016-02-18 13:39:09 -06:00
Gregory Nutt
7d9287958f Minor simplication to last commit; Update TODO list 2016-02-18 09:21:43 -06:00
Gregory Nutt
52fbbaf778 1. SMP: Fix an assertion. SMP-specific change accidentally made in non-SMP code
2. Move list of signal actions from the task TCB to the task group.  Signal handlers are a property of the entire task group and not of individual threads in the group.  I know, I preferred it the other way too but this is more compliant with POSIX.
2016-02-18 08:34:54 -06:00
Gregory Nutt
269c242f7b Update TODO list 2016-02-17 16:51:58 -06:00
Gregory Nutt
9cb2a6b1f9 Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore() 2016-02-14 16:19:15 -06:00
Gregory Nutt
7aa237973c Update TODO 2016-02-09 11:25:29 -06:00
Gregory Nutt
68ee9bcaed Refresh modules + plus minor clean-up from previous commits 2016-02-08 15:13:14 -06:00
Gregory Nutt
166ad58849 DHCPD no longer calls directly into the OS, but uses network IOCTL commands to modify the ARP table. Plus, fix a warning. 2016-02-08 12:08:18 -06:00
Gregory Nutt
0af9a197ac ARP: Add IOCTL commands to manage the ARP table 2016-02-08 11:17:22 -06:00
Gregory Nutt
74db48202e sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:44:41 -06:00
Gregory Nutt
12f95c6f6b Add procfs/kmm to show the state of the kernel heap 2016-02-06 11:35:30 -06:00
Gregory Nutt
52ef3b2d23 I2CTOOL: Now uses the I2C driver instead of direct calls into the OS 2016-02-02 10:24:49 -06:00
Gregory Nutt
2ec738d7ed Update TODO 2016-02-01 16:34:18 -06:00
Gregory Nutt
6ad641888b Add I2C frequency to the i2c_msg_s structure 2016-02-01 14:17:20 -06:00
Gregory Nutt
8c9bddf998 I2C: Eliminate the I2C_WRITE and I2C_READ macros 2016-02-01 08:57:22 -06:00
Gregory Nutt
d4a53ee131 I2C: Eliminate the I2C_WRITEREAD method 2016-01-26 10:26:16 -06:00
Gregory Nutt
c6d967e632 OVR2640: Reverse frequency/address 2016-01-16 09:05:39 -06:00
Gregory Nutt
8e9f884eb7 Step 1 in /etc/resolv.conf support 2016-01-13 15:06:44 -06:00
Gregory Nutt
530975a9b5 Fix typos in TODO 2016-01-13 15:03:28 -06:00
Gregory Nutt
47c8eaab58 Update TODO list 2016-01-13 11:08:05 -06:00
Gregory Nutt
8ee75a96fe Update TODO list and Kconfig help 2016-01-13 07:44:44 -06:00
Gregory Nutt
a0c4c071ed tools/cnvwindeps.c: Omit dependency paths that include spaces 2016-01-11 08:01:42 -06:00
Gregory Nutt
63f13283de Upate TODO list 2016-01-03 11:59:43 -06:00
Gregory Nutt
c33724fc93 Update TODO list 2015-12-30 15:26:30 -06:00
Gregory Nutt
9835eeb181 signals: Basic framework to support SIGEV_THREAD 2015-12-30 13:20:31 -06:00
Gregory Nutt
3036e53be4 Update TODO list 2015-12-23 08:19:13 -06:00
Gregory Nutt
f9f19d867b Trivial change to TODO list 2015-12-10 09:47:58 -06:00
Gregory Nutt
8fdb173090 drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions. 2015-12-07 13:48:06 -06:00
Gregory Nutt
3f0bb06c54 Update ChangeLog 2015-12-06 16:41:50 -06:00
Gregory Nutt
8ac588f602 Update TODO 2015-11-28 17:28:25 -06:00
Gregory Nutt
64247fee15 Update TODO list 2015-11-28 15:04:11 -06:00
Gregory Nutt
25f48e5829 Update TODO file 2015-11-27 17:48:40 -06:00
Gregory Nutt
9d8462aa23 net/: Move net_procfs.c to net/procfs/. Partition logic a little better to make space to support net device procfs as well 2015-11-27 13:53:33 -06:00
Gregory Nutt
e4236941c6 net/net_procfs.c: Add basic support for networking procfs entries 2015-11-27 12:33:58 -06:00
Gregory Nutt
2a93c66948 include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics. 2015-11-26 12:08:09 -06:00
Gregory Nutt
ed35eb0f8d drivers/loop: Add a loop character device that can be used to setup and teardown loop devices 2015-11-25 17:13:56 -06:00
Gregory Nutt
e665b3dba8 Update TODO list 2015-11-25 15:41:43 -06:00
Gregory Nutt
fb0a148812 Update ChangeLog/TODO 2015-11-25 12:02:25 -06:00
Gregory Nutt
23a62dec50 Update TODO 2015-11-21 11:58:26 -06:00
Stefan Kolb
5ac6de118e libc/math/lib_asin.c: The function did not convert for some input values. Asin did not convert for values which do not belong to the domain of the function. But aside of that the function also did not convert for sine allowed values. I achieved a conversion of the function by reducing the DBL_EPSION and by checking if the input value is in the domain of the function. This is a fix for the problem but the function should always terminate after a given number of iterations. From Stefan Kolb. 2015-09-01 08:45:14 -06:00
Gregory Nutt
9d5a86753e Update TODO list 2015-08-24 15:52:14 -06:00
Gregory Nutt
530d229361 net/udp: Add support for send() with connected UDP sockets 2015-08-11 19:17:55 -06:00
Gregory Nutt
597a7b2f52 Update TODO list 2015-08-11 16:13:05 -06:00
Gregory Nutt
36db0725c5 Update TODO list 2015-08-06 10:28:34 -06:00
Gregory Nutt
99664b7811 Sporadic scheduler: Add logic to collection the partial timer expiration when a sporadic thread is suspended in tickless mode 2015-07-26 15:03:47 -06:00
Gregory Nutt
4bdbc387f5 Update TODO list; Fix a few errors introduced withe the last changes to the sporadic scheduler 2015-07-26 10:51:04 -06:00
Gregory Nutt
27e21710fd This is basically a complete redesign of the sporadic scheduling logic due to limitations in the initial design 2015-07-25 12:50:53 -06:00
Gregory Nutt
afc342c07b Refresh submodules 2015-07-22 09:33:19 -06:00
Gregory Nutt
83f26091f4 Implement anti-aliasing in the NuttX graphics line drawing 2015-07-14 10:17:42 -06:00
Gregory Nutt
342f5fe33d Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt
ce7955bae8 Update README and TODO list 2015-06-25 13:39:57 -06:00
Gregory Nutt
8ed9c24675 Fix a union file system bug 2015-06-24 09:07:13 -06:00
Gregory Nutt
712a14ab25 Update TODO list 2015-06-22 15:19:13 -06:00
Gregory Nutt
1933260618 SAML21 minor stuff 2015-06-14 14:27:58 -06:00
Gregory Nutt
4f05c80794 LPC17xx Ethernet: Improve CONFIG_NET_NOINTS implementation 2015-06-01 08:07:32 -06:00
Gregory Nutt
2b3241d81f Clean up some logic in the CDC/ACM host drivers. Test with some other host controller drivers. There are lots of problems. 2015-05-14 10:22:08 -06:00
Gregory Nutt
4417728955 Re-implemened pthread_kill(). It as just a simple wrapper around kill() but since the correct dispatching of singles for multi-threaded task groups has been implemented, calling kill() does no work. The corrected implementation of pthread_kill() will direct the signal specifically to the specific pthread and no other. 2015-05-13 14:43:43 -06:00
Gregory Nutt
bd61b00b15 Update TODO list 2015-05-13 07:50:30 -06:00