Subversion Repositories HelenOS-historic

Rev

Rev 534 | Rev 575 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 573
Line 53... Line 53...
53
void arch_pre_mm_init(void)
53
void arch_pre_mm_init(void)
54
{
54
{
55
    /* It is not assumed by default */
55
    /* It is not assumed by default */
56
    interrupts_disable();
56
    interrupts_disable();
57
 
57
 
58
    init_arc();
58
    arc_init();
59
 
59
 
60
    /* Copy the exception vectors to the right places */
60
    /* Copy the exception vectors to the right places */
61
    memcpy(TLB_EXC, (char *)tlb_refill_entry, EXCEPTION_JUMP_SIZE);
61
    memcpy(TLB_EXC, (char *)tlb_refill_entry, EXCEPTION_JUMP_SIZE);
62
    memcpy(NORM_EXC, (char *)exception_entry, EXCEPTION_JUMP_SIZE);
62
    memcpy(NORM_EXC, (char *)exception_entry, EXCEPTION_JUMP_SIZE);
63
    memcpy(CACHE_EXC, (char *)cache_error_entry, EXCEPTION_JUMP_SIZE);
63
    memcpy(CACHE_EXC, (char *)cache_error_entry, EXCEPTION_JUMP_SIZE);