Rev 2071 | Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2722 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | * assume some defaults. |
43 | * assume some defaults. |
44 | * - blacklist first FRAME because there is an exception vector |
44 | * - blacklist first FRAME because there is an exception vector |
45 | */ |
45 | */ |
46 | void frame_arch_init(void) |
46 | void frame_arch_init(void) |
47 | { |
47 | { |
48 | if (arc_enabled()) |
- | |
49 | arc_frame_init(); |
48 | if (!arc_frame_init()) { |
50 | else { |
- | |
51 | zone_create(0, ADDR2PFN(config.memory_size), 1, 0); |
49 | zone_create(0, ADDR2PFN(config.memory_size), 1, 0); |
52 | /* |
50 | /* |
53 | * Blacklist interrupt vector |
51 | * Blacklist interrupt vector |
54 | */ |
52 | */ |
55 | frame_mark_unavailable(0, 1); |
53 | frame_mark_unavailable(0, 1); |