| change g_usrsock_rpmsg_handler's defination to make it C89 compatible Signed-off-by: 梁超众 <liangchaozhong@xiaomi.com> | 2 个月前 |
| boards/spresense: remove BOARDIOC_SDCARD_SETNOTIFYCB ioctl Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com> | 2 个月前 |
| boards/spresense: remove BOARDIOC_SDCARD_SETNOTIFYCB ioctl Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com> | 2 个月前 |
| boards/spresense: remove BOARDIOC_SDCARD_SETNOTIFYCB ioctl Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com> | 2 个月前 |
| boards/spresense: remove BOARDIOC_SDCARD_SETNOTIFYCB ioctl Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com> | 2 个月前 |
| boards/spresense: remove BOARDIOC_SDCARD_SETNOTIFYCB ioctl Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com> | 2 个月前 |
| Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| mm: Add double-free detection to delay list When same memory is freed twice and both added to delay list (race condition in interrupt context), it causes crash later in mm_forcefree() when processing the delay list. This patch adds early detection in add_delaylist() using: 1. Magic value (addr ^ 0xDEADBEEF) for O(1) fast path 2. List traversal for confirmation when magic matches The double-free will be caught immediately with DEBUGASSERT instead of crashing later in free_delaylist() Changes: - Add MM_DELAY_MAGIC and magic field to mm_delaynode_s - Implement two-step detection in add_delaylist() - Sync implementation across mm_heap and tlsf allocators Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 |