static void init_excp_620 (CPUPPCState *env)

{

#if !defined(CONFIG_USER_ONLY)

    env->excp_vectors[POWERPC_EXCP_RESET]    = 0x00000100;

    env->excp_vectors[POWERPC_EXCP_MCHECK]   = 0x00000200;

    env->excp_vectors[POWERPC_EXCP_DSI]      = 0x00000300;

    env->excp_vectors[POWERPC_EXCP_DSEG]     = 0x00000380;

    env->excp_vectors[POWERPC_EXCP_ISI]      = 0x00000400;

    env->excp_vectors[POWERPC_EXCP_ISEG]     = 0x00000480;

    env->excp_vectors[POWERPC_EXCP_EXTERNAL] = 0x00000500;

    env->excp_vectors[POWERPC_EXCP_ALIGN]    = 0x00000600;

    env->excp_vectors[POWERPC_EXCP_PROGRAM]  = 0x00000700;

    env->excp_vectors[POWERPC_EXCP_FPU]      = 0x00000800;

    env->excp_vectors[POWERPC_EXCP_DECR]     = 0x00000900;

    env->excp_vectors[POWERPC_EXCP_SYSCALL]  = 0x00000C00;

    env->excp_vectors[POWERPC_EXCP_TRACE]    = 0x00000D00;

    env->excp_vectors[POWERPC_EXCP_FPA]      = 0x00000E00;

    env->excp_vectors[POWERPC_EXCP_PERFM]    = 0x00000F00;

    env->excp_vectors[POWERPC_EXCP_IABR]     = 0x00001300;

    env->excp_vectors[POWERPC_EXCP_SMI]      = 0x00001400;

    env->excp_prefix = 0xFFF00000UL;

    /* Hardware reset vector */

    env->hreset_vector = 0x0000000000000100ULL;

#endif

}

static void init_excp_620 (CPUPPCState *env)

{

#if !defined(CONFIG_USER_ONLY)

    env->excp_vectors[POWERPC_EXCP_RESET]    = 0x00000100;

    env->excp_vectors[POWERPC_EXCP_MCHECK]   = 0x00000200;

    env->excp_vectors[POWERPC_EXCP_DSI]      = 0x00000300;

    env->excp_vectors[POWERPC_EXCP_DSEG]     = 0x00000380;

    env->excp_vectors[POWERPC_EXCP_ISI]      = 0x00000400;

    env->excp_vectors[POWERPC_EXCP_ISEG]     = 0x00000480;

    env->excp_vectors[POWERPC_EXCP_EXTERNAL] = 0x00000500;

    env->excp_vectors[POWERPC_EXCP_ALIGN]    = 0x00000600;

    env->excp_vectors[POWERPC_EXCP_PROGRAM]  = 0x00000700;

    env->excp_vectors[POWERPC_EXCP_FPU]      = 0x00000800;

    env->excp_vectors[POWERPC_EXCP_DECR]     = 0x00000900;

    env->excp_vectors[POWERPC_EXCP_SYSCALL]  = 0x00000C00;

    env->excp_vectors[POWERPC_EXCP_TRACE]    = 0x00000D00;

    env->excp_vectors[POWERPC_EXCP_FPA]      = 0x00000E00;

    env->excp_vectors[POWERPC_EXCP_PERFM]    = 0x00000F00;

    env->excp_vectors[POWERPC_EXCP_IABR]     = 0x00001300;

    env->excp_vectors[POWERPC_EXCP_SMI]      = 0x00001400;

    env->excp_prefix = 0xFFF00000UL;

    

    env->hreset_vector = 0x0000000000000100ULL;

#endif

}

static void FUNC_0 (CPUPPCState *VAR_0)

{

#if !defined(CONFIG_USER_ONLY)

    VAR_0->excp_vectors[POWERPC_EXCP_RESET]    = 0x00000100;

    VAR_0->excp_vectors[POWERPC_EXCP_MCHECK]   = 0x00000200;

    VAR_0->excp_vectors[POWERPC_EXCP_DSI]      = 0x00000300;

    VAR_0->excp_vectors[POWERPC_EXCP_DSEG]     = 0x00000380;

    VAR_0->excp_vectors[POWERPC_EXCP_ISI]      = 0x00000400;

    VAR_0->excp_vectors[POWERPC_EXCP_ISEG]     = 0x00000480;

    VAR_0->excp_vectors[POWERPC_EXCP_EXTERNAL] = 0x00000500;

    VAR_0->excp_vectors[POWERPC_EXCP_ALIGN]    = 0x00000600;

    VAR_0->excp_vectors[POWERPC_EXCP_PROGRAM]  = 0x00000700;

    VAR_0->excp_vectors[POWERPC_EXCP_FPU]      = 0x00000800;

    VAR_0->excp_vectors[POWERPC_EXCP_DECR]     = 0x00000900;

    VAR_0->excp_vectors[POWERPC_EXCP_SYSCALL]  = 0x00000C00;

    VAR_0->excp_vectors[POWERPC_EXCP_TRACE]    = 0x00000D00;

    VAR_0->excp_vectors[POWERPC_EXCP_FPA]      = 0x00000E00;

    VAR_0->excp_vectors[POWERPC_EXCP_PERFM]    = 0x00000F00;

    VAR_0->excp_vectors[POWERPC_EXCP_IABR]     = 0x00001300;

    VAR_0->excp_vectors[POWERPC_EXCP_SMI]      = 0x00001400;

    VAR_0->excp_prefix = 0xFFF00000UL;

    

    VAR_0->hreset_vector = 0x0000000000000100ULL;

#endif

}

static void FUNC_0 (CPUPPCState *VAR_0)
{ #if !defined(CONFIG_USER_ONLY)
VAR_0->excp_vectors[POWERPC_EXCP_RESET]    = 0x00000100; VAR_0->excp_vectors[POWERPC_EXCP_MCHECK]   = 0x00000200; VAR_0->excp_vectors[POWERPC_EXCP_DSI]      = 0x00000300; VAR_0->excp_vectors[POWERPC_EXCP_DSEG]     = 0x00000380; VAR_0->excp_vectors[POWERPC_EXCP_ISI]      = 0x00000400; VAR_0->excp_vectors[POWERPC_EXCP_ISEG]     = 0x00000480; VAR_0->excp_vectors[POWERPC_EXCP_EXTERNAL] = 0x00000500; VAR_0->excp_vectors[POWERPC_EXCP_ALIGN]    = 0x00000600; VAR_0->excp_vectors[POWERPC_EXCP_PROGRAM]  = 0x00000700; VAR_0->excp_vectors[POWERPC_EXCP_FPU]      = 0x00000800; VAR_0->excp_vectors[POWERPC_EXCP_DECR]     = 0x00000900; VAR_0->excp_vectors[POWERPC_EXCP_SYSCALL]  = 0x00000C00; VAR_0->excp_vectors[POWERPC_EXCP_TRACE]    = 0x00000D00; VAR_0->excp_vectors[POWERPC_EXCP_FPA]      = 0x00000E00; VAR_0->excp_vectors[POWERPC_EXCP_PERFM]    = 0x00000F00; VAR_0->excp_vectors[POWERPC_EXCP_IABR]     = 0x00001300; VAR_0->excp_vectors[POWERPC_EXCP_SMI]      = 0x00001400; VAR_0->excp_prefix = 0xFFF00000UL; VAR_0->hreset_vector = 0x0000000000000100ULL; #endif
}