Beispiel #1
0
static void __init ps3_setup_arch(void)
{
	union ps3_firmware_version v;

	DBG(" -> %s:%d\n", __func__, __LINE__);

	ps3_get_firmware_version(&v);
	printk(KERN_INFO "PS3 firmware version %u.%u.%u\n", v.major, v.minor,
		v.rev);

	ps3_spu_set_platform();
	ps3_map_htab();

#ifdef CONFIG_SMP
	smp_init_ps3();
#endif

#ifdef CONFIG_DUMMY_CONSOLE
	conswitchp = &dummy_con;
#endif

	prealloc_ps3fb_videomemory();
	ppc_md.power_save = ps3_power_save;

	DBG(" <- %s:%d\n", __func__, __LINE__);
}
Beispiel #2
0
static void __init ps3_setup_arch(void)
{

    DBG(" -> %s:%d\n", __func__, __LINE__);

    lv1_get_version_info(&ps3_firmware_version.raw);
    printk(KERN_INFO "PS3 firmware version %u.%u.%u\n",
           ps3_firmware_version.major, ps3_firmware_version.minor,
           ps3_firmware_version.rev);

    ps3_spu_set_platform();

#ifdef CONFIG_SMP
    smp_init_ps3();
#endif

#ifdef CONFIG_DUMMY_CONSOLE
    conswitchp = &dummy_con;
#endif

    prealloc_ps3fb_videomemory();
    prealloc_ps3flash_bounce_buffer();

    ppc_md.power_save = ps3_power_save;
    ps3_os_area_init();

    DBG(" <- %s:%d\n", __func__, __LINE__);
}