Rev 815 | Rev 823 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 815 | Rev 816 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | 40 | ||
| 41 | void frame_arch_init(void) |
41 | void frame_arch_init(void) |
| 42 | { |
42 | { |
| 43 | zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); |
43 | zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); |
| 44 | 44 | ||
| 45 | - | ||
| 46 | /* |
45 | /* |
| 47 | * Workaround to prevent slab allocator from allocating frame 0. |
46 | * Workaround to prevent slab allocator from allocating frame 0. |
| 48 | * Remove the following statement when the kernel is no longer |
47 | * Remove the following statement when the kernel is no longer |
| 49 | * identity mapped. |
48 | * identity mapped. |
| 50 | */ |
49 | */ |