Home
last modified time | relevance | path

Searched refs:md_cop2 (Results 1 – 4 of 4) sorted by relevance

/trueos/sys/mips/mips/
HDvm_machdep.c200 if (td1->td_md.md_cop2) in cpu_fork()
201 octeon_cop2_save(td1->td_md.md_cop2); in cpu_fork()
207 if (td1->td_md.md_cop2) { in cpu_fork()
208 td2->td_md.md_cop2 = octeon_cop2_alloc_ctx(); in cpu_fork()
209 memcpy(td2->td_md.md_cop2, td1->td_md.md_cop2, in cpu_fork()
210 sizeof(*td1->td_md.md_cop2)); in cpu_fork()
254 if (td->td_md.md_cop2) in cpu_thread_exit()
255 memset(td->td_md.md_cop2, 0, in cpu_thread_exit()
256 sizeof(*td->td_md.md_cop2)); in cpu_thread_exit()
267 if (td->td_md.md_cop2) in cpu_thread_free()
[all …]
HDtrap.c955 if (td->td_md.md_cop2 == NULL) { in trap()
956 td->td_md.md_cop2 = octeon_cop2_alloc_ctx(); in trap()
957 if (td->td_md.md_cop2 == NULL) in trap()
959 memset(td->td_md.md_cop2, 0, sizeof(*td->td_md.md_cop2)); in trap()
962 octeon_cop2_restore(td->td_md.md_cop2); in trap()
998 if (td->td_md.md_cop2) in trap()
999 octeon_cop2_save(td->td_md.md_cop2); in trap()
HDgenassym.c110 ASSYM(TD_COP2, offsetof(struct thread, td_md.md_cop2));
/trueos/sys/mips/include/
HDproc.h66 struct octeon_cop2_state *md_cop2; /* kernel context */ member