Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1433 → Rev 1434

/kernel/trunk/arch/mips32/src/mips32.c
80,8 → 80,6
/* Initialize dispatch table */
exception_init();
interrupt_init();
 
arc_init();
 
/* Copy the exception vectors to the right places */
89,6 → 87,7
memcpy(NORM_EXC, (char *)exception_entry, EXCEPTION_JUMP_SIZE);
memcpy(CACHE_EXC, (char *)cache_error_entry, EXCEPTION_JUMP_SIZE);
 
interrupt_init();
/*
* Switch to BEV normal level so that exception vectors point to the kernel.
* Clear the error level.
99,16 → 98,12
* Mask all interrupts
*/
cp0_mask_all_int();
 
/*
* Unmask hardware clock interrupt.
*/
cp0_unmask_int(TIMER_IRQ);
 
/*
* Start hardware clock.
*/
cp0_compare_write(cp0_compare_value + cp0_count_read());
 
console_init();
debugger_init();
}