Lines Matching +full:native +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-only
21 * to zero which determines a BE endianness that is the native
27 * endianness "flipped back" to the native endianness (BE).
67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
70 * Little-Endian Machine in trap_signal_handler()
94 * not in transacional mode). On te other hand, if after in trap_signal_handler()
95 * the return from the signal handler the endianness in- in trap_signal_handler()
98 * and (4) are executed (tbegin.; trap;) and we get sim- in trap_signal_handler()
99 * ilaly on the trap signal handler, but now in TM mode. in trap_signal_handler()
104 * Finally, getting a trap in TM mode or not is just in trap_signal_handler()
109 * a trap caught in non-transactional mode is the very in trap_signal_handler()
116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler()
123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler()
130 * Big-Endian Machine in trap_signal_handler()
139 * trap in TM mode. in trap_signal_handler()
141 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
147 * second trap event endianness will flip back "automat- in trap_signal_handler()
155 * Once here it means that after returning from the sec- in trap_signal_handler()
171 ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
200 * [NA] means "Native Endianness", i.e. it tells how a in ping()
201 * instruction is executed on machine's native endianness (in in ping()
202 * other words, native endianness matches kernel endianness). in ping()
204 * tells how a instruction is executed as a LE instruction; con- in ping()
207 * that the native interpretation of a given instruction is not in ping()
283 * Bind thread ping() and pong() both to CPU 0 so they ping-pong and in tm_trap_test()
295 le ? "Little-Endian" : "Big-Endian", in tm_trap_test()