Пример #1
0
/***************************************************************************
    INITIALIZATION AND RESET
***************************************************************************/
void pcu_init(dsp56k_core* cpustate, device_t *device)
{
	/* Init the irq table */
	dsp56k_irq_table_init();

	/* save states - dsp56k_pcu members */
	device->save_item(NAME(cpustate->PCU.pc));
	device->save_item(NAME(cpustate->PCU.la));
	device->save_item(NAME(cpustate->PCU.lc));
	device->save_item(NAME(cpustate->PCU.sr));
	device->save_item(NAME(cpustate->PCU.omr));
	device->save_item(NAME(cpustate->PCU.sp));
	device->save_item(NAME(cpustate->PCU.ss));
	device->save_item(NAME(cpustate->PCU.pending_interrupts));
	device->save_item(NAME(cpustate->PCU.reset_vector));
}
Пример #2
0
/***************************************************************************
    INITIALIZATION AND RESET
***************************************************************************/
static void pcu_init(dsp56k_core* cpustate)
{
	// Init the irq table
	dsp56k_irq_table_init();
}