I saw this in a recent PR sent by Sascha Ittner:
github.com/sittner/linuxcnc/pull/70
github.com/LinuxCNC/linuxcnc/pull/3845/c...7ac47d8c5d436a843202
Description: joint_ctrl_main.c
* Standalone HAL realtime component for single-joint control.
*
* Provides: homing, keyboard jogging, jogwheel jogging, trapezoidal
* trajectory planning, following-error monitoring, limit-switch
* handling, and backlash compensation — all as a self-contained
* HAL component independent of the full LinuxCNC motion controller.