Lines Matching full:new

66  * and PSTATE into ELR and SPSR respectively, and compute the new PC/PSTATE.
84 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local
112 new = 0; in enter_exception64()
114 new |= (old & PSR_N_BIT); in enter_exception64()
115 new |= (old & PSR_Z_BIT); in enter_exception64()
116 new |= (old & PSR_C_BIT); in enter_exception64()
117 new |= (old & PSR_V_BIT); in enter_exception64()
120 new |= PSR_TCO_BIT; in enter_exception64()
122 new |= (old & PSR_DIT_BIT); in enter_exception64()
130 new |= (old & PSR_PAN_BIT); in enter_exception64()
132 new |= PSR_PAN_BIT; in enter_exception64()
143 new |= PSR_SSBS_BIT; in enter_exception64()
148 new |= PSR_D_BIT; in enter_exception64()
149 new |= PSR_A_BIT; in enter_exception64()
150 new |= PSR_I_BIT; in enter_exception64()
151 new |= PSR_F_BIT; in enter_exception64()
153 new |= target_mode; in enter_exception64()
155 *vcpu_cpsr(vcpu) = new; in enter_exception64()
180 unsigned long old, new; in get_except32_cpsr() local
183 new = 0; in get_except32_cpsr()
185 new |= (old & PSR_AA32_N_BIT); in get_except32_cpsr()
186 new |= (old & PSR_AA32_Z_BIT); in get_except32_cpsr()
187 new |= (old & PSR_AA32_C_BIT); in get_except32_cpsr()
188 new |= (old & PSR_AA32_V_BIT); in get_except32_cpsr()
189 new |= (old & PSR_AA32_Q_BIT); in get_except32_cpsr()
195 new |= (old & PSR_AA32_DIT_BIT); in get_except32_cpsr()
200 new |= PSR_AA32_SSBS_BIT; in get_except32_cpsr()
205 new |= (old & PSR_AA32_PAN_BIT); in get_except32_cpsr()
207 new |= PSR_AA32_PAN_BIT; in get_except32_cpsr()
214 new |= (old & PSR_AA32_GE_MASK); in get_except32_cpsr()
223 new |= PSR_AA32_E_BIT; in get_except32_cpsr()
229 new |= (old & PSR_AA32_A_BIT); in get_except32_cpsr()
231 new |= PSR_AA32_A_BIT; in get_except32_cpsr()
236 new |= PSR_AA32_I_BIT; in get_except32_cpsr()
242 new |= (old & PSR_AA32_F_BIT); in get_except32_cpsr()
244 new |= PSR_AA32_F_BIT; in get_except32_cpsr()
250 new |= PSR_AA32_T_BIT; in get_except32_cpsr()
252 new |= mode; in get_except32_cpsr()
254 return new; in get_except32_cpsr()