Searched refs:new_cs (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/target/i386/tcg/ |
H A D | seg_helper.c | 1454 void helper_ljmp_protected(CPUX86State *env, int new_cs, target_ulong new_eip, in helper_ljmp_protected() argument 1460 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected() 1463 if (load_segment_ra(env, &e1, &e2, new_cs, GETPC()) != 0) { in helper_ljmp_protected() 1464 raise_exception_err_ra(env, EXCP0D_GPF, new_cs & 0xfffc, GETPC()); in helper_ljmp_protected() 1469 raise_exception_err_ra(env, EXCP0D_GPF, new_cs & 0xfffc, GETPC()); in helper_ljmp_protected() 1475 raise_exception_err_ra(env, EXCP0D_GPF, new_cs & 0xfffc, GETPC()); in helper_ljmp_protected() 1479 rpl = new_cs & 3; in helper_ljmp_protected() 1481 raise_exception_err_ra(env, EXCP0D_GPF, new_cs & 0xfffc, GETPC()); in helper_ljmp_protected() 1484 raise_exception_err_ra(env, EXCP0D_GPF, new_cs & 0xfffc, GETPC()); in helper_ljmp_protected() 1488 raise_exception_err_ra(env, EXCP0B_NOSEG, new_cs & 0xfffc, GETPC()); in helper_ljmp_protected() [all …]
|
H A D | translate.c | 1903 TCGv_i32 new_cs = tcg_temp_new_i32(); in gen_far_call() local 1904 tcg_gen_trunc_tl_i32(new_cs, s->T1); in gen_far_call() 1906 gen_helper_lcall_protected(tcg_env, new_cs, s->T0, in gen_far_call() 1912 gen_helper_lcall_real(tcg_env, new_cs, new_eip, in gen_far_call() 1922 TCGv_i32 new_cs = tcg_temp_new_i32(); in gen_far_jmp() local 1923 tcg_gen_trunc_tl_i32(new_cs, s->T1); in gen_far_jmp() 1924 gen_helper_ljmp_protected(tcg_env, new_cs, s->T0, in gen_far_jmp()
|
/openbmc/linux/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm.c | 748 critical_section_t *new_cs; in cs_alloc() local 750 new_cs= (critical_section_t *)malloc(sizeof(critical_section_t)); in cs_alloc() 751 if (new_cs == NULL) in cs_alloc() 753 memset(new_cs, 0, sizeof(*new_cs)); in cs_alloc() 755 TAILQ_INSERT_TAIL(&cs_tailq, new_cs, links); in cs_alloc() 756 return new_cs; in cs_alloc()
|