Commit Graph

5850 Commits

Author SHA1 Message Date
Gregory Nutt
c6a0f284e4 Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
Gregory Nutt
9b3651f7a9 Remove comments before empty sections in C files 2016-02-21 11:26:43 -06:00
Gregory Nutt
bd0d46138c SIM: Trivial, uninteresting change to file inclusion in IDLE loop 2016-02-20 14:56:25 -06:00
Gregory Nutt
e9bf66989e LPC43xx: Add RS485 configuration settings to Kconfig; For RS485, add an option to select DTR as the DIR pin 2016-02-19 07:59:24 -06:00
Gregory Nutt
9b96057dc0 LPC43 VBUS sensing option should also depend on CONFIG_USDBDEV 2016-02-18 19:14:38 -06:00
Dave Marples
41b56a5f09 Enable the Ethernet for the LPC4330 and autonegotiation when the MAC is a LAN8720. 2016-02-18 19:07:33 -06:00
Gregory Nutt
de885064d2 SIM: Clean up some comments 2016-02-18 14:56:17 -06:00
Gregory Nutt
526c90986a sim SMP: CPU0 should not be the main thread. That introduces an asymmetry since the main thread has no pthread_t ID. Instead, start an additional pthread for CPU0. The main thread will just wait and do nothing in this case 2016-02-18 14:54:48 -06:00
Gregory Nutt
08e2fc0be8 Can't call sdbg() from a signal handler; And another name to nuttx-names.dat 2016-02-18 12:29:37 -06:00
Gregory Nutt
3508e22f3f SMP: Rename sim_cpupause to sim_cpu_pause for consistency with other naming 2016-02-18 11:46:08 -06:00
Gregory Nutt
3deac3d43d SMP: Initial implementation of up_cpu_pause and up_cpu_resume. Does not yet work. 2016-02-18 11:12:43 -06:00
Gregory Nutt
e3ea40e4f9 SMP: Cosmetic renaming to clarify functionality of SMP interfaces. Update comments. 2016-02-17 13:35:23 -06:00
Gregory Nutt
063caf3a90 Add warnings and some comments 2016-02-16 16:08:59 -06:00
Gregory Nutt
8ac45d4f4d Add some additional schedule instrumentation 2016-02-16 15:19:44 -06:00
Gregory Nutt
b4dae46fd7 SIM: Add scheduler instrumentation 2016-02-16 13:40:15 -06:00
Gregory Nutt
9234eec334 SIM: Needs to include stdint.h 2016-02-16 10:12:06 -06:00
Gregory Nutt
17cf9a57a0 Update some comments 2016-02-16 07:50:09 -06:00
Gregory Nutt
1e218415d6 Most cosmetic; fix spelling of teriminate 2016-02-16 07:24:28 -06:00
Gregory Nutt
d2f13e4b12 SIM: If SMP is enabled, show CPU on assertion 2016-02-15 13:47:05 -06:00
Gregory Nutt
e238b29ddf SIM: Add pthread_yield to the list of name collisions 2016-02-15 11:44:53 -06:00
Gregory Nutt
441cd2bf1c Fix a typo introduced in last set of name changes 2016-02-14 19:58:30 -06:00
Gregory Nutt
349e5bc3ec Fix some LPC31 and LPC43 errors introduced by a recent pull request 2016-02-14 19:35:40 -06:00
Gregory Nutt
8b7dd552a3 Fix a typo introduced in last big set of name changes 2016-02-14 17:44:45 -06:00
Gregory Nutt
666cc280f4 Rename irqenable() to up_irq_enable(); rename irqdisable() to up_irq_disable() 2016-02-14 16:54:09 -06:00
Gregory Nutt
83bc1c97c3 Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore() 2016-02-14 16:11:25 -06:00
Gregory Nutt
2cd8d279d2 Missed a few name changes 2016-02-13 19:16:51 -06:00
Gregory Nutt
70e502adb0 Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-13 19:11:09 -06:00
Gregory Nutt
3caffdd82e Standardization of some naming in preparation for a large automated change 2016-02-13 12:57:09 -06:00
Gregory Nutt
a884818e32 SIM: Add empty stubs for SMP function up_cpustop and up_cpustart 2016-02-12 17:12:01 -06:00
Gregory Nutt
e7d077a389 LPC31: Fix some definitions to match LPC43 2016-02-12 16:30:30 -06:00
Gregory Nutt
d22aa4b588 SIM: In SMP simulation, use pthread_yield(), not up_hostusleep() to reliquish the CPU. 2016-02-12 08:13:44 -06:00
Gregory Nutt
62e6275fe5 SIM:Add missing mutex unlock; need to used up_hostusleep(), not usleep(), in up_idle 2016-02-11 17:18:28 -06:00
Gregory Nutt
e41de0a00e SIM: Move IDLE thread initialization from sim to OS since it should be common 2016-02-11 14:10:19 -06:00
Gregory Nutt
ac6c9cf617 SIM: Add SMP idle thread setup logic -- forgot to add files before last commit. 2016-02-11 12:17:41 -06:00
Gregory Nutt
b087cb7f9a SIM: Add SMP idle thread setup logic 2016-02-11 12:16:19 -06:00
Gregory Nutt
2f08f2fe6c Missed something in the last commit 2016-02-10 17:30:29 -06:00
Gregory Nutt
0dbbf19fea SIM: Kconfig now indicates that it supports multiple CPUs. 2016-02-10 17:29:04 -06:00
Gregory Nutt
52f88b0625 SIM: Add simulation of a multi-CPU processor 2016-02-10 14:58:21 -06:00
Gregory Nutt
5e91bf9a03 SIM: Add a fake spinlock.h header file that may be useful someday for testing of SMP features 2016-02-10 10:33:37 -06:00
Gregory Nutt
6181711942 Correct some comments 2016-02-09 13:48:16 -06:00
Gregory Nutt
a6eb9a351c Add spinlock support for ARMv7-M architectures 2016-02-09 13:44:22 -06:00
Gregory Nutt
98e9e7d768 Add spinlock support for ARMv7-R architectures 2016-02-09 13:01:32 -06:00
Gregory Nutt
5d449e9991 Add spinlock support for ARMv7-A architectures 2016-02-09 12:53:10 -06:00
Gregory Nutt
24428f7a59 z80 family: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:32:25 -06:00
Gregory Nutt
4078a3134e z16: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:17:17 -06:00
Gregory Nutt
b0bcd82ba7 x86: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:10:44 -06:00
Gregory Nutt
a1126361da sim: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:05:55 -06:00
Gregory Nutt
edc51a14cd SH: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:00:02 -06:00
Gregory Nutt
2dff5b27b7 SH: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 16:56:49 -06:00
Gregory Nutt
dc574dfd2e RGMP: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 16:52:38 -06:00