seL4/libsel4
Kent McLeod 00a9ba9123 aarch32: Move tpidruro from vcpu to tcb context
This register is visible to software executing at PL0 but not writeable.
Storing it in the VCPU context required custom save/restore handling as
it had to be explicitly handled when switching from a VCPU thread to a
non-VCPU thread so that it didn't become a channel. It is possible to
now update this register via seL4_TCB_WriteRegisters for software
executing at PL0.

This also fixes a bug where if a vcpu-thread is switched for a
non-vcpu-thread and then switched to a different vcpu-thread the
original vcpu-thread's copy of this register will get set to 0.

Signed-off-by: Kent McLeod <Kent.Mcleod@data61.csiro.au>
2020-05-15 12:04:39 +10:00
..
arch_include Enabled IPC debug features under new config 2020-04-06 14:21:46 +10:00
include Enabled IPC debug features under new config 2020-04-06 14:21:46 +10:00
mode_include replacing all ifndef with pargma once 2020-03-23 11:04:46 +11:00
sel4_arch_include aarch32: Move tpidruro from vcpu to tcb context 2020-05-15 12:04:39 +10:00
sel4_plat_include fixing missed header files 2020-03-23 13:11:51 +11:00
src Enabled IPC debug features under new config 2020-04-06 14:21:46 +10:00
tools aarch32: Move tpidruro from vcpu to tcb context 2020-05-15 12:04:39 +10:00
CMakeLists.txt Enabled IPC debug features under new config 2020-04-06 14:21:46 +10:00