Home | History | Annotate | Download | only in qemu

Lines Matching full:pair

198 /* Gets translated PC for a given (translated PC, guest PC) pair.
200 * Translated PC, or NULL if pair index was too large.
203 tb_get_tb_pc(const TranslationBlock* tb, unsigned int pair)
205 return (tb->tpc2gpc != NULL && pair < tb->tpc2gpc_pairs) ?
206 tb->tpc2gpc[pair * 2] : 0;
209 /* Gets guest PC for a given (translated PC, guest PC) pair.
211 * Guest PC, or NULL if pair index was too large.
214 tb_get_guest_pc(const TranslationBlock* tb, unsigned int pair)
216 return (tb->tpc2gpc != NULL && pair < tb->tpc2gpc_pairs) ?
217 tb->tpc2gpc[pair * 2 + 1] : 0;
222 * Guest PC for a given translated PC, or NULL if there was no pair, matching