Rev 2722 | Rev 3230 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2722 | Rev 2725 | ||
---|---|---|---|
Line 44... | Line 44... | ||
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_frame_init()) { |
48 | if (!arc_frame_init()) { |
49 | zone_create(0, ADDR2PFN(config.memory_size), 1, 0); |
49 | zone_create(0, ADDR2PFN(CONFIG_MEMORY_SIZE), 1, 0); |
50 | /* |
50 | /* |
51 | * Blacklist interrupt vector |
51 | * Blacklist interrupt vector |
52 | */ |
52 | */ |
53 | frame_mark_unavailable(0, 1); |
53 | frame_mark_unavailable(0, 1); |
54 | } |
54 | } |