static void trigger_page_fault(CPUS390XState *env, target_ulong vaddr,

                               uint32_t type, uint64_t asc, int rw)

{

    CPUState *cs = CPU(s390_env_get_cpu(env));

    int ilen = ILEN_LATER;

    int bits = trans_bits(env, asc);



    /* Code accesses have an undefined ilc.  */

    if (rw == 2) {

        ilen = 2;

    }



    DPRINTF("%s: vaddr=%016" PRIx64 " bits=%d\n", __func__, vaddr, bits);



    stq_phys(cs->as,

             env->psa + offsetof(LowCore, trans_exc_code), vaddr | bits);

    trigger_pgm_exception(env, type, ilen);

}

static void trigger_page_fault(CPUS390XState *env, target_ulong vaddr,

                               uint32_t type, uint64_t asc, int rw)

{

    CPUState *cs = CPU(s390_env_get_cpu(env));

    int ilen = ILEN_LATER;

    int bits = trans_bits(env, asc);



    

    if (rw == 2) {

        ilen = 2;

    }



    DPRINTF("%s: vaddr=%016" PRIx64 " bits=%d\n", __func__, vaddr, bits);



    stq_phys(cs->as,

             env->psa + offsetof(LowCore, trans_exc_code), vaddr | bits);

    trigger_pgm_exception(env, type, ilen);

}

static void FUNC_0(CPUS390XState *VAR_0, target_ulong VAR_1,

                               uint32_t VAR_2, uint64_t VAR_3, int VAR_4)

{

    CPUState *cs = CPU(s390_env_get_cpu(VAR_0));

    int VAR_5 = ILEN_LATER;

    int VAR_6 = trans_bits(VAR_0, VAR_3);



    

    if (VAR_4 == 2) {

        VAR_5 = 2;

    }



    DPRINTF("%s: VAR_1=%016" PRIx64 " VAR_6=%d\n", __func__, VAR_1, VAR_6);



    stq_phys(cs->as,

             VAR_0->psa + offsetof(LowCore, trans_exc_code), VAR_1 | VAR_6);

    trigger_pgm_exception(VAR_0, VAR_2, VAR_5);

}

static void FUNC_0(CPUS390XState *VAR_0, target_ulong VAR_1,
uint32_t VAR_2, uint64_t VAR_3, int VAR_4)
{ CPUState *cs = CPU(s390_env_get_cpu(VAR_0)); int VAR_5 = ILEN_LATER; int VAR_6 = trans_bits(VAR_0, VAR_3); if (VAR_4 == 2) { VAR_5 = 2; } DPRINTF("%s: VAR_1=%016" PRIx64 " VAR_6=%d\n", __func__, VAR_1, VAR_6); stq_phys(cs->as,
VAR_0->psa + offsetof(LowCore, trans_exc_code), VAR_1 | VAR_6); trigger_pgm_exception(VAR_0, VAR_2, VAR_5); }