Rev 3022 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3022 | Rev 4055 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | 36 | ||
| 37 | #define KERNEL_VIRTUAL_ADDRESS 0x400000 |
37 | #define KERNEL_VIRTUAL_ADDRESS 0x400000 |
| 38 | 38 | ||
| 39 | #define TASKMAP_MAX_RECORDS 32 |
39 | #define TASKMAP_MAX_RECORDS 32 |
| 40 | 40 | ||
| - | 41 | /** Size of buffer for storing task name in task_t. */ |
|
| - | 42 | #define BOOTINFO_TASK_NAME_BUFLEN 32 |
|
| - | 43 | ||
| 41 | #define BSP_PROCESSOR 1 |
44 | #define BSP_PROCESSOR 1 |
| 42 | #define AP_PROCESSOR 0 |
45 | #define AP_PROCESSOR 0 |
| 43 | 46 | ||
| - | 47 | #define SUBARCH_US 1 |
|
| - | 48 | #define SUBARCH_US3 3 |
|
| - | 49 | ||
| 44 | typedef struct { |
50 | typedef struct { |
| 45 | void *addr; |
51 | void *addr; |
| 46 | uint32_t size; |
52 | uint32_t size; |
| - | 53 | char name[BOOTINFO_TASK_NAME_BUFLEN]; |
|
| 47 | } task_t; |
54 | } task_t; |
| 48 | 55 | ||
| 49 | typedef struct { |
56 | typedef struct { |
| 50 | uint32_t count; |
57 | uint32_t count; |
| 51 | task_t tasks[TASKMAP_MAX_RECORDS]; |
58 | task_t tasks[TASKMAP_MAX_RECORDS]; |
| Line 57... | Line 64... | ||
| 57 | memmap_t memmap; |
64 | memmap_t memmap; |
| 58 | ballocs_t ballocs; |
65 | ballocs_t ballocs; |
| 59 | ofw_tree_node_t *ofw_root; |
66 | ofw_tree_node_t *ofw_root; |
| 60 | } bootinfo_t; |
67 | } bootinfo_t; |
| 61 | 68 | ||
| - | 69 | extern uint32_t silo_ramdisk_image; |
|
| - | 70 | extern uint32_t silo_ramdisk_size; |
|
| - | 71 | ||
| 62 | extern bootinfo_t bootinfo; |
72 | extern bootinfo_t bootinfo; |
| 63 | 73 | ||
| 64 | extern void start(void); |
74 | extern void start(void); |
| 65 | extern void bootstrap(void); |
75 | extern void bootstrap(void); |
| 66 | 76 | ||