Rev 628 | Rev 820 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 628 | Rev 651 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #define CONFIG_MEMORY_SIZE (8*1024*1024) |
38 | #define CONFIG_MEMORY_SIZE (8*1024*1024) |
39 | #define CONFIG_HEAP_SIZE (300*1024) |
39 | #define CONFIG_HEAP_SIZE (300*1024) |
40 | #define CONFIG_STACK_SIZE STACK_SIZE |
40 | #define CONFIG_STACK_SIZE STACK_SIZE |
41 | 41 | ||
42 | struct config { |
42 | struct config { |
- | 43 | count_t cpu_count; |
|
- | 44 | volatile count_t cpu_active; |
|
- | 45 | ||
43 | __address base; |
46 | __address base; |
44 | size_t memory_size; |
47 | size_t memory_size; |
45 | size_t kernel_size; |
- | |
46 | 48 | ||
47 | __address init_addr; |
49 | __address init_addr; |
48 | size_t init_size; |
50 | size_t init_size; |
49 | 51 | ||
50 | count_t cpu_count; |
52 | __address heap_addr; |
51 | volatile count_t cpu_active; |
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 */ |
|
52 | }; |
57 | }; |
53 | 58 | ||
54 | extern config_t config; |
59 | extern config_t config; |
55 | 60 | ||
56 | #endif |
61 | #endif |