Home
last modified time | relevance | path

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

/openbmc/qemu/hw/misc/
H A Dmips_cmgcr.c76 MIPSGCRVPState *current_vps = &gcr->vps[current_cpu->cpu_index]; in gcr_read() local
77 MIPSGCRVPState *other_vps = &gcr->vps[current_vps->other]; in gcr_read()
105 return current_vps->reset_base; in gcr_read()
109 return current_vps->other; in gcr_read()
130 MIPSGCRVPState *current_vps = &gcr->vps[current_cpu->cpu_index]; in gcr_write() local
131 MIPSGCRVPState *other_vps = &gcr->vps[current_vps->other]; in gcr_write()
144 current_vps->reset_base = data & GCR_CL_RESET_BASE_MSK; in gcr_write()
146 get_exception_base(current_vps)); in gcr_write()
150 cpu_set_exception_base(current_vps->other, in gcr_write()
155 current_vps->other = data & GCR_CL_OTHER_MSK; in gcr_write()