Example #1
0
int blockade_interrupt(void)
{
	timer_suspendcpu(0, 0, SUSPEND_ANY_REASON);

	if ((input_port_0_r(0) & 0x80) == 0)
	{
		just_been_reset = 1;
		cpu_set_reset_line(0,PULSE_LINE);
	}

	return ignore_interrupt();
}
Example #2
0
void jaguar_dsp_resume(void)
{
	timer_suspendcpu(2, 0, SUSPEND_REASON_SPIN);
}
Example #3
0
void jaguar_dsp_suspend(void)
{
	timer_suspendcpu(2, 1, SUSPEND_REASON_SPIN);
}