Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 331 → Rev 332

/SPARTAN/trunk/arch/mips/src/mips.c
36,6 → 36,7
#include <arch/console.h>
#include <memstr.h>
#include <arch/interrupt.h>
#include <arch/drivers/arc.h>
 
#include <print.h>
 
53,6 → 54,8
/* It is not assumed by default */
cpu_priority_high();
 
init_arc();
 
/* Copy the exception vectors to the right places */
memcpy(TLB_EXC, (char *)tlb_refill_entry, EXCEPTION_JUMP_SIZE);
memcpy(NORM_EXC, (char *)exception_entry, EXCEPTION_JUMP_SIZE);
79,6 → 82,7
cp0_compare_write(cp0_compare_value + cp0_count_read());
 
console_init();
arc_print_memory_map();
}
 
void arch_post_mm_init(void)
110,5 → 114,3
{
supervisor_sp = (__address) &THREAD->kstack[THREAD_STACK_SIZE-SP_DELTA];
}