Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3386 | Rev 4153 | ||
|---|---|---|---|
| Line 27... | Line 27... | ||
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | #ifndef BOOT_ia64_MAIN_H_ |
29 | #ifndef BOOT_ia64_MAIN_H_ |
| 30 | #define BOOT_ia64_MAIN_H_ |
30 | #define BOOT_ia64_MAIN_H_ |
| 31 | 31 | ||
| 32 | #include <ofw.h> |
- | |
| 33 | #include <ofw_tree.h> |
- | |
| 34 | #include <types.h> |
32 | #include <types.h> |
| - | 33 | #include <../../../../kernel/arch/ia64/include/bootinfo.h> |
|
| 35 | 34 | ||
| 36 | 35 | ||
| 37 | #define CONFIG_INIT_TASKS 32 |
36 | #define CONFIG_INIT_TASKS 32 |
| 38 | 37 | ||
| 39 | typedef struct { |
- | |
| 40 | void *addr; |
- | |
| 41 | size_t size; |
- | |
| 42 | } init_task_t; |
- | |
| 43 | - | ||
| 44 | typedef struct { |
- | |
| 45 | count_t count; |
- | |
| 46 | init_task_t tasks[CONFIG_INIT_TASKS]; |
- | |
| 47 | } init_t; |
- | |
| 48 | - | ||
| 49 | typedef struct { |
- | |
| 50 | init_t taskmap; |
- | |
| 51 | } bootinfo_t; |
- | |
| 52 | 38 | ||
| 53 | extern bootinfo_t bootinfo; |
- | |
| 54 | 39 | ||
| 55 | extern void start(void); |
40 | extern void start(void); |
| 56 | extern void bootstrap(void); |
41 | extern void bootstrap(void); |
| 57 | 42 | ||
| 58 | #endif |
43 | #endif |