Rev 3022 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3022 | Rev 4055 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
39 | #include <arch/mm/page.h> |
39 | #include <arch/mm/page.h> |
40 | 40 | ||
41 | #define STACK_SIZE PAGE_SIZE |
41 | #define STACK_SIZE PAGE_SIZE |
42 | 42 | ||
43 | #define CONFIG_MEMORY_SIZE (8 * 1024 * 1024) |
- | |
44 | - | ||
45 | #define CONFIG_INIT_TASKS 32 |
43 | #define CONFIG_INIT_TASKS 32 |
46 | 44 | ||
- | 45 | #define CONFIG_TASK_NAME_BUFLEN 32 |
|
- | 46 | ||
47 | typedef struct { |
47 | typedef struct { |
48 | uintptr_t addr; |
48 | uintptr_t addr; |
49 | size_t size; |
49 | size_t size; |
- | 50 | char name[CONFIG_TASK_NAME_BUFLEN]; |
|
50 | } init_task_t; |
51 | } init_task_t; |
51 | 52 | ||
52 | typedef struct { |
53 | typedef struct { |
53 | count_t cnt; |
54 | count_t cnt; |
54 | init_task_t tasks[CONFIG_INIT_TASKS]; |
55 | init_task_t tasks[CONFIG_INIT_TASKS]; |