Lines Matching refs:context

37    context. It is always handled in Secure-EL1.
41 current execution context. It is always handled in either Non-secure EL1
45 depending upon the security state of the current execution context. It is
195 For example, in Arm GICv3, when the execution context is Secure-EL1/
341 via the context management library APIs.
342 A portable interrupt handler implementation must set the target context both in
343 the structure pointed to by the returned pointer and via the context management
371 context management library maintains a copy of the ``SCR_EL3`` system register for
634 #. Saving the entire general purpose register context (x0-x30) immediately
680 function is responsible for restoring the register context from the
708 #. Determining whether a context switch is required. This depends upon the
710 if the security state of the execution context where the interrupt was
712 the interrupt, a context switch is required. The following 2 cases
713 require a context switch from secure to non-secure or vice-versa:
721 The SPD service must save the system register context of the current
722 security state. It must then restore the system register context of the
742 exception level in the non-secure state. The former should save the SP context,
743 restore the non-secure context and arrange for entry into the non-secure state
769 #. It saves the system register context for the non-secure state by calling
773 ``SPSR_EL3.DAIF`` bits in the secure CPU context. It sets ``x0`` to
778 save any other secure context since the TSP is expected to preserve it
781 #. It restores the system register context for the secure state by calling
784 #. It ensures that the secure CPU context is used to program the next
808 the secure CPU context (see step 3 above) in case the TSP had been preempted
811 #. It restores the system register context for the non-secure state by
814 #. It ensures that the non-secure CPU context is used to program the next
854 register context and issues an SMC with ``TSP_PREEMPTED`` as the function
864 #. It saves the system register context for the secure state by calling
867 #. It restores the system register context for the non-secure state by
870 #. It ensures that the non-secure CPU context is used to program the next
874 restoring non secure context.
886 then saves the system register context for the non-secure state by calling
889 #. Restores the secure context by calling
892 #. It ensures that the secure CPU context is used to program the next
916 should save any Secure-EL1 system register context which is needed for resuming