3 * - By John Hodge (thePowersGang)
6 * - Process management assembly
27 #define POP_GPRS add sp, #16*4; \
38 ldr r10, [sp,#11*4]; \
39 ldr r11, [sp,#12*4]; \
40 ldr r12, [sp,#13*4]; \
45 @ R1: Pointer to where to save old stack
46 @ R2: New address space
53 @ Only update TTBR0 if the task has an explicit address space
55 mcrne p15, 0, r2, c2, c0, 0 @ Set TTBR0 to r2