dongjiuzhu1
e4739ab575
fs/tmpfs: add munmap interface for tmpfs file map
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 08:05:39 -07:00
wanggang26
9d67c7b6ac
binfmt/elf: both regular file and non-regular file (such as /dev/node) should be accessible
...
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2023-07-28 07:52:37 -07:00
dongjiuzhu1
7d281f46de
sim/hostfs: fix issue about access file with size more than 2GB
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 07:42:12 -07:00
dongjiuzhu1
f8991f7782
vfs/dup: add nonblock flag to avoid happening block when dup
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 07:41:51 -07:00
dongjiuzhu1
9fdf36c17e
drivers/ramdisk: don't free memory for romdisk
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 07:40:53 -07:00
dongjiuzhu1
9a22741e32
net/rpmsg: get credentials between client and server
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 07:40:00 -07:00
yangjiao
c2e1aa281d
fs/semaphore/sem_open: update the logic when the semaphore name length is greater than PATH_MAX or a component length is greater than NAME_MAX.
...
Follow the POSIX specification in https://pubs.opengroup.org/onlinepubs/9699919799/functions/sem_open.html , update the logic for condition that the semaphore name length is greater than PATH_MAX or a component length is greater than NAME_MAX.
Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2023-07-28 07:38:41 -07:00
dongjiuzhu1
afec562fbb
drivers/clk: support using clk function at interrupt and idle
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 07:12:51 -07:00
liaoao
9ef19af5bb
rpmsgblk: correct args of read operations
...
Signed-off-by: liaoao <liaoao@xiaomi.com>
2023-07-28 07:10:47 -07:00
liaoao
bc0af1e531
rpmsgblk: add support for mmc_ioc_cmd/mmc_multi_ioc_cmd
...
Signed-off-by: liaoao <liaoao@xiaomi.com>
2023-07-28 07:10:47 -07:00
liaoao
a44f498842
rpmsgclk: allow client to disable clk of server
...
Signed-off-by: liaoao <liaoao@xiaomi.com>
2023-07-28 06:57:29 -07:00
xucheng5
872913e67b
netdev_upperhalf: reply logic only for ipv4/ipv6/arp input
...
VELAPLATFO-12228
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
2023-07-28 06:56:35 -07:00
xucheng5
04c4207dee
driver/net : net_upperhalf support NET_LL_CAN
...
VELAPLATFO-9099
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
2023-07-28 06:56:35 -07:00
dongjiuzhu1
1a609c53d7
misc/rwbuffer: using unify lock function for lock and unlock
...
if disable CONFIG_DRVR_WRITEBUFFER, the lock and unlock will misc match.
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 05:10:39 -07:00
dongjiuzhu1
1cc67b68f2
fs/procfs: call the close of each component when procfs_close
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 05:09:07 -07:00
dongjiuzhu1
37fc0a0208
drivers/mmcsd_sdio: config timout to write one data block
...
Some hardware needs to config this delay to write one data block, because
the hardware needs more time to wear leveling and bad block manage.
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 05:01:36 -07:00
dongjiuzhu1
21d19f89af
driver/adc: fill in missing parameters about adc driver
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-07-28 05:00:19 -07:00
Tiago Medicci Serrano
8673e659b4
espressif: quiet git commands and improve build logging
...
Add `--quiet` to git commands to avoid unnecessary logging during
the operation and add summarized logs to show progress.
2023-07-27 19:43:48 -07:00
Tiago Medicci Serrano
e38b4b2103
espressif: fix linker to include the reserved area of RTC memory
...
Basically, it reserves an area of the RTC memory to preserve the
RTC timer.
Please refer to:
fa76c82a5b
This commit also removes the rtc.dummy section because C3, C6 and
H2 don't need to skip it once the region is accessed by the same
address space using the instruction and data bus.
2023-07-27 19:43:48 -07:00
Tiago Medicci Serrano
8e343405a2
espressif: update esp-hal-3rdparty
...
The esp-hal-3rdparty release include general bugfixes.
2023-07-27 19:43:48 -07:00
hujun5
68187b68af
arch: move [enter|leave]_critical_section
...
move [enter|leave]_critical_section to the same place for easy to understand
and call matching
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-07-27 11:34:09 +02:00
raiden00pl
5c9c518f7f
cmake: format docstrings
2023-07-27 02:32:49 -07:00
Zhihong Chen
8e85e52708
drivers: usbhost: fix usbhost_hidkbd some errors
...
- usbhost_send_request(): data should using DRVR_ALLOC buffer
- fix usbhost_cralloc() assert variable
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-07-27 00:51:59 -07:00
SPRESENSE
b515f9a360
arch: cxd56xx: Fix compile error
...
Add inttypes.h to fix a compile error in cxd56_emmc.c.
2023-07-26 22:14:31 -07:00
hujun5
ad6b12acf5
arm/trustzone: update defconfig
...
we should add CONFIG_ARCH_TRUSTZONE_NONSECURE=y to ap's defconfig
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-07-26 18:53:28 -07:00
Ville Juven
6bafdd45fd
riscv/mpfs: Set hart2 default entrypoint to -1 like the others
...
No reason to have a different entrypoint
2023-07-26 19:58:05 -03:00
hujun5
4109908013
binfmt: remove sched_[un]lock
...
In the current usage mode, multiple tasks will not modify g_binfmts simultaneously
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-07-26 09:43:51 -07:00
yuexinyi
baefa5fa6b
Revert "drivers/video: Don't need update vbuf_tail in dequeue_vbuf_unsafe"
...
This reverts commit e15bccaa71
.
Signed-off-by: yuexinyi <yuexinyi@xiaomi.com>
2023-07-26 07:45:30 -07:00
anjiahao
2645e59901
sim/tcbinfo:add ebp to tcbinfo
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-07-26 06:57:25 -07:00
guoshichao
02153a2afb
pthread_atfork: fix the incorrect description in comments
...
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2023-07-26 04:51:13 -07:00
raiden00pl
ef252fc0fc
arch/nrf91/modem: fix returned source address
2023-07-26 04:51:05 -07:00
wangyingdong
5ac8c71663
net/ipfrag:Fixed ref not initializing warning issue
...
CC: libssh/src/auth.c
1ipfrag/ipv4_frag.c: In function 'ipv4_fragout':
ipfrag/ipv4_frag.c:224:7: error: 'ref' may be used uninitialized in this function [-Werror-maybe-uninitialized]
224 | lmemcpy(ipv4, ref, iphdrlen);
ipfrag/ipv4_frag.c:364:26: note: 'ref' was declared here
364 | FAR struct ipv4_hdr_s *ref;
CC: tls/task initinfo c
Signed-off-by: wangyingdong <wangyingdong@xiaomi.com>
2023-07-26 08:36:04 -03:00
raiden00pl
5769952471
cmake: add support for compile definitions for apps
...
With this we can pass build options to compiled app which is useful for integrating external projects
2023-07-26 02:52:58 -07:00
guoshichao
9d7f349664
libs/pthread/pthread_atfork: fulfill implement pthread_atfork function
...
1. add the pthread_atfork implementation
2. the pthread_atfork implementation are referred to https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_atfork.html
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2023-07-26 10:41:52 +02:00
guoshichao
3524f4b9ce
libs/libc/fork: add lib_fork implementation
...
1. add lib_fork api in libs/libc, we need a fork() api to implement the
fork relative method, such as pthread_atfork
2. rename the assembly fork entry function name to up_fork(), and rename
the up_fork() to arch specific name, such as
sim_fork()/arm_fork()/mips_fork() etc.
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2023-07-26 10:41:52 +02:00
Xiang Xiao
46b25b3849
arch: Compute the array size by nitems
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-26 09:33:38 +02:00
Xiang Xiao
7ca4c916eb
arch/sparc: Add g_tcb_info
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-26 09:33:38 +02:00
Xiang Xiao
94f273130e
arch/x86_64: Add g_tcb_info
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-26 09:33:38 +02:00
Xiang Xiao
8d46cfd8e5
arch/x86: Add g_tcb_info
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-26 09:33:38 +02:00
Xiang Xiao
f3269a6caa
sched: Rename DEBUG_TCBINFO to ARCH_HAVE_TCBINFO
...
and select if the arch support to define g_tcbinfo variable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-26 09:33:38 +02:00
dependabot[bot]
f295ac6fb3
build(deps): bump certifi from 2023.5.7 to 2023.7.22 in /Documentation
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 18:06:14 -07:00
anjiahao
d5347d8915
arm64:fix ostest failed to run
...
The reason for the failure is incorrect sp,
resulting in the failure to restore the register
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-07-25 16:37:49 -03:00
Tiago Medicci Serrano
dacb4e87b6
espressif: get esp-hal-3rdparty sources based on its version
...
Clone the esp-hal-3rdparty repository and, then, checkout to a
specific version (usually indicated by the commit SHA) instead of
using a branch as the HEAD.
2023-07-25 09:44:59 -07:00
Tiago Medicci Serrano
a5c92582a4
Rename CamelCase symbols to lowercase
2023-07-25 08:51:17 -07:00
Alan Carvalho de Assis
35ec548033
Remove empty lines with spaces found in the source code
2023-07-25 08:51:17 -07:00
Neale Ferguson
ed4f651bbd
Fix modlib to get binary loading working again
...
This patch fixes the issue reported here:
https://github.com/apache/nuttx/issues/9845
2023-07-25 08:51:17 -07:00
raiden00pl
60200b6c9b
arch/nrf91: make all interrupts non-secure only if CONFIG_NRF91_SPU_NONSECURE=y
...
this fixes configurations that works only in secure environment (for testing and dev purposes)
2023-07-25 08:49:24 -07:00
raiden00pl
5c74a50963
add EPL licence option
2023-07-25 17:30:45 +02:00
raiden00pl
e48d730273
cmake: enable more cmake builds
2023-07-25 06:18:22 -07:00
Zhe Weng
9dc5a59d50
libc/netdb: Move dns query info and buffer out of the stack
...
The length of these buffers come from Kconfig, it isn't safe to allocate
them on the stack.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-07-25 06:17:48 -07:00