Stuart Ianna
05c6d7c7b9
litex: Add PWM driver.
...
PWM driver for multiple peripherals supplied in gateware.
Only single channel frequency and duty cycle control is implemented. Pulse counting and multichannel features are not currently feasible.
Additions also include a new board configuration for arty-a7 which enables the PWM driver and example application.
2023-02-01 09:34:57 -03:00
zhuyanlin
96a70b908f
arch:xtena: modify timer interrupt level large to XCHAL_IRQ_LEVEL level.
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-02-01 14:04:44 +08:00
Huang Qi
8b27d60bcd
tools: Make zig available for arm/riscv/sim
...
Add essential compile flags to make zig available out of box.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-02-01 11:12:44 +08:00
qiaohaijiao1
38039df16a
sim/sim_alsa.c: support streaming data when offload playback.
...
Audio offload playback, change data organization from fragmented to
streaming.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-02-01 11:03:36 +08:00
Stuart Ianna
26ac5335e5
litex: Add GPIO driver.
...
GPIO driver with optional ISR support. Allows for multiple GPIO peripherals to be specified at an arbitrary addresses.
2023-02-01 11:02:03 +08:00
Nathan Hartman
fdb149ddb0
Kconfig: Improve help text related to *_SERIALBRK_BSDCOMPAT
...
* arch/arm/src/gd32f4/Kconfig
(GD32F4_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32/Kconfig
(STM32_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32f7/Kconfig
(STM32F7_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32h7/Kconfig
(STM32H7_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32l4/Kconfig
(STM32L4_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32l5/Kconfig
(STM32L5_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32u5/Kconfig
(STM32U5_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32wb/Kconfig
(STM32WB_SERIALBRK_BSDCOMPAT): Improve help text.
2023-02-01 10:58:34 +08:00
Lucas Saavedra Vaz
f07885541c
arch/xtensa/esp32: Propagate RTC IRQ status register to lower levels
2023-02-01 00:45:52 +08:00
Xiang Xiao
9f027208d4
fs: Add model field to geometry and mtd_geometry_s
...
the model is very useful to track the device info
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 11:50:28 -03:00
Jukka Laitinen
4f957f8031
arch/arm/src/lc823450/lc823450_i2c.c: Remove extra rounding after MSEC2TIC change to round up
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-31 22:42:29 +08:00
Jukka Laitinen
05eb8541d1
Revert "arch/arm/src/stm32f7/stm32_i2c.c: Round up stm32_i2c_toticks return value"
...
This reverts commit fe6f6870dcc431cecf0fa94187cff05ec040cf47.
2023-01-31 22:42:29 +08:00
Xiang Xiao
55679aec5f
drivers/camera: Support the private data for imgsensor and imgdata
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 08:04:39 +01:00
David Vosahlik
372fee9412
Added SocketCAN driver implementation to the tiva chip, modified the EK-TC1294XL launchpad board to use the new SocketCAN API
2023-01-31 14:07:23 +08:00
yinshengkai
3f97a87162
tools: add separate flags parameter for COMPILE/COMPILEXX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-01-31 13:42:33 +08:00
Huang Qi
570c7587c7
risc-v/Toolchain.defs: Correct indent
2023-01-31 11:19:47 +08:00
Zhe Weng
d3dd349649
net: Implement shutdown() for usrsock
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-31 11:15:01 +08:00
lilei19
1d8af7e105
add holder for mutex
...
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-01-31 12:08:05 +09:00
Nathan Hartman
6b89b6f945
Remove executable permissions from source files
...
* arch/arm/src/sama5/sam_flexcom_spi.h,
arch/risc-v/src/mpfs/mpfs_ihc_sbi.c,
drivers/usbdev/adb.c,
libs/libc/math/lib_scalbn.c,
libs/libc/math/lib_scalbnf.c,
net/ipfrag/Make.defs,
net/ipfrag/ipfrag.c,
net/ipfrag/ipfrag.h,
net/ipfrag/ipv4_frag.c,
net/ipfrag/ipv6_frag.c: Remove executable permission.
2023-01-30 20:34:51 -03:00
Nathan Hartman
f63754c4c0
arch/tiva: Remove dead store
...
* arch/arm/src/tiva/common/tiva_can.c:
(tiva_can_initialize): Remove the local variable 'canmod', which was
assigned but never used.
2023-01-31 01:36:09 +08:00
chao an
0f35ad29a8
arm/unwinder: set default unwinder type to arm exidx/extab
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-31 00:38:42 +08:00
Jiuzhu Dong
17f410e647
arch/sim: add toolchain library libm
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2023-01-30 20:32:14 +08:00
rajvinder kaur
2b30f17607
stm32h7: socket CAN error handling.
2023-01-30 11:22:49 +08:00
pengyiqiang
0443889124
sim_framebuffer: fix fb_pollnotify not called
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-01-29 17:34:36 -03:00
ligd
9e39600c83
arch: fix sim_x11events calls but sim_x11initialize() hasn't ready
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-29 17:34:36 -03:00
chao an
82520c0006
arm/itm_syslog: remove invaild select config
...
1. CONFIG_SYSLOG has been removed by Nutt on below commit:
| commit c5ac473bc0
| Author: Gregory Nutt <gnutt@nuttx.org>
| Date: Tue Jun 21 07:58:42 2016 -0600
|
| SYSLOG: Remove an obsolete, unused configuration item from Kconfig file
2. Fix comile warning
| armv7-m/arm_itm_syslog.c: In function 'itm_syslog_initialize':
| armv7-m/arm_itm_syslog.c:183:18: warning: passing argument 1 of 'syslog_channel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
| 183 | syslog_channel(&g_itm_channel);
| | ^~~~~~~~~~~~~~
| In file included from armv7-m/arm_itm_syslog.c:29:
| nuttx/syslog/syslog.h:155:49: note: expected 'struct syslog_channel_s *' but argument is of type 'const struct syslog_channel_s *'
| 155 | int syslog_channel(FAR struct syslog_channel_s *channel);
| |
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-29 19:54:55 +08:00
zhangyuan21
e6d2f0623a
backtrace: use CURRENT_REGS when in interrupt context
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-01-29 02:48:00 -08:00
qinwei1
b989e4f3a6
arch:arm64: add support for nuttx arm64 Toolchain Selection
...
Summary:
1. to enable Toolchain select Kconfig option, making something depend on
the opton to be configured with menuconfig
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-01-29 14:37:16 +08:00
zhanghongyu
4ea43f2df2
sim: init events field when send ack/dack
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-01-29 14:34:09 +08:00
chao an
cc7dc89c64
arch/sim: fix undefined reference to `usrsock_event_callback'
...
/usr/bin/ld: sim_hostusrsock.o: in function `host_usrsock_loop':
arch/sim/src/sim/posix/sim_hostusrsock.c:514: undefined reference to `usrsock_event_callback'
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-29 14:33:37 +08:00
Xiang Xiao
7d66a16c53
Minor style clean up
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-28 19:53:20 +02:00
Jukka Laitinen
7d54d04613
arch/arm/src/stm32f7/stm32_i2c.c: Round up stm32_i2c_toticks return value
...
When sending small number of bytes with larger CONFIG_USEC_PER_TICK
this function should return at least 1. Solve this by rounding
up the result.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-28 12:11:33 -03:00
Xiang Xiao
964a41283c
arm/tlsr82: Fix warning: "IC_TAG_CACHE_ADDR_EQU_EN" is not defined
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-28 11:30:33 -03:00
Xiang Xiao
ac3a667860
Fix chip/intel64_handlers.c:136: error: "SIGFPE" redefined [-Werror]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-27 13:21:49 -03:00
Ville Juven
42d0e356c2
arch/addrenv: Change group_addrenv_t to arch_addrenv_t
...
This is preparation for moving address environments out of the group
structure into the tcb.
Why move ? Because the group is destroyed very early in the exit phase,
but the MMU mappings are needed until the context switch to the next
process is complete. Otherwise the MMU will lose its mappings and the
system will crash.
2023-01-27 23:17:01 +08:00
Max Kriegleder
8c465a64b9
stm32h7: add lower half timer driver
2023-01-27 13:29:10 +08:00
Alan Carvalho de Assis
e0cb643545
Update arch/xtensa/src/esp32s3/esp32s3_rng.c
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-27 13:16:35 +08:00
Alan Carvalho de Assis
2d635be05f
Update arch/xtensa/src/esp32s3/esp32s3_rng.c
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-27 13:16:35 +08:00
Alan Carvalho de Assis
b27351828a
esp32s3: Add RNG driver
...
Fix multiplier noticed by Tiago
Co-author: Tiago Medicci <tiago.medicci@espressif.com>
2023-01-27 13:16:35 +08:00
Gustavo Henrique Nihei
80bbb0f24c
esp32c3: Fix IRQ initialization, it was crashing on DEBUG_ASSERTIONS
...
Co-author: Alan C. Assis <alan.carvalho@espressif.com>
2023-01-27 13:15:39 +08:00
qiaohaijiao1
adba1e5e19
arch/sim: ignore return value of snd_pcm_pause/resume
...
snd_pcm_pause, snd_pcm_resume failed with -5, -38 errno.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-01-27 01:10:15 +02:00
qiaohaijiao1
05a12ba69e
sim/sim_alsa: register pcm1p/pcm1c audio device.
...
use pcm1p/pcm1c to simulate offload playback/capture.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-01-27 01:10:15 +02:00
ligd
d17b6fa58b
sim/alsa: don't let siwtch out when open alsa
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-27 01:10:15 +02:00
chao an
931a4f6969
arch/EXTRA_LIBS: link all staging library
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-27 01:08:26 +02:00
chao an
d031989e0e
arch/arm: make DSP arch extension configurable
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-26 22:39:30 +02:00
Lucas Saavedra Vaz
eee4396b06
arch/xtensa/esp32: Add support for touch pad interruptions
2023-01-26 14:33:08 -03:00
Lucas Saavedra Vaz
c4aa37ee2f
arch/xtensa: Fix 'interruption' typos
2023-01-26 14:33:08 -03:00
Lucas Saavedra Vaz
07fd4b564d
arch/xtensa/esp32: Fix SENS_TOUCH_XPD_WAIT definition
2023-01-26 14:33:08 -03:00
zhuyanlin
3c6b844fcd
arch:xtensa:toolchain: add -Wno-atmoic-alignment flags for xcc
...
see a bug here:
https://bugs.llvm.org/show_bug.cgi?id=43603
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2023-01-26 17:11:54 +02:00
Ville Juven
686b990a85
arch/ARCH_KERNEL_STACK: Fix signal handling with kernel stack
...
There were two issues with signal handling:
- With a kernel stack the "info" parameter was passed from kernel memory.
This is fixed by making a stack frame to the user stack and copying it
there.
- If the signal handler uses a system call, the kernel stack was completely
and unconditionally destroyed, resulting in a crash in the user application
There is also no need to check ustkptr, it is always NULL. Why ? Because
signal delivery is deferred when a system call is being executed.
2023-01-26 20:41:42 +08:00
Petro Karashchenko
a58e73add8
arch/arm/tiva: simplify TIVA_CAN option usage
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 10:26:09 +08:00
Petro Karashchenko
bd7cb522a1
nuttx: use TABs instead of spaces in Kconfig files
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 10:26:09 +08:00
Petro Karashchenko
c4cf1eeb2b
arch/xtensa/esp32s2: switch from semaphore to mutex for exclusive access
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 10:24:05 +08:00
Petro Karashchenko
c415ce518f
arch/xtensa/esp32: style fixes in SPI driver
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 10:24:05 +08:00
Petro Karashchenko
f952b8456c
assert: switch from ASSERT(0/false) to PANIC
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 10:15:34 +08:00
Michael Jung
eaea60a575
armv8-m: Fix pthread_start syscall
...
The 'arg' parameter is in R3, not in R2.
Signed-off-by: Michael Jung <michael.jung@secore.ly>
2023-01-26 04:02:19 +08:00
Petro Karashchenko
be10056702
arch/arm/samv7: fix issue when AFEC1 driver failed to open second time
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 01:26:41 +08:00
Xiang Xiao
d7ee492fc4
board/arch: Remove FAR decorator
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-25 13:05:07 +02:00
Stuart Ianna
34fdc3da0d
litex: Allow custom peripheral memory mapping and IRQ.
2023-01-25 14:11:06 +08:00
Xiang Xiao
43e7b13697
assert: Log the assertion expression in case of fail
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 15:00:19 -03:00
Ville Juven
9b88f8ea5c
riscv/riscv_exception.c: Print the EPC value always
...
The value printed by assert() cannot always be trusted to be correct,
as it relies on the stack / stack pointer not being corrupt.
The CPU register always points to the faulting instruction so print it
out in the exception handler.
2023-01-25 00:55:07 +08:00
Stuart Ianna
f49c20d28f
litex: System clock frequency selectable from Kconfig.
2023-01-24 08:20:16 +01:00
Gustavo Henrique Nihei
e77e12e145
espressif: Stabilize MCUboot support on Espressif chips
...
MCUboot support is no longer behind EXPERIMENTAL for the following
chips:
- ESP32
- ESP32-S2
- ESP32-S3
- ESP32-C3
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-24 08:44:22 +09:00
David Sidrane
15462f3e7a
s32k1xx:serial Do not use TC use TDRE & TIE
2023-01-24 06:47:21 +08:00
raiden00pl
aa7d4b40c1
stm32/foc: move the warning in the right place - should be in stm32f7
2023-01-24 00:44:41 +08:00
raiden00pl
bfdb7f8909
stm32f7,stm32/foc: support for BEMF sensing
...
stm32 version tested with b-g431b-esc1
stm32f7 version not tested on HW
2023-01-22 12:58:04 -03:00
raiden00pl
01d84408e6
stm32,stm32f7/adc: add interface to configure multi mode ADC
2023-01-22 12:58:04 -03:00
raiden00pl
f3fde0e9a8
stm32,stm32f7/foc: improve pwm_off
2023-01-22 12:58:04 -03:00
raiden00pl
bd6a0b08db
stm32,stm32f7/foc: support for pwm_off()
2023-01-21 12:28:16 +08:00
Lucas Saavedra Vaz
39162ebafb
arch/xtensa/esp32: Add support for RTC IRQs
2023-01-21 12:27:35 +08:00
raiden00pl
91d43edffd
drivers/foc: support for BEMF sensing
2023-01-20 21:26:27 +02:00
Alan Carvalho de Assis
2bdb7c0e8d
esp32s2: Add support to EFUSE
2023-01-20 15:41:13 +08:00
Alan Carvalho de Assis
adc5f52fcf
esp32s3: Add support to EFUSE
2023-01-20 15:40:46 +08:00
Max Kriegleder
57034f483d
esp32: fix lower half oneshot for usage with nxsched_oneshot_start
2023-01-20 15:39:47 +08:00
Jukka Laitinen
e2a7cee5ed
arch/mpfs: Make selection of SBI boot or direct boot run-time configurable
...
Allow bootloader to select run-time whether the payload binary is booted with
SBI or directly by jumping to entrypoint address.
- Use just one bitmask to select sbi or direct boot for each hart
- Add mpfs_set_use_sbi function to allow selecting how to boot
- Initialize the bitmask by default according to the configuration flags
- Add a header file for including the function prototypes in bootloader code
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-20 00:08:51 +08:00
Xiang Xiao
fd64e38072
build: Add STACK_USAGE(-fstack-usage) to assist the stack analysis
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 10:35:20 -03:00
Masayuki Ishikawa
dc454765fb
Revert "add holder for mutex"
...
This reverts commit fc176addeb
.
2023-01-19 06:04:48 +09:00
Ville Juven
0922121bc0
riscv/addrenv: Do not free physical memory for SHM area
...
SHM area is just mapped memory, the physical backup is not owned by the
process, so the process must not free it.
In ARM this is already handled as the regions are destroyed one by one,
while this implementation does a page directory walk instead.
2023-01-18 21:59:55 +08:00
David
5dbd082fad
Bugfix of typo in tiva_can.c
2023-01-18 12:15:53 +01:00
Gustavo Henrique Nihei
a4c9da9280
xtensa/esp32: Fix ESP32_SPIRAM_USER_HEAP under Protected mode
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-18 17:41:09 +08:00
Gustavo Henrique Nihei
e451b43798
xtensa/esp32: Improve Wi-Fi driver to support MM_KERNEL_HEAP
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-18 17:41:09 +08:00
Gustavo Henrique Nihei
705e29fb27
xtensa/esp32: Support allocation of userspace heap into External RAM
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-18 17:41:09 +08:00
lilei19
fc176addeb
add holder for mutex
...
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-01-18 17:40:58 +08:00
Zhe Weng
1cf3147626
net/netdev: Avoid hardcoded guardsize when using d_iob
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-18 14:41:07 +08:00
Dong Heng
f35f32d4ee
xtensa/esp32: Fix SPI bugs
...
1. Fix SPI master/slave clock init/deinit error
2. Fix SPI slave RX process error
2023-01-18 12:23:08 +08:00
Ville Juven
201a55c7cb
arm/addrenv_utils: Don't touch L1 mappings in addrenv_destroy()
...
This is unnecessary, the address environment is getting wiped anyway,
there is no need to remove the L1 references because they will get
wiped when the page directory is changed
2023-01-18 11:02:19 +08:00
Ville Juven
58b5a0412e
riscv/addrenv_shm: Add missing sanity check to up_shmdt()
...
A missing sanity check, make sure the last level page table actually exists
before trying to clear entries from it.
2023-01-18 02:45:04 +08:00
anjiahao
bc30b294aa
mm:add heap args to mm_malloc_size
...
use malloc_size inside of where used mm_malloc_size
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-01-17 21:57:37 +08:00
dongjiuzhu1
8101978765
arch/sim: fix compile break when using mallinfo_task with custom mm manager
...
/usr/bin/ld: nuttx.rel: in function `mallinfo_task':
nuttx/mm/umm_heap/umm_mallinfo.c:67: undefined reference to `mm_mallinfo_task'
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-01-17 16:48:30 +08:00
luoyong1
a32124879d
arch/arm/src/armv7-a/r: fix kconfig error of l2 cache latency
...
fix the error of the config name and set latency config param bool to int
Signed-off-by: luoyong1 <luoyong1@xiaomi.com>
2023-01-17 12:45:42 +09:00
Xiang Xiao
62c5afe655
Fix warning in file included from chip/sam_clockconfig.c:34:
...
chip/sam_clockconfig.c: In function 'sam_usbclockconfig':
Error: /github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:51: error: 'regval' is used uninitialized [-Werror=uninitialized]
135 | #define putreg32(v,a) (*(volatile uint32_t *)(a) = (v))
| ^
chip/sam_clockconfig.c:422:12: note: 'regval' was declared here
422 | uint32_t regval;
| ^~~~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-16 18:59:44 -03:00
ligd
fedad91b0d
sim/mem: don't let siwtch out when operated the host mem
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-17 01:18:03 +08:00
ligd
c08cc01c9d
sim/oneshot: don't need sleep_until when open CONFIG_SIM_WALLTIME_SIGNAL
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-17 01:18:03 +08:00
Xiang Xiao
f64da13e9b
libxx: Add CXX_STANDARD to select -std=c++??
...
and default to "c++17"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-16 15:41:57 +02:00
TimJTi
6b4da4ad6e
Ensure SFR CKTRIM register correctly set, SAMA5D2/D3 only
2023-01-16 21:40:00 +08:00
Dong Heng
118222ba46
xtensa/esp32: Partition device supports encryption mode
2023-01-16 09:55:44 -03:00
dongjiuzhu1
7cd325f3be
mm/mm_heap: remove kasan in MM_ADD_BACKTRACE
...
do simple copy to instead of memset and memcpy operation because
they have been instrumented, if you access the posion area,
the system will crash.
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-01-16 20:32:17 +08:00
chao an
415a09115d
boards/sim/windows: enable custom options
...
1. boards/sim: enable child status
2. boards/sim/windows: enable custom options
3. sim/windows: enable hostfs
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-16 20:30:39 +08:00
zhangyuan21
806a2a8b8d
arch/armv7-ar: flush dcache when addr is not aligned with cache line
...
When invalidate address is not aligned with cache line,
must align address and flush the cache line.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-01-16 16:14:32 +08:00
zhangyuan21
4bb155db64
arch/arm: add barrier instruction for cache ops
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-01-16 16:14:32 +08:00
Xiang Xiao
f783f5c384
arch/arm: Fix typo error in cp15_cacheops.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-16 16:14:32 +08:00
Xiang Xiao
1ea9db4ebe
Fix error: implicit declaration of function 'cp15_invalidate_icache'; did you mean 'cp15_invalidate_dcache'?
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-16 16:14:32 +08:00