/******************************************************************************
** Function name: install_irq
**
** Descriptions: Install interrupt handler
** The max VIC size is 16, but, there are 32 interrupt
** request inputs. Not all of them can be installed into
** VIC table at the same time.
** The order of the interrupt request installation is
** first come first serve.
** parameters: Interrupt number and interrupt handler address
** Returned value: true or false, when the table is full, return false
**
******************************************************************************/
unsigned long install_irq( unsigned long IntNumber, void *HandlerAddr )
{
unsigned long i;
unsigned long *vect_addr;
unsigned long *vect_cntl;