...
This commit is contained in:
parent
57e3e2da6f
commit
cb3a829aea
2 changed files with 3 additions and 1 deletions
|
@ -165,7 +165,7 @@ int icc_init(void)
|
|||
SetConfigReg(CRB_OWN + (z==0 ? GLCFG0 : GLCFG1), tmp);
|
||||
|
||||
// set interrupt handler (INTR/LINT0)
|
||||
//irq_install_handler(124, intr_handler);
|
||||
irq_install_handler(124, intr_handler);
|
||||
|
||||
kputs("Now, the SCC is initialized!\n");
|
||||
|
||||
|
|
|
@ -462,6 +462,8 @@ __inline int mmnif_trigger_irq(dest_ip)
|
|||
tmp |= 2;
|
||||
SetConfigReg(addr, tmp);
|
||||
|
||||
DEBUGPRINTF("tried to trigger interrupt");
|
||||
|
||||
return 0;
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue