Lines Matching full:struct
17 /* struct thread_ctx */
18 DEFINE(THREAD_CTX_KERN_SP, offsetof(struct thread_ctx, kern_sp));
19 DEFINE(THREAD_CTX_STACK_VA_END, offsetof(struct thread_ctx,
21 DEFINE(THREAD_CTX_SIZE, sizeof(struct thread_ctx));
23 /* struct thread_core_local */
24 DEFINE(THREAD_CORE_LOCAL_SIZE, sizeof(struct thread_core_local));
26 offsetof(struct thread_core_local, hart_id));
28 offsetof(struct thread_core_local, hart_index));
30 offsetof(struct thread_core_local, tmp_stack_va_end));
32 offsetof(struct thread_core_local, curr_thread));
34 offsetof(struct thread_core_local, flags));
36 offsetof(struct thread_core_local, abt_stack_va_end));
37 DEFINE(THREAD_CORE_LOCAL_X0, offsetof(struct thread_core_local, x[0]));
38 DEFINE(THREAD_CORE_LOCAL_X1, offsetof(struct thread_core_local, x[1]));
43 /* struct thread_ctx_regs */
44 DEFINE(THREAD_CTX_REG_STATUS, offsetof(struct thread_ctx_regs, status));
45 DEFINE(THREAD_CTX_REG_EPC, offsetof(struct thread_ctx_regs, epc));
46 DEFINE(THREAD_CTX_REG_IE, offsetof(struct thread_ctx_regs, ie));
47 DEFINE(THREAD_CTX_REG_RA, offsetof(struct thread_ctx_regs, ra));
48 DEFINE(THREAD_CTX_REG_SP, offsetof(struct thread_ctx_regs, sp));
49 DEFINE(THREAD_CTX_REG_GP, offsetof(struct thread_ctx_regs, gp));
50 DEFINE(THREAD_CTX_REG_TP, offsetof(struct thread_ctx_regs, tp));
51 DEFINE(THREAD_CTX_REG_T0, offsetof(struct thread_ctx_regs, t0));
52 DEFINE(THREAD_CTX_REG_S0, offsetof(struct thread_ctx_regs, s0));
53 DEFINE(THREAD_CTX_REG_A0, offsetof(struct thread_ctx_regs, a0));
54 DEFINE(THREAD_CTX_REG_S2, offsetof(struct thread_ctx_regs, s2));
55 DEFINE(THREAD_CTX_REG_T3, offsetof(struct thread_ctx_regs, t3));
56 DEFINE(THREAD_CTX_REGS_SIZE, sizeof(struct thread_ctx_regs));
58 /* struct thread_user_mode_rec */
60 offsetof(struct thread_user_mode_rec, ctx_regs_ptr));
62 offsetof(struct thread_user_mode_rec, x[0]));
64 offsetof(struct thread_user_mode_rec, x[1]));
66 offsetof(struct thread_user_mode_rec, x[3]));
67 DEFINE(THREAD_USER_MODE_REC_SIZE, sizeof(struct thread_user_mode_rec));
69 /* struct thread_abort_regs */
70 DEFINE(THREAD_ABT_REG_RA, offsetof(struct thread_abort_regs, ra));
71 DEFINE(THREAD_ABT_REG_SP, offsetof(struct thread_abort_regs, sp));
72 DEFINE(THREAD_ABT_REG_GP, offsetof(struct thread_abort_regs, gp));
73 DEFINE(THREAD_ABT_REG_TP, offsetof(struct thread_abort_regs, tp));
74 DEFINE(THREAD_ABT_REG_T0, offsetof(struct thread_abort_regs, t0));
75 DEFINE(THREAD_ABT_REG_S0, offsetof(struct thread_abort_regs, s0));
76 DEFINE(THREAD_ABT_REG_A0, offsetof(struct thread_abort_regs, a0));
77 DEFINE(THREAD_ABT_REG_S2, offsetof(struct thread_abort_regs, s2));
78 DEFINE(THREAD_ABT_REG_T3, offsetof(struct thread_abort_regs, t3));
79 DEFINE(THREAD_ABT_REG_EPC, offsetof(struct thread_abort_regs, epc));
81 offsetof(struct thread_abort_regs, status));
82 DEFINE(THREAD_ABT_REG_IE, offsetof(struct thread_abort_regs, ie));
83 DEFINE(THREAD_ABT_REG_CAUSE, offsetof(struct thread_abort_regs, cause));
84 DEFINE(THREAD_ABT_REG_TVAL, offsetof(struct thread_abort_regs, tval));
85 DEFINE(THREAD_ABT_REGS_SIZE, sizeof(struct thread_abort_regs));
87 /* struct thread_scall_regs */
88 DEFINE(THREAD_SCALL_REG_RA, offsetof(struct thread_scall_regs, ra));
89 DEFINE(THREAD_SCALL_REG_SP, offsetof(struct thread_scall_regs, sp));
90 DEFINE(THREAD_SCALL_REG_GP, offsetof(struct thread_scall_regs, gp));
91 DEFINE(THREAD_SCALL_REG_TP, offsetof(struct thread_scall_regs, tp));
92 DEFINE(THREAD_SCALL_REG_T0, offsetof(struct thread_scall_regs, t0));
93 DEFINE(THREAD_SCALL_REG_A0, offsetof(struct thread_scall_regs, a0));
94 DEFINE(THREAD_SCALL_REG_T3, offsetof(struct thread_scall_regs, t3));
95 DEFINE(THREAD_SCALL_REG_EPC, offsetof(struct thread_scall_regs, epc));
97 offsetof(struct thread_scall_regs, status));
98 DEFINE(THREAD_SCALL_REG_IE, offsetof(struct thread_scall_regs, ie));
99 DEFINE(THREAD_SCALL_REGS_SIZE, sizeof(struct thread_scall_regs));
101 /* struct core_mmu_config */
102 DEFINE(CORE_MMU_CONFIG_SIZE, sizeof(struct core_mmu_config));
104 offsetof(struct core_mmu_config, satp[0]));
107 offsetof(struct core_mmu_config, map_offset));
109 /* struct thread_abi_args */
110 DEFINE(THREAD_ABI_ARGS_A0, offsetof(struct thread_abi_args, a0));
111 DEFINE(THREAD_ABI_ARGS_SIZE, sizeof(struct thread_abi_args));