Rev 391 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 391 | Rev 413 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | #define CACHE_EXC ((char *) 0x80000100) |
50 | #define CACHE_EXC ((char *) 0x80000100) |
51 | 51 | ||
52 | void arch_pre_mm_init(void) |
52 | void arch_pre_mm_init(void) |
53 | { |
53 | { |
54 | /* It is not assumed by default */ |
54 | /* It is not assumed by default */ |
55 | cpu_priority_high(); |
55 | interrupts_disable(); |
56 | 56 | ||
57 | init_arc(); |
57 | init_arc(); |
58 | 58 | ||
59 | /* Copy the exception vectors to the right places */ |
59 | /* Copy the exception vectors to the right places */ |
60 | memcpy(TLB_EXC, (char *)tlb_refill_entry, EXCEPTION_JUMP_SIZE); |
60 | memcpy(TLB_EXC, (char *)tlb_refill_entry, EXCEPTION_JUMP_SIZE); |