Lines Matching full:rtas
9 * RTAS is called with MSR IR, DR, EE disabled, and LR in the return address.
11 * Note: r3 is an input parameter to rtas, so don't trash it...
19 LOAD_REG_ADDR(r4, rtas)
20 lis r6,1f@ha /* physical return address for rtas */
55 * 32-bit rtas on 64-bit machines has the additional problem that RTAS may
63 /* Because RTAS is running in 32b mode, it clobbers the high order half
65 * RTAS might touch to the stack. (r0, r3-r12 are caller saved)
81 /* Temporary workaround to clear CR until RTAS can be modified to
91 * our original state after RTAS returns.
102 LOAD_REG_ADDR(r4, rtas)
103 ld r5,RTASENTRY(r4) /* get the rtas->entry value */
104 ld r4,RTASBASE(r4) /* get the rtas->base value */
107 * RTAS runs in 32-bit big endian real mode, but leave MSR[RI] on as we
108 * may hit NMI (SRESET or MCE) while in RTAS. RTAS should disable RI in
111 * MSR[S] is set, it will remain when entering RTAS.
112 * If we're in HV mode, RTAS must also run in HV mode, so extract MSR_HV
113 * from the saved MSR value and insert into the value RTAS will use.