Domanda di colloquio di Qualcomm

how does a bootloader work? what is priority inversion and how it is solved ?compare the ways