Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mqueue: refactor of mqueue #13413

Merged
merged 4 commits into from
Sep 29, 2024
Merged

mqueue: refactor of mqueue #13413

merged 4 commits into from
Sep 29, 2024

Commits on Sep 26, 2024

  1. clock: correct compile failed

    LD: nuttx.elf
    ld: /home/ligd/platform/mainline/nuttx/staging/libsched.a(mq_sndinternal.o): in function `wd_start_realtime':
    /home/ligd/platform/mainline/nuttx/include/nuttx/wdog.h:274: undefined reference to `clock_realtime2absticks'
    /home/ligd/platform/mainline/nuttx/include/nuttx/wdog.h:274:(.text+0xad): relocation truncated to fit: R_X86_64_PLT32 against undefined symbol `clock_realtime2absticks'
    ld: /home/ligd/platform/mainline/nuttx/staging/libsched.a(mq_rcvinternal.o): in function `wd_start_realtime':
    /home/ligd/platform/mainline/nuttx/include/nuttx/wdog.h:274: undefined reference to `clock_realtime2absticks'
    /home/ligd/platform/mainline/nuttx/include/nuttx/wdog.h:274:(.text+0xad): relocation truncated to fit: R_X86_64_PLT32 against undefined symbol `clock_realtime2absticks'
    make[1]: *** [Makefile:128: nuttx.elf] Error 1
    make: *** [tools/Unix.mk:551: nuttx.elf] Error 2
    
    Signed-off-by: ligd <[email protected]>
    GUIDINGLI committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    2145732 View commit details
    Browse the repository at this point in the history
  2. sched: change xx_timeout param from pid to tcb

    Signed-off-by: ligd <[email protected]>
    GUIDINGLI committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    4baa0f3 View commit details
    Browse the repository at this point in the history
  3. mqueue: refactor of mqueue

    1. mainly for long time within critical_section
    2. move out memcpy buffer from enter_critical_section()
    3. let mq_send() return fail when mq buffer full in ISR
    
    Signed-off-by: ligd <[email protected]>
    GUIDINGLI committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    5efef98 View commit details
    Browse the repository at this point in the history
  4. ci: corrent the error judgement on mq testcase

    Signed-off-by: ligd <[email protected]>
    GUIDINGLI committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6fe860f View commit details
    Browse the repository at this point in the history