The Deadline inversion is solved by PIP already embedded in the RTEMS.
It was necessary to pull out another function for the pluggable
infrastructure (deadline comparison) in order to solve this issue.
The scheduler is now capable of handling two policies simultaneously
(deadlines and priorities) while priorities are always considered less
important, thus enqueued as very far deadlines.
Not tested. A lot of bugs will definitely show up.