Rev 651 | Rev 1037 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 651 | Rev 820 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | #include <arch/mm/page.h> |
34 | #include <arch/mm/page.h> |
35 | 35 | ||
36 | #define STACK_SIZE PAGE_SIZE |
36 | #define STACK_SIZE PAGE_SIZE |
37 | 37 | ||
38 | #define CONFIG_MEMORY_SIZE (8*1024*1024) |
38 | #define CONFIG_MEMORY_SIZE (8*1024*1024) |
39 | #define CONFIG_HEAP_SIZE (300*1024) |
- | |
40 | #define CONFIG_STACK_SIZE STACK_SIZE |
39 | #define CONFIG_STACK_SIZE STACK_SIZE |
41 | 40 | ||
42 | struct config { |
41 | struct config { |
43 | count_t cpu_count; |
42 | count_t cpu_count; |
44 | volatile count_t cpu_active; |
43 | volatile count_t cpu_active; |
Line 47... | Line 46... | ||
47 | size_t memory_size; |
46 | size_t memory_size; |
48 | 47 | ||
49 | __address init_addr; |
48 | __address init_addr; |
50 | size_t init_size; |
49 | size_t init_size; |
51 | 50 | ||
52 | __address heap_addr; |
- | |
53 | size_t heap_size; |
- | |
54 | size_t heap_delta; /**< Extra space between heap and stack (enforced by alignment requirements) */ |
- | |
55 | - | ||
56 | size_t kernel_size; /**< Size of memory in bytes taken by kernel, heap and stack */ |
51 | size_t kernel_size; /**< Size of memory in bytes taken by kernel and stack */ |
57 | }; |
52 | }; |
58 | 53 | ||
59 | extern config_t config; |
54 | extern config_t config; |
60 | 55 | ||
61 | #endif |
56 | #endif |