static void init_proc_755 (CPUPPCState *env)

{

    gen_spr_ne_601(env);

    gen_spr_7xx(env);

    gen_spr_G2_755(env);

    /* Time base */

    gen_tbl(env);

    /* L2 cache control */

    /* XXX : not implemented */

    spr_register(env, SPR_L2CR, "L2CR",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, NULL,

                 0x00000000);

    /* XXX : not implemented */

    spr_register(env, SPR_L2PMCR, "L2PMCR",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    /* Thermal management */

    gen_spr_thrm(env);

    /* Hardware implementation registers */

    /* XXX : not implemented */

    spr_register(env, SPR_HID0, "HID0",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    /* XXX : not implemented */

    spr_register(env, SPR_HID1, "HID1",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    /* XXX : not implemented */

    spr_register(env, SPR_HID2, "HID2",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    /* Memory management */

    gen_low_BATs(env);

    gen_high_BATs(env);

    gen_6xx_7xx_soft_tlb(env, 64, 2);

    init_excp_7x5(env);

    env->dcache_line_size = 32;

    env->icache_line_size = 32;

    /* Allocate hardware IRQ controller */

    ppc6xx_irq_init(env);

}

static void init_proc_755 (CPUPPCState *env)

{

    gen_spr_ne_601(env);

    gen_spr_7xx(env);

    gen_spr_G2_755(env);

    

    gen_tbl(env);

    

    

    spr_register(env, SPR_L2CR, "L2CR",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, NULL,

                 0x00000000);

    

    spr_register(env, SPR_L2PMCR, "L2PMCR",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    gen_spr_thrm(env);

    

    

    spr_register(env, SPR_HID0, "HID0",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    spr_register(env, SPR_HID1, "HID1",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    spr_register(env, SPR_HID2, "HID2",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    gen_low_BATs(env);

    gen_high_BATs(env);

    gen_6xx_7xx_soft_tlb(env, 64, 2);

    init_excp_7x5(env);

    env->dcache_line_size = 32;

    env->icache_line_size = 32;

    

    ppc6xx_irq_init(env);

}

                 &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,                  &spr_read_generic, NULL,
static void FUNC_0 (CPUPPCState *VAR_0)

{

    gen_spr_ne_601(VAR_0);

    gen_spr_7xx(VAR_0);

    gen_spr_G2_755(VAR_0);

    

    gen_tbl(VAR_0);

    

    

    spr_register(VAR_0, SPR_L2CR, "L2CR",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, NULL,

                 0x00000000);

    

    spr_register(VAR_0, SPR_L2PMCR, "L2PMCR",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    gen_spr_thrm(VAR_0);

    

    

    spr_register(VAR_0, SPR_HID0, "HID0",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    spr_register(VAR_0, SPR_HID1, "HID1",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    spr_register(VAR_0, SPR_HID2, "HID2",

                 SPR_NOACCESS, SPR_NOACCESS,

                 &spr_read_generic, &spr_write_generic,

                 0x00000000);

    

    gen_low_BATs(VAR_0);

    gen_high_BATs(VAR_0);

    gen_6xx_7xx_soft_tlb(VAR_0, 64, 2);

    init_excp_7x5(VAR_0);

    VAR_0->dcache_line_size = 32;

    VAR_0->icache_line_size = 32;

    

    ppc6xx_irq_init(VAR_0);

}

static void FUNC_0 (CPUPPCState *VAR_0)
{ gen_spr_ne_601(VAR_0); gen_spr_7xx(VAR_0); gen_spr_G2_755(VAR_0); gen_tbl(VAR_0); spr_register(VAR_0, SPR_L2CR, "L2CR",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, NULL,
0x00000000); spr_register(VAR_0, SPR_L2PMCR, "L2PMCR",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, &spr_write_generic,
0x00000000); gen_spr_thrm(VAR_0); spr_register(VAR_0, SPR_HID0, "HID0",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, &spr_write_generic,
0x00000000); spr_register(VAR_0, SPR_HID1, "HID1",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, &spr_write_generic,
0x00000000); spr_register(VAR_0, SPR_HID2, "HID2",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, &spr_write_generic,
0x00000000); gen_low_BATs(VAR_0); gen_high_BATs(VAR_0); gen_6xx_7xx_soft_tlb(VAR_0, 64, 2); init_excp_7x5(VAR_0); VAR_0->dcache_line_size = 32; VAR_0->icache_line_size = 32; ppc6xx_irq_init(VAR_0); }