Rev 815 | Rev 843 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 815 | Rev 836 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | #include <config.h> |
31 | #include <config.h> |
32 | #include <panic.h> |
32 | #include <panic.h> |
33 | 33 | ||
34 | void frame_arch_init(void) |
34 | void frame_arch_init(void) |
35 | { |
35 | { |
- | 36 | /* First page is exception vector, |
|
- | 37 | * second is 'implementation specific', evade it too |
|
- | 38 | */ |
|
36 | zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); |
39 | zone_create(0, SIZE2FRAMES(config.memory_size), 2, 0); |
- | 40 | frame_mark_unavailable(0, 2); |
|
37 | } |
41 | } |