Lines Matching +full:used +full:- +full:by +full:- +full:rtas

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * There are some pointers defined that are utilized by PLIC.
22 #include <asm/exception-64e.h>
24 #include <asm/exception-64s.h>
35 #include <asm-generic/mmiowb_types.h>
51 #define get_lppaca() (get_paca()->lppaca_ptr)
54 #define get_slb_shadow() (get_paca()->slb_shadow_ptr)
62 * This structure is not directly accessed by firmware or the service
70 * read-only (after boot) fields in the first cacheline to
84 u16 lock_token; /* Constant 0x8000, used in locks */
88 u16 lock_token; /* Constant 0x8000, used in locks */
98 /* this becomes non-zero. */
107 u64 dscr_default; /* per-CPU default DSCR */
113 /* used for most interrupts/exceptions */
120 u8 stab_rr; /* stab/slb round-robin counter */
136 /* Shared by all threads of a core -- points to tcd of first thread */
144 u64 exmc[8]; /* used for machine checks */
145 u64 excrit[8]; /* used for crit interrupts */
146 u64 exdbg[8]; /* used for debug interrupts */
148 /* Kernel stack pointers for use by special exceptions */
162 * then miscellaneous read-write fields
166 u64 saved_r1; /* r1 save for RTAS calls or PM or EE=0 */
167 u64 saved_msr; /* MSR saved here by enter_rtas */
172 u16 trap_save; /* Used when bad stack is encountered */
179 u8 irq_happened; /* irq happened while soft-disabled */
180 u8 irq_work_pending; /* IRQ_WORK interrupt while soft-disable */
184 u64 sprg_vdso; /* Saved user-visible sprg */
215 /* Non-maskable exceptions that are not performance critical */
216 u64 exnmi[EX_SIZE]; /* used for system reset (nmi) */
217 u64 exmc[EX_SIZE]; /* used for machine checks */
266 u8 *mce_data_buf; /* buffer to hold per cpu rtas errlog */