Lines Matching refs:frame

48 	iframe* frame = thread_get_current_thread()->arch_info.userFrame;  in arch_set_debug_cpu_state()  local
50 frame->ra = cpuState->x[ 0]; in arch_set_debug_cpu_state()
51 frame->sp = cpuState->x[ 1]; in arch_set_debug_cpu_state()
52 frame->gp = cpuState->x[ 2]; in arch_set_debug_cpu_state()
53 frame->tp = cpuState->x[ 3]; in arch_set_debug_cpu_state()
54 frame->t0 = cpuState->x[ 4]; in arch_set_debug_cpu_state()
55 frame->t1 = cpuState->x[ 5]; in arch_set_debug_cpu_state()
56 frame->t2 = cpuState->x[ 6]; in arch_set_debug_cpu_state()
57 frame->fp = cpuState->x[ 7]; in arch_set_debug_cpu_state()
58 frame->s1 = cpuState->x[ 8]; in arch_set_debug_cpu_state()
59 frame->a0 = cpuState->x[ 9]; in arch_set_debug_cpu_state()
60 frame->a1 = cpuState->x[10]; in arch_set_debug_cpu_state()
61 frame->a2 = cpuState->x[11]; in arch_set_debug_cpu_state()
62 frame->a3 = cpuState->x[12]; in arch_set_debug_cpu_state()
63 frame->a4 = cpuState->x[13]; in arch_set_debug_cpu_state()
64 frame->a5 = cpuState->x[14]; in arch_set_debug_cpu_state()
65 frame->a6 = cpuState->x[15]; in arch_set_debug_cpu_state()
66 frame->a7 = cpuState->x[16]; in arch_set_debug_cpu_state()
67 frame->s2 = cpuState->x[17]; in arch_set_debug_cpu_state()
68 frame->s3 = cpuState->x[18]; in arch_set_debug_cpu_state()
69 frame->s4 = cpuState->x[19]; in arch_set_debug_cpu_state()
70 frame->s5 = cpuState->x[20]; in arch_set_debug_cpu_state()
71 frame->s6 = cpuState->x[21]; in arch_set_debug_cpu_state()
72 frame->s7 = cpuState->x[22]; in arch_set_debug_cpu_state()
73 frame->s8 = cpuState->x[23]; in arch_set_debug_cpu_state()
74 frame->s9 = cpuState->x[24]; in arch_set_debug_cpu_state()
75 frame->s10 = cpuState->x[25]; in arch_set_debug_cpu_state()
76 frame->s11 = cpuState->x[26]; in arch_set_debug_cpu_state()
77 frame->t3 = cpuState->x[27]; in arch_set_debug_cpu_state()
78 frame->t4 = cpuState->x[28]; in arch_set_debug_cpu_state()
79 frame->t5 = cpuState->x[29]; in arch_set_debug_cpu_state()
80 frame->t6 = cpuState->x[30]; in arch_set_debug_cpu_state()
81 frame->epc = cpuState->pc; in arch_set_debug_cpu_state()
96 iframe* frame = thread->arch_info.userFrame; in arch_get_thread_debug_cpu_state() local
97 if (frame == NULL) in arch_get_thread_debug_cpu_state()
100 cpuState->x[ 0] = frame->ra; in arch_get_thread_debug_cpu_state()
101 cpuState->x[ 1] = frame->sp; in arch_get_thread_debug_cpu_state()
102 cpuState->x[ 2] = frame->gp; in arch_get_thread_debug_cpu_state()
103 cpuState->x[ 3] = frame->tp; in arch_get_thread_debug_cpu_state()
104 cpuState->x[ 4] = frame->t0; in arch_get_thread_debug_cpu_state()
105 cpuState->x[ 5] = frame->t1; in arch_get_thread_debug_cpu_state()
106 cpuState->x[ 6] = frame->t2; in arch_get_thread_debug_cpu_state()
107 cpuState->x[ 7] = frame->fp; in arch_get_thread_debug_cpu_state()
108 cpuState->x[ 8] = frame->s1; in arch_get_thread_debug_cpu_state()
109 cpuState->x[ 9] = frame->a0; in arch_get_thread_debug_cpu_state()
110 cpuState->x[10] = frame->a1; in arch_get_thread_debug_cpu_state()
111 cpuState->x[11] = frame->a2; in arch_get_thread_debug_cpu_state()
112 cpuState->x[12] = frame->a3; in arch_get_thread_debug_cpu_state()
113 cpuState->x[13] = frame->a4; in arch_get_thread_debug_cpu_state()
114 cpuState->x[14] = frame->a5; in arch_get_thread_debug_cpu_state()
115 cpuState->x[15] = frame->a6; in arch_get_thread_debug_cpu_state()
116 cpuState->x[16] = frame->a7; in arch_get_thread_debug_cpu_state()
117 cpuState->x[17] = frame->s2; in arch_get_thread_debug_cpu_state()
118 cpuState->x[18] = frame->s3; in arch_get_thread_debug_cpu_state()
119 cpuState->x[19] = frame->s4; in arch_get_thread_debug_cpu_state()
120 cpuState->x[20] = frame->s5; in arch_get_thread_debug_cpu_state()
121 cpuState->x[21] = frame->s6; in arch_get_thread_debug_cpu_state()
122 cpuState->x[22] = frame->s7; in arch_get_thread_debug_cpu_state()
123 cpuState->x[23] = frame->s8; in arch_get_thread_debug_cpu_state()
124 cpuState->x[24] = frame->s9; in arch_get_thread_debug_cpu_state()
125 cpuState->x[25] = frame->s10; in arch_get_thread_debug_cpu_state()
126 cpuState->x[26] = frame->s11; in arch_get_thread_debug_cpu_state()
127 cpuState->x[27] = frame->t3; in arch_get_thread_debug_cpu_state()
128 cpuState->x[28] = frame->t4; in arch_get_thread_debug_cpu_state()
129 cpuState->x[29] = frame->t5; in arch_get_thread_debug_cpu_state()
130 cpuState->x[30] = frame->t6; in arch_get_thread_debug_cpu_state()
131 cpuState->pc = frame->epc; in arch_get_thread_debug_cpu_state()