src/ssx/occhw/occhw_irq_init.c
/// Set or clear interrupt debug mode explicitly.
Set or clear interrupt debug mode explicitly.
Set or clear interrupt debug mode explicitly .
void
ssx_irq_debug_set(SsxIrqId irq, int value)
{
    SsxMachineContext ctx;
    ssx_critical_section_enter(SSX_CRITICAL, &ctx);
    if (value)
    {
    }
    else
    {
    }
    ssx_critical_section_exit(&ctx);
}
void ssx_irq_debug_set ( SsxIrqId irq , int value ) { SsxMachineContext ctx ; ssx_critical_section_enter ( SSX_CRITICAL , & ctx ) ; if ( value ) { } else { } ssx_critical_section_exit ( & ctx ) ; }
Set or clear interrupt debug mode explicitly.
Set or clear interrupt debug mode explicitly .
//uint32_t ouder; //TODO: port this over to using the OIRR instead of the OUDER //ouder = in32(OCCHW_OUDER(irq)); //out32(OCCHW_OUDER(irq), ouder | OCCHW_IRQ_MASK32(irq)); //out32(OCCHW_OUDER(irq), ouder & ~OCCHW_IRQ_MASK32(irq));