ligd
fb90f821fb
include/nuttx/arch.h: Add architecture-specific prototypes for conversions between physical and virtual address.
2018-08-24 08:40:45 -06:00
Xiang Xiao
430bf16f1e
Squashed commit of the following:
...
include/nuttx/arch.h: Add prototype for an architecture-specific up_trigger_irq function
arch/, include/nuttx, sched/sched: Add the garbage collection hook so each architecture can do custom memory cleanup if necesary.
arch/Kconfig: Add configureation CONFIG_ARCH_GNU_NO_WEAKFUNCTIONS to suppress use of weak functions. Some gnu derived toolchains do not support weak symbols
2018-08-24 08:30:01 -06:00
dongjianli
0df5e56e20
include/nuttx/arch.h: Add prototype for an architecture-specific up_trigger_irq function
2018-08-24 08:25:06 -06:00
Xiang Xiao
36b46a6a40
arch/ and task/sched: vfork operation needs to allocate and copy the task argument too. Also correction of the address correction cannot depend on the stack pointer since it is not available in all architectures. Rather callculate the offset from the stack allocation pointer
2018-08-24 07:43:00 -06:00
Xiang Xiao
8b63d02309
arch/arm/armv7-m: MPU: mpu_log2regionceil needs take into account the offset too
2018-08-24 07:13:05 -06:00
Xiang Xiao
7a9309370f
arm syscalls: svcall/sycall logic needs to get the ucontext argument from R4 instead of stack since all syscall parameters pass from registers in syscall.h
2018-08-24 07:11:18 -06:00
Gregory Nutt
4824b04b44
arch/arm/src/armv6+7-m/up_vectors.c: Fix the type mismatch warning for _ebss
2018-08-24 07:04:51 -06:00
Xiang Xiao
e1202d2ed3
Replace all ASSERT with DEBUGASSERT to save the code space
2018-08-24 06:58:30 -06:00
Xiang Xiao
467d2a58ea
Replace non critical PANIC with DEBUGPANIC to save the code space
2018-08-24 06:21:15 -06:00
Gregory Nutt
e90f0403a6
binfmt/: Mostly cosmetic changes from review of a previous commit.
2018-08-24 06:10:50 -06:00
Gregory Nutt
2722fd8192
tools/nxstyle.c: Add capability to detect multiple blank lines. Single spacing required by the coding standard. Also coding standard fixes to server .c files for problems found during testing nxstyle.
2018-08-24 05:51:44 -06:00
Gregory Nutt
9157422312
include/dsp.h: Add extern C support for use with C++
2018-08-23 12:54:13 -06:00
anchao
95163b2c59
Squashed commit of the following:
...
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
arch/arm/src/armv7-m: Implement SYSTICK timer driver
Author: anchao <anchao@pinecone.net>
configs/sim/loadable: Add loadable demo for arch sim
sched/init: Restore previously reverted option to mount block device for INIT_FILEPATH case
configs/stm3240g-eval/knxwm: Fix build breakage.
Author: Gregory Nutt <gnutt@nuttx.org>
configs: With recent changes to apps/ all configurations that build applications as modules must now also select CONFIG_APPS_LOADABLE.
Author: anchao <anchao@pinecone.net>
configs/sim/loadable: Add loadable demo for arch sim
Kconfig and tools/Makefile.unix and : add dynamic application loadable support
2018-08-23 11:08:22 -06:00
Xiang Xiao
22a44465e4
arch/arm/src/armv7-m: Implement SYSTICK timer driver
2018-08-23 10:09:56 -06:00
xuanlin
2c93467436
pthreads: Add support static pthread stack. Add standard pthread_attr_setstack() and pthread_attr_getstack(). In all cases where the stack is released, add check to see which allocator must be used to free the stack: The user or the kernel allocator.
2018-08-23 09:49:20 -06:00
Xiang Xiao
86eef8ce3a
mm/: add mm_heapmember function and reimplement kmm_heapmember base on mm_heapmember since this function is very useful if multiple heaps exist.
2018-08-23 09:38:49 -06:00
Xiang Xiao
377eb30129
binfmt: Add binfmt_initialize(). All binary formats are now registered centrally vs. in board-specific logic. This simplifies the usage of the binfmt subsystem.
2018-08-23 09:09:39 -06:00
Gregory Nutt
0001607f71
arch/arm: (1) Add semihost support for syslog, (2) Add semihost support for HostFS
2018-08-23 08:00:07 -06:00
Xiang Xiao
e2ccce1f2e
apps/system/system/system.c: Add 'const' to make function prototype compatible with OpenGroup.org requirement
2018-08-23 06:40:59 -06:00
Gregory Nutt
1f1ead3099
drivers/wireless/ieee80211: Used nxstyle to find coding standard violations, then corrected them.
2018-08-22 17:35:17 -06:00
Xiang Xiao
a465b6f0d4
configs/: Change CONFIG_BOARD_RESET_ON_CRASH to CONFIG_BOARD_RESET_ON_ASSERT, arch/: Implement call to board_reset() if in all implementations of up_assert() when CONFIG_BOARD_RESET_ON_ASSERT=y.
2018-08-22 17:04:39 -06:00
Gregory Nutt
d52561fbef
Update NSH documention to describe the optional mode argument to the poweroff and reboot commands.
2018-08-22 17:03:25 -06:00
Gregory Nutt
dbe9b7ffb7
drivers/wireless/ieee80211/bcmf_bdc.c: Trivial check for NULL pointer.
2018-08-22 17:02:23 -06:00
Gregory Nutt
1d55bfaef8
drivers/wireless/ieee80211/bcmf_netdev.c: Add missing logic to poll for more Tx data after the last transfer completes.
2018-08-22 16:58:32 -06:00
Gregory Nutt
2679bd6784
Revert "Kconfig and tools/Makefile.unix and : add dynamic application loadable support"
...
This reverts commit dc15583df8
.
2018-08-22 12:26:52 -06:00
Gregory Nutt
d4e2c7a8f1
Revert "configs/sim/loadable: Add loadable demo for arch sim"
...
This reverts commit 2295a3c4d8
.
2018-08-22 12:26:48 -06:00
Gregory Nutt
a7697c9726
Revert "configs: With recent changes to apps/ all configurations that build appliations as modules must now also select CONFIG_APPS_LOADABLE."
...
This reverts commit e50a2c7fb1
.
2018-08-22 12:26:42 -06:00
Gregory Nutt
e50a2c7fb1
configs: With recent changes to apps/ all configurations that build appliations as modules must now also select CONFIG_APPS_LOADABLE.
2018-08-22 10:22:43 -06:00
anchao
2295a3c4d8
configs/sim/loadable: Add loadable demo for arch sim
2018-08-22 09:35:01 -06:00
Gregory Nutt
dc15583df8
Kconfig and tools/Makefile.unix and : add dynamic application loadable support
2018-08-22 09:02:26 -06:00
Gregory Nutt
2edfe7ed42
Revert "binfmt/elf: Set elf tcb priority level to default"
...
This reverts commit 1137927bd7
.
Superceded by commit f1b5a80ae9
2018-08-22 08:35:52 -06:00
Gregory Nutt
e3a1d4213c
configs: Several applications in apps/ were callign elf_initialize() nxflat_initialize(), or builtin_initialize() in violation of the portable POSIX interface. Those calls were removed from the applications and added to the appropriate board initialization with this commit.
2018-08-22 08:30:36 -06:00
Gregory Nutt
b56d5a7548
Revert "sched/init: Add option to mount block device for INIT_FILEPATH case"
...
This reverts commit e5f9b7d66b
.
2018-08-22 07:29:55 -06:00
anchao
f1b5a80ae9
binfmt/elf: Set priority level to default if parent has no priority.
2018-08-22 07:20:24 -06:00
anchao
1137927bd7
binfmt/elf: Set elf tcb priority level to default
2018-08-22 07:16:52 -06:00
Xiang Xiao
e5f9b7d66b
sched/init: Add option to mount block device for INIT_FILEPATH case
2018-08-22 06:57:00 -06:00
anchao
0124b629a9
sched/symtab: Reference default symtab name to binfmt
2018-08-22 06:21:20 -06:00
Xiang Xiao
c43b3e5a34
fs/hostfs: Add ftruncate support.
2018-08-22 06:08:34 -06:00
anchao
9bbacc44ff
fs/hostfs: Add support for open() append mode
2018-08-22 06:05:45 -06:00
Gregory Nutt
c9792c74f7
Trivial change to Coding Standard document.
2018-08-22 06:03:56 -06:00
Gregory Nutt
993888fc97
Another tiny update to the coding standard just to make a point a little clearer.
2018-08-21 15:30:50 -06:00
Gregory Nutt
07ef3fe018
Another update to the coding standard; Add some comments detailing the POSIX non-compliance in include/signal.h
2018-08-21 15:27:37 -06:00
Gregory Nutt
30d7dbd9a6
Update C Coding standard again. Correct some comments in tools/nxstyle.c
2018-08-21 13:32:05 -06:00
Gregory Nutt
5635e9632c
Reverts cc31f22213
: That commit throughs the baby out with the bathwater. True, it did cause too many false alarms. But a better solution is to keep the logic but add some additional logic to reduce the number of false alarms.
2018-08-21 13:07:29 -06:00
Gregory Nutt
b0d8a2d31f
Update C coding standard.
2018-08-21 12:56:36 -06:00
Gregory Nutt
cc31f22213
tools/nxstyle.c: Back out part of a recent addition that was causing too many false alarms. drivers/wireless/ieee80211: Make a couple of files conform to the coding standard (and other cosmetic fixes).
2018-08-21 12:46:00 -06:00
Gregory Nutt
af9fb080e0
fix a spelling error
2018-08-21 10:33:16 -06:00
Gregory Nutt
2e0860e193
net/procfs/netdev_statistics.c: Was not handling the output correct for the case of an IEEE 802.11 device.
2018-08-21 09:08:29 -06:00
Evgeniy Bobkov
df7565e557
arch/arm/src/stm32f7/stm32_serial.c: Previous logic would invalidate the data cache as each byte was read from the DMA buffer. This change adds logic to invalidate the data cache less frequently by monitoring the state of the Rx DMA buffer cache coherency and invalidating only regions as necessary. This commit also reverts commit e17d8c719e
which has a logic error in cases where data is removed from the Rx DMA buffer at a rate higher than it is added to the Rx DMA buffer.
2018-08-21 06:20:23 -06:00
Gregory Nutt
0e7fa2c9b0
Update some comments.
2018-08-20 22:06:04 -06:00