5.3: Exercises
- When a task is executed in user mode, try to access some of the system registers. Make sure that a synchronous exception is generated in this case. Handle this exception, use
esr_el1
register to distinguish it from a system call. - Implement a new system call that can be used to set current task priority. Demonstrate how priority changes are dynamically applied while the task is running.
- Adapt lesson 05 to run on qemu. Check this issue for reference.
Previous Page
5.2 User processes and system calls: Linux