I have a few questions about how interrupts work in seL4.

1) Is it possible to enable/disable interrupt (i.e. __enable_irq or __disable_irq for ARM) in the userspace code of sel4? 
We want to make sure that the execution of the code in the initial process does not get interrupt.

2) My understanding is that the scheduling mechanism in seL4 is priority-based first and round-robin if two processes/threads have the same priority.
Assume process A is the initial process spawned by kernel.

2.0) is my understanding about sel4 scheduling correct?
2.1) Is the initial process guaranteed to have the maximum priority in seL4?
2.2) If another process, say process B, is created by process A with lower priority.
Is it possible for process B to interrupt process A and execute code in B instead while A is executing?

Thanks,


--
Norrathep (Oak) Rattanavipanon
M.S. in Computer Science
University of California - Irvine