Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1757 | Rev 1780 | ||
|---|---|---|---|
| Line 44... | Line 44... | ||
| 44 | #define CONFIG_MEMORY_SIZE (8 * 1024 * 1024) |
44 | #define CONFIG_MEMORY_SIZE (8 * 1024 * 1024) |
| 45 | 45 | ||
| 46 | #define CONFIG_INIT_TASKS 32 |
46 | #define CONFIG_INIT_TASKS 32 |
| 47 | 47 | ||
| 48 | typedef struct { |
48 | typedef struct { |
| 49 | __address addr; |
49 | uintptr_t addr; |
| 50 | size_t size; |
50 | size_t size; |
| 51 | } init_task_t; |
51 | } init_task_t; |
| 52 | 52 | ||
| 53 | typedef struct { |
53 | typedef struct { |
| 54 | count_t cnt; |
54 | count_t cnt; |
| Line 57... | Line 57... | ||
| 57 | 57 | ||
| 58 | typedef struct { |
58 | typedef struct { |
| 59 | count_t cpu_count; /**< Number of processors detected. */ |
59 | count_t cpu_count; /**< Number of processors detected. */ |
| 60 | volatile count_t cpu_active; /**< Number of processors that are up and running. */ |
60 | volatile count_t cpu_active; /**< Number of processors that are up and running. */ |
| 61 | 61 | ||
| 62 | __address base; |
62 | uintptr_t base; |
| 63 | size_t memory_size; /**< Size of detected memory in bytes. */ |
63 | size_t memory_size; /**< Size of detected memory in bytes. */ |
| 64 | size_t kernel_size; /**< Size of memory in bytes taken by kernel and stack */ |
64 | size_t kernel_size; /**< Size of memory in bytes taken by kernel and stack */ |
| 65 | } config_t; |
65 | } config_t; |
| 66 | 66 | ||
| 67 | extern config_t config; |
67 | extern config_t config; |