Lines Matching refs:f
4 void cpu_save(QEMUFile *f, void *opaque) in cpu_save() argument
10 qemu_put_be32(f, env->regs[i]); in cpu_save()
12 qemu_put_be32(f, cpsr_read(env)); in cpu_save()
13 qemu_put_be32(f, env->spsr); in cpu_save()
15 qemu_put_be32(f, env->banked_spsr[i]); in cpu_save()
16 qemu_put_be32(f, env->banked_r13[i]); in cpu_save()
17 qemu_put_be32(f, env->banked_r14[i]); in cpu_save()
20 qemu_put_be32(f, env->usr_regs[i]); in cpu_save()
21 qemu_put_be32(f, env->fiq_regs[i]); in cpu_save()
23 qemu_put_be32(f, env->cp15.c0_cpuid); in cpu_save()
24 qemu_put_be32(f, env->cp15.c0_cachetype); in cpu_save()
25 qemu_put_be32(f, env->cp15.c0_cssel); in cpu_save()
26 qemu_put_be32(f, env->cp15.c1_sys); in cpu_save()
27 qemu_put_be32(f, env->cp15.c1_coproc); in cpu_save()
28 qemu_put_be32(f, env->cp15.c1_xscaleauxcr); in cpu_save()
29 qemu_put_be32(f, env->cp15.c1_secfg); in cpu_save()
30 qemu_put_be32(f, env->cp15.c1_sedbg); in cpu_save()
31 qemu_put_be32(f, env->cp15.c1_nseac); in cpu_save()
32 qemu_put_be32(f, env->cp15.c2_base0); in cpu_save()
33 qemu_put_be32(f, env->cp15.c2_base1); in cpu_save()
34 qemu_put_be32(f, env->cp15.c2_control); in cpu_save()
35 qemu_put_be32(f, env->cp15.c2_mask); in cpu_save()
36 qemu_put_be32(f, env->cp15.c2_base_mask); in cpu_save()
37 qemu_put_be32(f, env->cp15.c2_data); in cpu_save()
38 qemu_put_be32(f, env->cp15.c2_insn); in cpu_save()
39 qemu_put_be32(f, env->cp15.c3); in cpu_save()
40 qemu_put_be32(f, env->cp15.c5_insn); in cpu_save()
41 qemu_put_be32(f, env->cp15.c5_data); in cpu_save()
43 qemu_put_be32(f, env->cp15.c6_region[i]); in cpu_save()
45 qemu_put_be32(f, env->cp15.c6_insn); in cpu_save()
46 qemu_put_be32(f, env->cp15.c6_data); in cpu_save()
47 qemu_put_be32(f, env->cp15.c7_par); in cpu_save()
48 qemu_put_be32(f, env->cp15.c9_insn); in cpu_save()
49 qemu_put_be32(f, env->cp15.c9_data); in cpu_save()
50 qemu_put_be32(f, env->cp15.c9_pmcr_data); in cpu_save()
51 qemu_put_be32(f, env->cp15.c9_useren); in cpu_save()
52 qemu_put_be32(f, env->cp15.c9_inten); in cpu_save()
53 qemu_put_be32(f, env->cp15.c13_fcse); in cpu_save()
54 qemu_put_be32(f, env->cp15.c13_context); in cpu_save()
55 qemu_put_be32(f, env->cp15.c13_tls1); in cpu_save()
56 qemu_put_be32(f, env->cp15.c13_tls2); in cpu_save()
57 qemu_put_be32(f, env->cp15.c13_tls3); in cpu_save()
58 qemu_put_be32(f, env->cp15.c15_cpar); in cpu_save()
60 qemu_put_be32(f, env->cp14_dbgdidr); in cpu_save()
62 qemu_put_be32(f, env->features); in cpu_save()
68 qemu_put_be32(f, u.l.upper); in cpu_save()
69 qemu_put_be32(f, u.l.lower); in cpu_save()
72 qemu_put_be32(f, env->vfp.xregs[i]); in cpu_save()
76 qemu_put_be32(f, env->vfp.vec_len); in cpu_save()
77 qemu_put_be32(f, env->vfp.vec_stride); in cpu_save()
83 qemu_put_be32(f, u.l.upper); in cpu_save()
84 qemu_put_be32(f, u.l.lower); in cpu_save()
91 qemu_put_be64(f, env->iwmmxt.regs[i]); in cpu_save()
94 qemu_put_be32(f, env->iwmmxt.cregs[i]); in cpu_save()
99 qemu_put_be32(f, env->v7m.other_sp); in cpu_save()
100 qemu_put_be32(f, env->v7m.vecbase); in cpu_save()
101 qemu_put_be32(f, env->v7m.basepri); in cpu_save()
102 qemu_put_be32(f, env->v7m.control); in cpu_save()
103 qemu_put_be32(f, env->v7m.current_sp); in cpu_save()
104 qemu_put_be32(f, env->v7m.exception); in cpu_save()
108 qemu_put_be32(f, env->teecr); in cpu_save()
109 qemu_put_be32(f, env->teehbr); in cpu_save()
113 int cpu_load(QEMUFile *f, void *opaque, int version_id) in cpu_load() argument
123 env->regs[i] = qemu_get_be32(f); in cpu_load()
125 val = qemu_get_be32(f); in cpu_load()
129 env->spsr = qemu_get_be32(f); in cpu_load()
131 env->banked_spsr[i] = qemu_get_be32(f); in cpu_load()
132 env->banked_r13[i] = qemu_get_be32(f); in cpu_load()
133 env->banked_r14[i] = qemu_get_be32(f); in cpu_load()
136 env->usr_regs[i] = qemu_get_be32(f); in cpu_load()
137 env->fiq_regs[i] = qemu_get_be32(f); in cpu_load()
139 env->cp15.c0_cpuid = qemu_get_be32(f); in cpu_load()
140 env->cp15.c0_cachetype = qemu_get_be32(f); in cpu_load()
141 env->cp15.c0_cssel = qemu_get_be32(f); in cpu_load()
142 env->cp15.c1_sys = qemu_get_be32(f); in cpu_load()
143 env->cp15.c1_coproc = qemu_get_be32(f); in cpu_load()
144 env->cp15.c1_xscaleauxcr = qemu_get_be32(f); in cpu_load()
145 env->cp15.c1_secfg = qemu_get_be32(f); in cpu_load()
146 env->cp15.c1_sedbg = qemu_get_be32(f); in cpu_load()
147 env->cp15.c1_nseac = qemu_get_be32(f); in cpu_load()
148 env->cp15.c2_base0 = qemu_get_be32(f); in cpu_load()
149 env->cp15.c2_base1 = qemu_get_be32(f); in cpu_load()
150 env->cp15.c2_control = qemu_get_be32(f); in cpu_load()
151 env->cp15.c2_mask = qemu_get_be32(f); in cpu_load()
152 env->cp15.c2_base_mask = qemu_get_be32(f); in cpu_load()
153 env->cp15.c2_data = qemu_get_be32(f); in cpu_load()
154 env->cp15.c2_insn = qemu_get_be32(f); in cpu_load()
155 env->cp15.c3 = qemu_get_be32(f); in cpu_load()
156 env->cp15.c5_insn = qemu_get_be32(f); in cpu_load()
157 env->cp15.c5_data = qemu_get_be32(f); in cpu_load()
159 env->cp15.c6_region[i] = qemu_get_be32(f); in cpu_load()
161 env->cp15.c6_insn = qemu_get_be32(f); in cpu_load()
162 env->cp15.c6_data = qemu_get_be32(f); in cpu_load()
163 env->cp15.c7_par = qemu_get_be32(f); in cpu_load()
164 env->cp15.c9_insn = qemu_get_be32(f); in cpu_load()
165 env->cp15.c9_data = qemu_get_be32(f); in cpu_load()
166 env->cp15.c9_pmcr_data = qemu_get_be32(f); in cpu_load()
167 env->cp15.c9_useren = qemu_get_be32(f); in cpu_load()
168 env->cp15.c9_inten = qemu_get_be32(f); in cpu_load()
169 env->cp15.c13_fcse = qemu_get_be32(f); in cpu_load()
170 env->cp15.c13_context = qemu_get_be32(f); in cpu_load()
171 env->cp15.c13_tls1 = qemu_get_be32(f); in cpu_load()
172 env->cp15.c13_tls2 = qemu_get_be32(f); in cpu_load()
173 env->cp15.c13_tls3 = qemu_get_be32(f); in cpu_load()
174 env->cp15.c15_cpar = qemu_get_be32(f); in cpu_load()
176 env->cp14_dbgdidr = qemu_get_be32(f); in cpu_load()
178 env->features = qemu_get_be32(f); in cpu_load()
183 u.l.upper = qemu_get_be32(f); in cpu_load()
184 u.l.lower = qemu_get_be32(f); in cpu_load()
188 env->vfp.xregs[i] = qemu_get_be32(f); in cpu_load()
192 env->vfp.vec_len = qemu_get_be32(f); in cpu_load()
193 env->vfp.vec_stride = qemu_get_be32(f); in cpu_load()
198 u.l.upper = qemu_get_be32(f); in cpu_load()
199 u.l.lower = qemu_get_be32(f); in cpu_load()
207 env->iwmmxt.regs[i] = qemu_get_be64(f); in cpu_load()
210 env->iwmmxt.cregs[i] = qemu_get_be32(f); in cpu_load()
215 env->v7m.other_sp = qemu_get_be32(f); in cpu_load()
216 env->v7m.vecbase = qemu_get_be32(f); in cpu_load()
217 env->v7m.basepri = qemu_get_be32(f); in cpu_load()
218 env->v7m.control = qemu_get_be32(f); in cpu_load()
219 env->v7m.current_sp = qemu_get_be32(f); in cpu_load()
220 env->v7m.exception = qemu_get_be32(f); in cpu_load()
224 env->teecr = qemu_get_be32(f); in cpu_load()
225 env->teehbr = qemu_get_be32(f); in cpu_load()