[PATCH v2 1/1] x86_64: Fix stack aligment for x86-64 SysV ABI

2024-04-01 Thread Matheus Pecoraro
Makes the code in bsp/x86_64/amd64/start/start.S and the stack frame setup by _CPU_Context_Initialize align the stack properly according to what is expected by the x86-64 SysV ABI Updates #2898 Closes #5004 --- bsps/x86_64/amd64/clock/eficlock.c| 28 ++- bsps/x86_64/am

Re: [Bugfix rtems-lwip 4/4] Fix crash due to link_detect_thread

2024-04-01 Thread Kinsey Moore
The intent of this patch is fine, but changes should be purely additive and properly wrapped in the __rtems__ check. The addition of thread startup at the end should also be wrapped in !NO_SYS. Kinsey On Sun, Mar 31, 2024 at 5:49 PM Bernd Moessner wrote: > Within xemac_add, the link_detect_thre

Re: [Bugfix rtems-lwip 3/4] Correct the task prio of link_detect_thread

2024-04-01 Thread Kinsey Moore
You might be seeing different behavior than I have if you're running single-core. Almost all my lwIP usage has been on 4 cores on the ZynqMP. Kinsey On Sun, Mar 31, 2024 at 5:49 PM Bernd Moessner wrote: > On my side, the link_detect_thread never gets to running state. > I assume that the issues