Pregunta de entrevista de Qualcomm

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