static void trigger_prot_fault(CPUS390XState *env, target_ulong vaddr,

                               uint64_t asc, int rw, bool exc)

{

    uint64_t tec;



    tec = vaddr | (rw == MMU_DATA_STORE ? FS_WRITE : FS_READ) | 4 | asc >> 46;



    DPRINTF("%s: trans_exc_code=%016" PRIx64 "\n", __func__, tec);



    if (!exc) {

        return;

    }



    trigger_access_exception(env, PGM_PROTECTION, ILEN_LATER_INC, tec);

}

static void trigger_prot_fault(CPUS390XState *env, target_ulong vaddr,

                               uint64_t asc, int rw, bool exc)

{

    uint64_t tec;



    tec = vaddr | (rw == MMU_DATA_STORE ? FS_WRITE : FS_READ) | 4 | asc >> 46;



    DPRINTF("%s: trans_exc_code=%016" PRIx64 "\n", __func__, tec);



    if (!exc) {

        return;

    }



    trigger_access_exception(env, PGM_PROTECTION, ILEN_LATER_INC, tec);

}

static void FUNC_0(CPUS390XState *VAR_0, target_ulong VAR_1,

                               uint64_t VAR_2, int VAR_3, bool VAR_4)

{

    uint64_t tec;



    tec = VAR_1 | (VAR_3 == MMU_DATA_STORE ? FS_WRITE : FS_READ) | 4 | VAR_2 >> 46;



    DPRINTF("%s: trans_exc_code=%016" PRIx64 "\n", __func__, tec);



    if (!VAR_4) {

        return;

    }



    trigger_access_exception(VAR_0, PGM_PROTECTION, ILEN_LATER_INC, tec);

}

static void FUNC_0(CPUS390XState *VAR_0, target_ulong VAR_1,
uint64_t VAR_2, int VAR_3, bool VAR_4)
{ uint64_t tec; tec = VAR_1 | (VAR_3 == MMU_DATA_STORE ? FS_WRITE : FS_READ) | 4 | VAR_2 >> 46; DPRINTF("%s: trans_exc_code=%016" PRIx64 "\n", __func__, tec); if (!VAR_4) { return; } trigger_access_exception(VAR_0, PGM_PROTECTION, ILEN_LATER_INC, tec); }