/* set an interrupt stub to jump to a handler ! NOTE: this does  */
void __init __set_intr_stub(enum exception_code code, void *handler)
/* set an interrupt stub to jump to a handler ! NOTE: this does  */
void __init __set_intr_stub(enum exception_code code, void *handler)
{
	unsigned long addr;
	u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code);
	addr = (unsigned long) handler - (unsigned long) vector;
	vector[0] = 0xdc;
	vector[1] = addr;
	vector[2] = addr >> 8;
	vector[3] = addr >> 16;
	vector[4] = addr >> 24;
	vector[5] = 0xcb;
	vector[6] = 0xcb;
	vector[7] = 0xcb;
}